Hi all, Today's linux-next merge of the kvm-arm tree got a conflict in: arch/arm64/include/asm/assembler.h between commits: 27248fe1abb2 ("arm64: assembler: remove conditional NEON yield macros") 13150149aa6d ("arm64: fpsimd: run kernel mode NEON with softirqs disabled") from the arm64 tree and commits: 8f4de66e247b ("arm64: asm: Provide set_sctlr_el2 macro") 755db23420a1 ("KVM: arm64: Generate final CTR_EL0 value when running in Protected mode") from the kvm-arm tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. -- Cheers, Stephen Rothwell diff --cc arch/arm64/include/asm/assembler.h index ab569b0b45fc,34ddd8a0f3dd..000000000000 --- 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 @@@ -701,25 -705,95 +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