Skip to content

5.15.57-rc1 review

Greg Kroah-Hartman linux-tegra lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest89 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/89x86/traps: Use pt_regs directly in fixup_bad_iret()arch/x86/entry/entry_64.S arch/x86/include/asm/traps.h arch/x86/kernel/traps.c+12 -140 replies
2/89x86/entry: Switch the stack after error_entry() returnsarch/x86/entry/entry_64.S+6 -100 replies
3/89x86/entry: Move PUSH_AND_CLEAR_REGS out of error_entry()arch/x86/entry/entry_64.S+12 -30 replies
4/89x86/entry: Dont call error_entry() for XENPVarch/x86/entry/entry_64.S+11 -20 replies
5/89objtool: Classify symbolstools/objtool/check.c tools/objtool/include/objtool/elf.h+27 -140 replies
6/89objtool: Explicitly avoid self modifying code in .altinstr_replacementtools/objtool/check.c+32 -110 replies
7/89objtool: Shrink struct instructiontools/objtool/check.c tools/objtool/include/objtool/check.h+3 -40 replies
8/89objtool,x86: Replace alternatives with .retpoline_sitesarch/x86/kernel/vmlinux.lds.S tools/objtool/arch/x86/decode.c tools/objtool/check.c +3 more+107 -2520 replies
9/89objtool: Introduce CFI hashtools/objtool/arch/x86/decode.c tools/objtool/check.c tools/objtool/include/objtool/arch.h +3 more+160 -350 replies
10/89x86/retpoline: Remove unused replacement symbolsarch/x86/include/asm/asm-prototypes.h arch/x86/lib/retpoline.S+0 -520 replies
11/89x86/asm: Fix register orderarch/x86/include/asm/GEN-for-each-reg.h+10 -40 replies
12/89x86/asm: Fixup odd GEN-for-each-reg.h usagearch/x86/include/asm/asm-prototypes.h arch/x86/lib/retpoline.S+3 -30 replies
13/89x86/retpoline: Move the retpoline thunk declarations to nospec-branch.harch/x86/include/asm/asm-prototypes.h arch/x86/include/asm/nospec-branch.h arch/x86/net/bpf_jit_comp.c+7 -90 replies
14/89x86/retpoline: Create a retpoline thunk arrayarch/x86/include/asm/nospec-branch.h arch/x86/lib/retpoline.S+16 -60 replies
15/89x86/alternative: Implement .retpoline_sites supportarch/um/kernel/um_arch.c arch/x86/include/asm/alternative.h arch/x86/kernel/alternative.c +1 more+150 -50 replies
16/89x86/alternative: Handle Jcc __x86_indirect_thunk_\regarch/x86/kernel/alternative.c+36 -40 replies
17/89x86/alternative: Try inline spectre_v2=retpoline,amdarch/x86/kernel/alternative.c+14 -20 replies
18/89x86/alternative: Add debug prints to apply_retpolines()arch/x86/kernel/alternative.c+6 -00 replies
19/89bpf,x86: Simplify computing label offsetsarch/x86/net/bpf_jit_comp.c+42 -810 replies
20/89bpf,x86: Respect X86_FEATURE_RETPOLINE*arch/x86/include/asm/nospec-branch.h arch/x86/net/bpf_jit_comp.c arch/x86/net/bpf_jit_comp32.c+41 -860 replies
21/89objtool: Default ignore INT3 for unreachabletools/objtool/check.c+5 -70 replies
22/89x86/entry: Remove skip_r11rcxarch/x86/entry/calling.h arch/x86/entry/entry_64.S+2 -110 replies
23/89x86/realmode: build with -D__DISABLE_EXPORTSarch/x86/Makefile+1 -10 replies
24/89x86/kvm/vmx: Make noinstr cleanarch/x86/kvm/vmx/vmx.c arch/x86/kvm/x86.c include/linux/kvm_host.h+6 -60 replies
25/89x86/cpufeatures: Move RETPOLINE flags to word 11arch/x86/include/asm/cpufeatures.h+6 -20 replies
26/89x86/retpoline: Cleanup some #ifdeferyarch/x86/include/asm/disabled-features.h+8 -10 replies
27/89x86/retpoline: Swizzle retpoline thunkarch/x86/lib/retpoline.S+3 -30 replies
28/89x86/retpoline: Use -mfunction-returnMakefile arch/x86/include/asm/nospec-branch.h arch/x86/lib/retpoline.S+16 -00 replies
29/89x86: Undo return-thunk damagearch/x86/include/asm/alternative.h arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/disabled-features.h +3 more+78 -20 replies
30/89x86,objtool: Create .return_sitestools/objtool/arch/x86/decode.c tools/objtool/check.c tools/objtool/include/objtool/arch.h +3 more+84 -00 replies
31/89objtool: skip non-text sections when adding return-thunk sitestools/objtool/check.c+3 -10 replies
32/89x86,static_call: Use alternative RET encodingarch/x86/include/asm/static_call.h arch/x86/kernel/alternative.c arch/x86/kernel/static_call.c+62 -50 replies
33/89x86/ftrace: Use alternative RET encodingarch/x86/kernel/ftrace.c+5 -20 replies
34/89x86/bpf: Use alternative RET encodingarch/x86/net/bpf_jit_comp.c+17 -20 replies
35/89x86/kvm: Fix SETcc emulation for return thunksarch/x86/kvm/emulate.c+14 -120 replies
36/89x86/vsyscall_emu/64: Dont use RET in vsyscall emulationarch/x86/entry/vsyscall/vsyscall_emu_64.S+6 -30 replies
37/89x86/sev: Avoid using __x86_return_thunkarch/x86/mm/mem_encrypt_boot.S+6 -20 replies
38/89x86: Use return-thunk in asm codearch/x86/entry/vdso/Makefile arch/x86/include/asm/linkage.h arch/x86/lib/memmove_64.S+15 -10 replies
39/89x86/entry: Avoid very early RETarch/x86/entry/entry_64.S+2 -100 replies
40/89objtool: Treat .text.__x86.* as noinstrtools/objtool/check.c+2 -10 replies
41/89x86: Add magic AMD return-thunkarch/x86/entry/entry_64.S arch/x86/entry/entry_64_compat.S arch/x86/include/asm/cpufeatures.h +6 more+126 -80 replies
42/89x86/bugs: Report AMD retbleed vulnerabilityarch/x86/include/asm/cpufeatures.h arch/x86/kernel/cpu/bugs.c arch/x86/kernel/cpu/common.c +2 more+43 -00 replies
43/89x86/bugs: Add AMD retbleed= boot parameterDocumentation/admin-guide/kernel-parameters.txt arch/x86/Kconfig arch/x86/kernel/cpu/bugs.c+125 -10 replies
44/89x86/bugs: Enable STIBP for JMP2RETDocumentation/admin-guide/kernel-parameters.txt arch/x86/kernel/cpu/bugs.c+57 -170 replies
45/89x86/bugs: Keep a per-CPU IA32_SPEC_CTRL valuearch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c arch/x86/kernel/process.c+25 -60 replies
46/89x86/entry: Add kernel IBRS implementationarch/x86/entry/calling.h arch/x86/entry/entry_64.S arch/x86/entry/entry_64_compat.S +1 more+111 -100 replies
47/89x86/bugs: Optimize SPEC_CTRL MSR writesarch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c arch/x86/kernel/process.c+14 -80 replies
48/89x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRSDocumentation/admin-guide/kernel-parameters.txt arch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+54 -140 replies
49/89x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation()arch/x86/kernel/cpu/bugs.c+17 -80 replies
50/89x86/bugs: Report Intel retbleed vulnerabilityarch/x86/include/asm/msr-index.h arch/x86/kernel/cpu/bugs.c arch/x86/kernel/cpu/common.c+46 -180 replies
51/89intel_idle: Disable IBRS during long idlearch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c drivers/idle/intel_idle.c+44 -60 replies
52/89objtool: Update Retpoline validationarch/x86/include/asm/nospec-branch.h arch/x86/mm/mem_encrypt_boot.S arch/x86/xen/xen-head.S +1 more+22 -60 replies
53/89x86/xen: Rename SYS* entry pointsarch/x86/xen/setup.c arch/x86/xen/xen-asm.S arch/x86/xen/xen-ops.h+16 -160 replies
54/89x86/xen: Add UNTRAIN_RETarch/x86/entry/entry_64.S+7 -10 replies
55/89x86/bugs: Add retbleed=ibpbDocumentation/admin-guide/kernel-parameters.txt arch/x86/entry/Makefile arch/x86/entry/entry.S +3 more+67 -130 replies
56/89x86/bugs: Do IBPB fallback check only oncearch/x86/kernel/cpu/bugs.c+5 -100 replies
57/89objtool: Add entry UNRET validationarch/x86/entry/entry_64.S arch/x86/entry/entry_64_compat.S arch/x86/include/asm/nospec-branch.h +10 more+217 -150 replies
58/89x86/cpu/amd: Add Spectral Chickenarch/x86/include/asm/msr-index.h arch/x86/kernel/cpu/amd.c arch/x86/kernel/cpu/cpu.h +1 more+33 -10 replies
59/89x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=narch/x86/entry/entry_32.S arch/x86/entry/entry_64.S arch/x86/include/asm/nospec-branch.h+0 -60 replies
60/89x86/speculation: Fix firmware entry SPEC_CTRL handlingarch/x86/include/asm/nospec-branch.h+4 -60 replies
61/89x86/speculation: Fix SPEC_CTRL write on SMT state changearch/x86/kernel/cpu/bugs.c+2 -10 replies
62/89x86/speculation: Use cached host SPEC_CTRL value for guest entry/exitarch/x86/kernel/cpu/bugs.c+1 -110 replies
63/89x86/speculation: Remove x86_spec_ctrl_maskarch/x86/kernel/cpu/bugs.c+1 -300 replies
64/89objtool: Re-add UNWIND_HINT_{SAVE_RESTORE}arch/x86/include/asm/unwind_hints.h include/linux/objtool.h tools/include/linux/objtool.h +2 more+59 -60 replies
65/89KVM: VMX: Flatten __vmx_vcpu_run()arch/x86/kvm/vmx/vmenter.S+45 -730 replies
66/89KVM: VMX: Convert launched argument to flagsarch/x86/kvm/vmx/nested.c arch/x86/kvm/vmx/run_flags.h arch/x86/kvm/vmx/vmenter.S +2 more+31 -90 replies
67/89KVM: VMX: Prevent guest RSB poisoning attacks with eIBRSarch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c arch/x86/kvm/vmx/run_flags.h +3 more+73 -310 replies
68/89KVM: VMX: Fix IBRS handling after vmexitarch/x86/kvm/vmx/vmx.c+6 -10 replies
69/89x86/speculation: Fill RSB on vmexit for IBRSarch/x86/include/asm/cpufeatures.h arch/x86/kernel/cpu/bugs.c arch/x86/kvm/vmx/vmenter.S+62 -90 replies
70/89x86/common: Stamp out the stepping madnessarch/x86/kernel/cpu/common.c+16 -210 replies
71/89x86/cpu/amd: Enumerate BTC_NOarch/x86/include/asm/cpufeatures.h arch/x86/kernel/cpu/amd.c arch/x86/kernel/cpu/common.c+20 -80 replies
72/89x86/retbleed: Add fine grained Kconfig knobsMakefile arch/x86/Kconfig arch/x86/entry/calling.h +16 more+170 -690 replies
73/89x86/bugs: Add Cannon lake to RETBleed affected CPU listarch/x86/kernel/cpu/common.c+1 -00 replies
74/89x86/entry: Move PUSH_AND_CLEAR_REGS() back into error_entryarch/x86/entry/entry_64.S+6 -30 replies
75/89x86/bugs: Do not enable IBPB-on-entry when IBPB is not supportedarch/x86/kernel/cpu/bugs.c+5 -20 replies
76/89x86/kexec: Disable RET on kexecarch/x86/kernel/relocate_kernel_32.S arch/x86/kernel/relocate_kernel_64.S+36 -120 replies
77/89x86/speculation: Disable RRSBA behaviorarch/x86/include/asm/cpufeatures.h arch/x86/include/asm/msr-index.h arch/x86/kernel/cpu/bugs.c +2 more+46 -10 replies
78/89x86/static_call: Serialize __static_call_fixup() properlyarch/x86/kernel/static_call.c+8 -50 replies
79/89x86/xen: Fix initialisation in hypercall_page after rethunkarch/x86/xen/xen-head.S+2 -20 replies
80/89x86/asm/32: Fix ANNOTATE_UNRET_SAFE use on 32-bitarch/x86/kernel/head_32.S+1 -00 replies
81/89x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_currentarch/x86/include/asm/nospec-branch.h+2 -10 replies
82/89efi/x86: use naked RET on mixed mode call wrapperarch/x86/platform/efi/efi_thunk_64.S+4 -10 replies
83/89x86/kvm: fix FASTOP_SIZE when return thunks are enabledarch/x86/kvm/emulate.c+6 -40 replies
84/89KVM: emulate: do not adjust size of fastop and setcc subroutinesarch/x86/kvm/emulate.c+7 -100 replies
85/89tools arch x86: Sync the msr-index.h copy with the kernel sourcestools/arch/x86/include/asm/msr-index.h+4 -00 replies
86/89tools headers cpufeatures: Sync with the kernel sourcestools/arch/x86/include/asm/cpufeatures.h tools/arch/x86/include/asm/disabled-features.h+30 -30 replies
87/89x86/bugs: Remove apostrophe typoarch/x86/kernel/cpu/bugs.c+1 -10 replies
88/89um: Add missing apply_returns()arch/um/kernel/um_arch.c+4 -00 replies
89/89x86: Use -mindirect-branch-cs-prefix for RETPOLINE buildsMakefile+1 -00 replies

