[lkml]   [2020]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v3 2/7] arm64: fpsimd: Make sure SVE setup is complete before SIMD is used
On Mon, Jan 13, 2020 at 11:30:18PM +0000, Suzuki K Poulose wrote:
> In-kernel users of NEON rely on may_use_simd() to check if the SIMD
> can be used. However, we must initialize the SVE before SIMD can
> be used. Add a sanity check to make sure that we have completed the
> SVE setup before anyone uses the SIMD.
> Cc: Ard Biesheuvel <>
> Cc: Mark Rutland <>
> Cc: Will Deacon <>
> Cc: Catalin Marinas <>
> Signed-off-by: Suzuki K Poulose <>

Reviewed-by: Catalin Marinas <>

 \ /
  Last update: 2020-01-14 12:56    [W:0.092 / U:1.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site