Re: [RFC PATCH] arm64/fpsimd: Don't disable softirq when touching FPSIMD/SVE state
From: Julien Grall
Date: Mon Feb 18 2019 - 11:32:22 EST
Hi all,
On 08/02/2019 16:55, Julien Grall wrote:
@@ -1094,9 +1113,7 @@ void kernel_neon_begin(void)
/* Invalidate any task state remaining in the fpsimd regs: */
fpsimd_flush_cpu_state();
- preempt_disable();
-
- local_bh_enable();
+ kernel_neon_enable();
I found one error in the patch. We should not re-enable NEON from
kernel_neon_begin(). I will resend a patch once the thread settle down.
Cheers,
--
Julien Grall