Reviews trailers per patch

53 of 89 patches have a Reviewed-by or Acked-by.

PatchBorislav PetkovJosh PoimboeufAlexei StarovoitovJuergen GrossNick DesaulniersDave HansenPaolo BonziniKees CookGuenter RoeckJack WangBagas SanjayaFlorian FainelliLinux Kernel Functional TestingRon EconomosSudip MukherjeeJon Hunter
SeriesT-b T-b T-b T-b T-b T-b T-b
1/89
2/89
3/89R-b
4/89R-b
5/89R-b A-b T-b
6/89R-b A-b T-b
7/89R-b A-b T-b
8/89R-b A-b T-b
9/89
10/89R-b A-b T-b
11/89R-b A-b T-b
12/89R-b A-b T-b
13/89R-b A-b T-b
14/89R-b A-b T-b
15/89R-b A-b T-b
16/89R-b A-b T-b
17/89R-b A-b T-b
18/89R-b A-b T-b
19/89R-b A-b A-b T-b
20/89R-b A-b A-b T-b
21/89A-b
22/89
23/89
24/89
25/89R-b
26/89R-b R-b
27/89R-b R-b
28/89R-b R-b T-b
29/89R-b
30/89R-b
31/89A-b
32/89R-b
33/89R-b
34/89R-b
35/89R-b
36/89R-b
37/89R-b
38/89R-b
39/89R-b
40/89R-b
41/89R-b
42/89R-b
43/89R-b
44/89
45/89R-b
46/89R-b
47/89R-b
48/89R-b
49/89R-b
50/89R-b
51/89R-b
52/89R-b
53/89R-b
54/89R-b
55/89R-b
56/89
57/89R-b
58/89R-b
59/89
60/89
61/89
62/89
63/89R-b
64/89
65/89
66/89
67/89
68/89
69/89
70/89A-b
71/89
72/89
73/89
74/89
75/89
76/89
77/89
78/89
79/89
80/89
81/89
82/89T-b
83/89T-b
84/89
85/89
86/89
87/89
88/89
89/89A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 16 reviewers.

Read the v1 thread

Cover letter [PATCH 5.15 00/89] 5.15.57-rc1 review

This is the start of the stable review cycle for the 5.15.57 release. There are 89 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Sun, 24 Jul 2022 09:10:51 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:

	https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.15.57-rc1.gz

or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <[email protected]>

    Linux 5.15.57-rc1

Peter Zijlstra <[email protected]>
x86: Use -mindirect-branch-cs-prefix for RETPOLINE builds

Peter Zijlstra <[email protected]>
um: Add missing apply_returns()

Kim Phillips <[email protected]>
x86/bugs: Remove apostrophe typo

Arnaldo Carvalho de Melo <[email protected]>
tools headers cpufeatures: Sync with the kernel sources

Arnaldo Carvalho de Melo <[email protected]>
tools arch x86: Sync the msr-index.h copy with the kernel sources

Paolo Bonzini <[email protected]>
KVM: emulate: do not adjust size of fastop and setcc subroutines

Thadeu Lima de Souza Cascardo <[email protected]>
x86/kvm: fix FASTOP_SIZE when return thunks are enabled

Thadeu Lima de Souza Cascardo <[email protected]>
efi/x86: use naked RET on mixed mode call wrapper

Nathan Chancellor <[email protected]>
x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current

Jiri Slaby <[email protected]>
x86/asm/32: Fix ANNOTATE_UNRET_SAFE use on 32-bit

Ben Hutchings <[email protected]>
x86/xen: Fix initialisation in hypercall_page after rethunk

Thomas Gleixner <[email protected]>
x86/static_call: Serialize __static_call_fixup() properly

Pawan Gupta <[email protected]>
x86/speculation: Disable RRSBA behavior

Konrad Rzeszutek Wilk <[email protected]>
x86/kexec: Disable RET on kexec

Thadeu Lima de Souza Cascardo <[email protected]>
x86/bugs: Do not enable IBPB-on-entry when IBPB is not supported

Peter Zijlstra <[email protected]>
x86/entry: Move PUSH_AND_CLEAR_REGS() back into error_entry

Pawan Gupta <[email protected]>
x86/bugs: Add Cannon lake to RETBleed affected CPU list

Peter Zijlstra <[email protected]>
x86/retbleed: Add fine grained Kconfig knobs

Andrew Cooper <[email protected]>
x86/cpu/amd: Enumerate BTC_NO

Peter Zijlstra <[email protected]>
x86/common: Stamp out the stepping madness

Josh Poimboeuf <[email protected]>
x86/speculation: Fill RSB on vmexit for IBRS

Josh Poimboeuf <[email protected]>
KVM: VMX: Fix IBRS handling after vmexit

Josh Poimboeuf <[email protected]>
KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS

Josh Poimboeuf <[email protected]>
KVM: VMX: Convert launched argument to flags

Josh Poimboeuf <[email protected]>
KVM: VMX: Flatten __vmx_vcpu_run()

Josh Poimboeuf <[email protected]>

    objtool: Re-add UNWIND_HINT_{SAVE_RESTORE}

Josh Poimboeuf <[email protected]>
x86/speculation: Remove x86_spec_ctrl_mask

Josh Poimboeuf <[email protected]>
x86/speculation: Use cached host SPEC_CTRL value for guest entry/exit

Josh Poimboeuf <[email protected]>
x86/speculation: Fix SPEC_CTRL write on SMT state change

Josh Poimboeuf <[email protected]>
x86/speculation: Fix firmware entry SPEC_CTRL handling

Josh Poimboeuf <[email protected]>
x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n

Peter Zijlstra <[email protected]>
x86/cpu/amd: Add Spectral Chicken

Peter Zijlstra <[email protected]>
objtool: Add entry UNRET validation

Josh Poimboeuf <[email protected]>
x86/bugs: Do IBPB fallback check only once

Peter Zijlstra <[email protected]>
x86/bugs: Add retbleed=ibpb

Peter Zijlstra <[email protected]>
x86/xen: Add UNTRAIN_RET

Peter Zijlstra <[email protected]>
x86/xen: Rename SYS* entry points

Peter Zijlstra <[email protected]>
objtool: Update Retpoline validation

Peter Zijlstra <[email protected]>
intel_idle: Disable IBRS during long idle

Peter Zijlstra <[email protected]>
x86/bugs: Report Intel retbleed vulnerability

Peter Zijlstra <[email protected]>
x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation()

Pawan Gupta <[email protected]>
x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS

Peter Zijlstra <[email protected]>
x86/bugs: Optimize SPEC_CTRL MSR writes

Thadeu Lima de Souza Cascardo <[email protected]>
x86/entry: Add kernel IBRS implementation

Peter Zijlstra <[email protected]>
x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value

Kim Phillips <[email protected]>
x86/bugs: Enable STIBP for JMP2RET

Alexandre Chartre <[email protected]>
x86/bugs: Add AMD retbleed= boot parameter

Alexandre Chartre <[email protected]>
x86/bugs: Report AMD retbleed vulnerability

Peter Zijlstra <[email protected]>
x86: Add magic AMD return-thunk

Peter Zijlstra <[email protected]>
objtool: Treat .text.__x86.* as noinstr

Peter Zijlstra <[email protected]>
x86/entry: Avoid very early RET

Peter Zijlstra <[email protected]>
x86: Use return-thunk in asm code

Kim Phillips <[email protected]>

    x86/sev: Avoid using __x86_return_thunk

Peter Zijlstra <[email protected]>
x86/vsyscall_emu/64: Don't use RET in vsyscall emulation

Peter Zijlstra <[email protected]>
x86/kvm: Fix SETcc emulation for return thunks

Peter Zijlstra <[email protected]>
x86/bpf: Use alternative RET encoding

Peter Zijlstra <[email protected]>
x86/ftrace: Use alternative RET encoding

Peter Zijlstra <[email protected]>
x86,static_call: Use alternative RET encoding

Thadeu Lima de Souza Cascardo <[email protected]>
objtool: skip non-text sections when adding return-thunk sites

Peter Zijlstra <[email protected]>
x86,objtool: Create .return_sites

Peter Zijlstra <[email protected]>
x86: Undo return-thunk damage

Peter Zijlstra <[email protected]>
x86/retpoline: Use -mfunction-return

Peter Zijlstra <[email protected]>
x86/retpoline: Swizzle retpoline thunk

Peter Zijlstra <[email protected]>
x86/retpoline: Cleanup some #ifdefery

Peter Zijlstra <[email protected]>
x86/cpufeatures: Move RETPOLINE flags to word 11

Peter Zijlstra <[email protected]>
x86/kvm/vmx: Make noinstr clean

Thadeu Lima de Souza Cascardo <[email protected]>
x86/realmode: build with -D__DISABLE_EXPORTS

Peter Zijlstra <[email protected]>
x86/entry: Remove skip_r11rcx

Peter Zijlstra <[email protected]>
objtool: Default ignore INT3 for unreachable

Peter Zijlstra <[email protected]>
bpf,x86: Respect X86_FEATURE_RETPOLINE*

Peter Zijlstra <[email protected]>
bpf,x86: Simplify computing label offsets

Peter Zijlstra <[email protected]>
x86/alternative: Add debug prints to apply_retpolines()

Peter Zijlstra <[email protected]>
x86/alternative: Try inline spectre_v2=retpoline,amd

Peter Zijlstra <[email protected]>
x86/alternative: Handle Jcc __x86_indirect_thunk_\reg

Peter Zijlstra <[email protected]>
x86/alternative: Implement .retpoline_sites support

Peter Zijlstra <[email protected]>
x86/retpoline: Create a retpoline thunk array

Peter Zijlstra <[email protected]>
x86/retpoline: Move the retpoline thunk declarations to nospec-branch.h

Peter Zijlstra <[email protected]>
x86/asm: Fixup odd GEN-for-each-reg.h usage

Peter Zijlstra <[email protected]>
x86/asm: Fix register order

Peter Zijlstra <[email protected]>
x86/retpoline: Remove unused replacement symbols

Peter Zijlstra <[email protected]>
objtool: Introduce CFI hash

Peter Zijlstra <[email protected]>
objtool,x86: Replace alternatives with .retpoline_sites

Peter Zijlstra <[email protected]>
objtool: Shrink struct instruction

Peter Zijlstra <[email protected]>
objtool: Explicitly avoid self modifying code in .altinstr_replacement

Peter Zijlstra <[email protected]>
objtool: Classify symbols

Lai Jiangshan <[email protected]>
x86/entry: Don't call error_entry() for XENPV

Lai Jiangshan <[email protected]>
x86/entry: Move PUSH_AND_CLEAR_REGS out of error_entry()

Lai Jiangshan <[email protected]>
x86/entry: Switch the stack after error_entry() returns

Lai Jiangshan <[email protected]>
x86/traps: Use pt_regs directly in fixup_bad_iret()

-------------

Diffstat:

 Documentation/admin-guide/kernel-parameters.txt |  25 +
 Makefile                                        |  11 +-
 arch/um/kernel/um_arch.c                        |   8 +
 arch/x86/Kconfig                                | 103 +++-
 arch/x86/Makefile                               |   2 +-
 arch/x86/entry/Makefile                         |   2 +-
 arch/x86/entry/calling.h                        |  72 ++-
 arch/x86/entry/entry.S                          |  22 +
 arch/x86/entry/entry_32.S                       |   2 -
 arch/x86/entry/entry_64.S                       |  88 ++-
 arch/x86/entry/entry_64_compat.S                |  21 +-
 arch/x86/entry/vdso/Makefile                    |   1 +
 arch/x86/entry/vsyscall/vsyscall_emu_64.S       |   9 +-
 arch/x86/include/asm/GEN-for-each-reg.h         |  14 +-
 arch/x86/include/asm/alternative.h              |   2 +
 arch/x86/include/asm/asm-prototypes.h           |  18 -
 arch/x86/include/asm/cpufeatures.h              |  12 +-
 arch/x86/include/asm/disabled-features.h        |  21 +-
 arch/x86/include/asm/linkage.h                  |   8 +
 arch/x86/include/asm/msr-index.h                |  13 +
 arch/x86/include/asm/nospec-branch.h            | 134 ++---
 arch/x86/include/asm/static_call.h              |  17 +
 arch/x86/include/asm/traps.h                    |   2 +-
 arch/x86/include/asm/unwind_hints.h             |  14 +-
 arch/x86/kernel/alternative.c                   | 260 ++++++++-
 arch/x86/kernel/cpu/amd.c                       |  46 +-
 arch/x86/kernel/cpu/bugs.c                      | 475 +++++++++++++---
 arch/x86/kernel/cpu/common.c                    |  61 ++-
 arch/x86/kernel/cpu/cpu.h                       |   2 +
 arch/x86/kernel/cpu/hygon.c                     |   6 +
 arch/x86/kernel/cpu/scattered.c                 |   1 +
 arch/x86/kernel/ftrace.c                        |   7 +-
 arch/x86/kernel/head_32.S                       |   1 +
 arch/x86/kernel/head_64.S                       |   5 +
 arch/x86/kernel/module.c                        |  15 +-
 arch/x86/kernel/process.c                       |   2 +-
 arch/x86/kernel/relocate_kernel_32.S            |  25 +-
 arch/x86/kernel/relocate_kernel_64.S            |  23 +-
 arch/x86/kernel/static_call.c                   |  49 +-
 arch/x86/kernel/traps.c                         |  19 +-
 arch/x86/kernel/vmlinux.lds.S                   |  23 +-
 arch/x86/kvm/emulate.c                          |  33 +-
 arch/x86/kvm/svm/vmenter.S                      |  18 +
 arch/x86/kvm/vmx/nested.c                       |   2 +-
 arch/x86/kvm/vmx/run_flags.h                    |   8 +
 arch/x86/kvm/vmx/vmenter.S                      | 164 +++---
 arch/x86/kvm/vmx/vmx.c                          |  76 ++-
 arch/x86/kvm/vmx/vmx.h                          |   6 +-
 arch/x86/kvm/x86.c                              |   4 +-
 arch/x86/lib/memmove_64.S                       |   7 +-
 arch/x86/lib/retpoline.S                        | 133 +++--
 arch/x86/mm/mem_encrypt_boot.S                  |  10 +-
 arch/x86/net/bpf_jit_comp.c                     | 179 +++---
 arch/x86/net/bpf_jit_comp32.c                   |  22 +-
 arch/x86/platform/efi/efi_thunk_64.S            |   5 +-
 arch/x86/xen/setup.c                            |   6 +-
 arch/x86/xen/xen-asm.S                          |  30 +-
 arch/x86/xen/xen-head.S                         |   5 +-
 arch/x86/xen/xen-ops.h                          |   6 +-
 drivers/base/cpu.c                              |   8 +
 drivers/idle/intel_idle.c                       |  43 +-
 include/linux/cpu.h                             |   2 +
 include/linux/kvm_host.h                        |   2 +-
 include/linux/objtool.h                         |   9 +-
 scripts/Makefile.build                          |   1 +
 scripts/link-vmlinux.sh                         |   3 +
 security/Kconfig                                |  11 -
 tools/arch/x86/include/asm/cpufeatures.h        |  12 +-
 tools/arch/x86/include/asm/disabled-features.h  |  21 +-
 tools/arch/x86/include/asm/msr-index.h          |  13 +
 tools/include/linux/objtool.h                   |   9 +-
 tools/objtool/arch/x86/decode.c                 | 145 +----
 tools/objtool/builtin-check.c                   |   4 +-
 tools/objtool/check.c                           | 701 ++++++++++++++++++++----
 tools/objtool/elf.c                             |  84 ---
 tools/objtool/include/objtool/arch.h            |   3 +-
 tools/objtool/include/objtool/builtin.h         |   2 +-
 tools/objtool/include/objtool/cfi.h             |   2 +
 tools/objtool/include/objtool/check.h           |  10 +-
 tools/objtool/include/objtool/elf.h             |   9 +-
 tools/objtool/include/objtool/objtool.h         |   1 +
 tools/objtool/objtool.c                         |   1 +
 tools/objtool/orc_gen.c                         |  15 +-
 tools/objtool/special.c                         |   8 -
 84 files changed, 2520 insertions(+), 954 deletions(-)