From: Marc Zyngier Date: Tue, 13 Apr 2021 14:46:58 +0000 (+0100) Subject: Merge remote-tracking branch 'arm64/for-next/neon-softirqs-disabled' into kvmarm... X-Git-Tag: v5.13-rc1~76^2~38^2~4 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=3284cd638b85916ba6518f913586116412d190c6;p=linux-2.6-block.git Merge remote-tracking branch 'arm64/for-next/neon-softirqs-disabled' into kvmarm-master/next Signed-off-by: Marc Zyngier --- 3284cd638b85916ba6518f913586116412d190c6 diff --cc arch/arm64/include/asm/assembler.h index 34ddd8a0f3dd,6ac38f7cf824..ad9ccc4f5a41 --- a/arch/arm64/include/asm/assembler.h +++ b/arch/arm64/include/asm/assembler.h @@@ -15,7 -15,7 +15,8 @@@ #include #include + #include +#include #include #include #include @@@ -705,95 -701,25 +714,33 @@@ USER(\label, ic ivau, \tmp2) // inval isb .endm +.macro set_sctlr_el1, reg + set_sctlr sctlr_el1, \reg +.endm + +.macro set_sctlr_el2, reg + set_sctlr sctlr_el2, \reg +.endm + - /* - * Check whether to yield to another runnable task from kernel mode NEON code - * (which runs with preemption disabled). - * - * if_will_cond_yield_neon - * // pre-yield patchup code - * do_cond_yield_neon - * // post-yield patchup code - * endif_yield_neon