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-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3284cd638b85916ba6518f913586116412d190c6;p=linux.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 34ddd8a0f3dd5,6ac38f7cf824d..ad9ccc4f5a415 --- 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