Merge tag 'x86_core_for_v5.16_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Nov 2021 14:56:47 +0000 (07:56 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Nov 2021 14:56:47 +0000 (07:56 -0700)
Pull x86 core updates from Borislav Petkov:

 - Do not #GP on userspace use of CLI/STI but pretend it was a NOP to
   keep old userspace from breaking. Adjust the corresponding iopl
   selftest to that.

 - Improve stack overflow warnings to say which stack got overflowed and
   raise the exception stack sizes to 2 pages since overflowing the
   single page of exception stack is very easy to do nowadays with all
   the tracing machinery enabled. With that, rip out the custom mapping
   of AMD SEV's too.

 - A bunch of changes in preparation for FGKASLR like supporting more
   than 64K section headers in the relocs tool, correct ORC lookup table
   size to cover the whole kernel .text and other adjustments.

* tag 'x86_core_for_v5.16_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  selftests/x86/iopl: Adjust to the faked iopl CLI/STI usage
  vmlinux.lds.h: Have ORC lookup cover entire _etext - _stext
  x86/boot/compressed: Avoid duplicate malloc() implementations
  x86/boot: Allow a "silent" kaslr random byte fetch
  x86/tools/relocs: Support >64K section headers
  x86/sev: Make the #VC exception stacks part of the default stacks storage
  x86: Increase exception stack sizes
  x86/mm/64: Improve stack overflow warnings
  x86/iopl: Fake iopl(3) CLI/STI usage

1  2 
arch/x86/boot/compressed/misc.h
arch/x86/include/asm/irq_stack.h
arch/x86/include/asm/processor.h
arch/x86/kernel/process.c
arch/x86/kernel/sev.c
arch/x86/kernel/traps.c
include/asm-generic/vmlinux.lds.h

Simple merge
index 7dcc2b0a4f09f402efa94c51d3b5ce9e00afee92,8d55bd11848cbf1ce12976736e353078ba71f39c..ae9d40f6c7066ee30e78b2e248ff804bd4218fe8
                              IRQ_CONSTRAINTS, regs, vector);           \
  }
  
- #define ASM_CALL_SOFTIRQ                                              \
-       "call %P[__func]                                \n"
 +#ifndef CONFIG_PREEMPT_RT
  /*
   * Macro to invoke __do_softirq on the irq stack. This is only called from
   * task context when bottom halves are about to be reenabled and soft
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge