Merge tag 'v6.1-rc6' into x86/core, to resolve conflicts
authorIngo Molnar <mingo@kernel.org>
Mon, 21 Nov 2022 21:54:36 +0000 (22:54 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 21 Nov 2022 22:01:51 +0000 (23:01 +0100)
Resolve conflicts between these commits in arch/x86/kernel/asm-offsets.c:

 # upstream:
 debc5a1ec0d1 ("KVM: x86: use a separate asm-offsets.c file")

 # retbleed work in x86/core:
 5d8213864ade ("x86/retbleed: Add SKL return thunk")

... and these commits in include/linux/bpf.h:

  # upstram:
  18acb7fac22f ("bpf: Revert ("Fix dispatcher patchable function entry to 5 bytes nop")")

  # x86/core commits:
  931ab63664f0 ("x86/ibt: Implement FineIBT")
  bea75b33895f ("x86/Kconfig: Introduce function padding")

The latter two modify BPF_DISPATCHER_ATTRIBUTES(), which was removed upstream.

 Conflicts:
arch/x86/kernel/asm-offsets.c
include/linux/bpf.h

Signed-off-by: Ingo Molnar <mingo@kernel.org>
1  2 
Makefile
arch/x86/include/asm/qspinlock_paravirt.h
arch/x86/kernel/asm-offsets.c
arch/x86/kernel/cpu/bugs.c
arch/x86/kernel/traps.c
arch/x86/kernel/unwind_orc.c
arch/x86/kvm/svm/vmenter.S
arch/x86/xen/enlighten_pv.c
include/asm-generic/vmlinux.lds.h
lib/Kconfig.debug

diff --cc Makefile
Simple merge
@@@ -37,10 -37,10 +37,10 @@@ __PV_CALLEE_SAVE_REGS_THUNK(__pv_queued
   *   rsi = lockval           (second argument)
   *   rdx = internal variable (set to 0)
   */
- asm    (".pushsection .spinlock.text;"
+ asm    (".pushsection .spinlock.text, \"ax\";"
        ".globl " PV_UNLOCK ";"
        ".type " PV_UNLOCK ", @function;"
 -      ".align 4,0x90;"
 +      ASM_FUNC_ALIGN
        PV_UNLOCK ": "
        ASM_ENDBR
        FRAME_BEGIN
@@@ -108,14 -107,4 +107,9 @@@ static void __used common(void
        OFFSET(TSS_sp0, tss_struct, x86_tss.sp0);
        OFFSET(TSS_sp1, tss_struct, x86_tss.sp1);
        OFFSET(TSS_sp2, tss_struct, x86_tss.sp2);
 +      OFFSET(X86_top_of_stack, pcpu_hot, top_of_stack);
 +#ifdef CONFIG_CALL_DEPTH_TRACKING
 +      OFFSET(X86_call_depth, pcpu_hot, call_depth);
 +#endif
 +
-       if (IS_ENABLED(CONFIG_KVM_INTEL)) {
-               BLANK();
-               OFFSET(VMX_spec_ctrl, vcpu_vmx, spec_ctrl);
-       }
  }
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge