5.10.131-rc1 review
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest130 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/130 | KVM/VMX: Use TEST %REG,%REG instead of CMP $0,%REG in vmenter.Sarch/ | +1 | 0 replies | |
| 2/130 | KVM/nVMX: Use __vmx_vcpu_run in nested_vmx_check_vmentry_hwarch/ arch/ arch/ +1 more | +5 | 0 replies | |
| 3/130 | objtool: Refactor ORC section generationtools/ tools/ tools/ +4 more | +141 | 0 replies | |
| 4/130 | objtool: Add alt_group structtools/ tools/ | +35 | 0 replies | |
| 5/130 | objtool: Support stack layout changes in alternativestools/ tools/ tools/ +1 more | +160 | 0 replies | |
| 6/130 | objtool: Support retpoline jump detection for vmlinux.otools/ | +4 | 0 replies | |
| 7/130 | objtool: Assume only ELF functions do sibling callstools/ | +22 | 0 replies | |
| 8/130 | objtool: Combine UNWIND_HINT_RET_OFFSET and UNWIND_HINT_FUNCarch/ arch/ arch/ +5 more | +29 | 0 replies | |
| 9/130 | x86/xen: Support objtool validation in xen-asm.Sarch/ arch/ | +19 | 0 replies | |
| 10/130 | x86/xen: Support objtool vmlinux.o validation in xen-head.Sarch/ | +3 | 0 replies | |
| 11/130 | x86/alternative: Merge include filesarch/ arch/ arch/ +11 more | +120 | 0 replies | |
| 12/130 | x86/alternative: Support not-featurearch/ arch/ | +18 | 0 replies | |
| 13/130 | x86/alternative: Support ALTERNATIVE_TERNARYarch/ | +13 | 0 replies | |
| 14/130 | x86/alternative: Use ALTERNATIVE_TERNARY() in _static_cpu_has()arch/ | +9 | 0 replies | |
| 15/130 | x86/insn: Rename insn_decode() to insn_decode_from_regs()arch/ arch/ arch/ +1 more | +7 | 0 replies | |
| 16/130 | x86/insn: Add a __ignore_sync_check__ markerarch/ arch/ arch/ +7 more | +36 | 0 replies | |
| 17/130 | x86/insn: Add an insn_decode() APIarch/ arch/ tools/ +2 more | +452 | 2 replies | |
| 18/130 | x86/insn-eval: Handle return values from the decoderarch/ | +21 | 0 replies | |
| 19/130 | x86/alternative: Use insn_decode()arch/ | +3 | 0 replies | |
| 20/130 | x86: Add insn_decode_kernel()arch/ arch/ tools/ | +5 | 0 replies | |
| 21/130 | x86/alternatives: Optimize optimize_nops()arch/ arch/ tools/ | +37 | 0 replies | |
| 22/130 | x86/retpoline: Simplify retpolinesarch/ arch/ arch/ +1 more | +21 | 0 replies | |
| 23/130 | objtool: Correctly handle retpoline thunk callstools/ | +12 | 0 replies | |
| 24/130 | objtool: Handle per arch retpoline namingtools/ tools/ tools/ | +14 | 0 replies | |
| 25/130 | objtool: Rework the elf_rebuild_reloc_section() logictools/ tools/ tools/ +1 more | +14 | 0 replies | |
| 26/130 | objtool: Add elf_create_reloc() helpertools/ tools/ tools/ +1 more | +79 | 0 replies | |
| 27/130 | objtool: Create reloc sections implicitlytools/ tools/ tools/ +1 more | +8 | 0 replies | |
| 28/130 | objtool: Extract elf_strtab_concat()tools/ | +38 | 0 replies | |
| 29/130 | objtool: Extract elf_symbol_add()tools/ | +31 | 0 replies | |
| 30/130 | objtool: Add elf_create_undef_symbol()tools/ tools/ | +61 | 0 replies | |
| 31/130 | objtool: Keep track of retpoline call sitestools/ tools/ tools/ +2 more | +34 | 0 replies | |
| 32/130 | objtool: Cache instruction relocstools/ tools/ | +23 | 0 replies | |
| 33/130 | objtool: Skip magical retpoline .altinstr_replacementtools/ | +11 | 0 replies | |
| 34/130 | objtool/x86: Rewrite retpoline thunk callsarch/ arch/ tools/ | +167 | 0 replies | |
| 35/130 | objtool: Support asm jump tablestools/ | +13 | 0 replies | |
| 36/130 | x86/alternative: Optimize single-byte NOPs at an arbitrary positionarch/ | +46 | 0 replies | |
| 37/130 | objtool: Fix .symtab_shndx handling for elf_create_undef_symbol()tools/ | +24 | 0 replies | |
| 38/130 | objtool: Only rewrite unconditional retpoline thunk callstools/ | +4 | 0 replies | |
| 39/130 | objtool/x86: Ignore __x86_indirect_alt_* symbolsarch/ | +4 | 0 replies | |
| 40/130 | objtool: Dont make .altinstructions writabletools/ | +1 | 0 replies | |
| 41/130 | objtool: Teach get_alt_entry() about more relocation typestools/ | +25 | 0 replies | |
| 42/130 | objtool: print out the symbol type when complaining about ittools/ | +8 | 0 replies | |
| 43/130 | objtool: Remove reloc symbol type checks in get_alt_entry()tools/ | +7 | 0 replies | |
| 44/130 | objtool: Make .altinstructions section entry size consistenttools/ | +1 | 0 replies | |
| 45/130 | objtool: Introduce CFI hashtools/ tools/ tools/ +3 more | +160 | 0 replies | |
| 46/130 | objtool: Handle __sanitize_cov*() tail callstools/ tools/ tools/ | +86 | 0 replies | |
| 47/130 | objtool: Classify symbolstools/ tools/ | +26 | 0 replies | |
| 48/130 | objtool: Explicitly avoid self modifying code in .altinstr_replacementtools/ | +28 | 0 replies | |
| 49/130 | objtool,x86: Replace alternatives with .retpoline_sitesarch/ tools/ tools/ +3 more | +107 | 0 replies | |
| 50/130 | x86/retpoline: Remove unused replacement symbolsarch/ arch/ | +0 | 0 replies | |
| 51/130 | x86/asm: Fix register orderarch/ | +10 | 0 replies | |
| 52/130 | x86/asm: Fixup odd GEN-for-each-reg.h usagearch/ arch/ | +3 | 0 replies | |
| 53/130 | x86/retpoline: Move the retpoline thunk declarations to nospec-branch.harch/ arch/ arch/ | +7 | 0 replies | |
| 54/130 | x86/retpoline: Create a retpoline thunk arrayarch/ arch/ | +16 | 0 replies | |
| 55/130 | x86/alternative: Implement .retpoline_sites supportarch/ arch/ arch/ +1 more | +150 | 0 replies | |
| 56/130 | x86/alternative: Handle Jcc __x86_indirect_thunk_\regarch/ | +36 | 0 replies | |
| 57/130 | x86/alternative: Try inline spectre_v2=retpoline,amdarch/ | +14 | 0 replies | |
| 58/130 | x86/alternative: Add debug prints to apply_retpolines()arch/ | +6 | 0 replies | |
| 59/130 | bpf,x86: Simplify computing label offsetsarch/ | +42 | 0 replies | |
| 60/130 | bpf,x86: Respect X86_FEATURE_RETPOLINE*arch/ arch/ arch/ | +42 | 0 replies | |
| 61/130 | x86/lib/atomic64_386_32: Rename thingsarch/ | +46 | 0 replies | |
| 62/130 | x86: Prepare asm files for straight-line-speculationarch/ arch/ arch/ +100 more | +353 | 0 replies | |
| 63/130 | x86: Prepare inline-asm for straight-line-speculationarch/ arch/ arch/ +8 more | +18 | 0 replies | |
| 64/130 | x86/alternative: Relax text_poke_bp() constraintarch/ | +34 | 0 replies | |
| 65/130 | objtool: Add straight-line-speculation validationtools/ tools/ tools/ +2 more | +29 | 0 replies | |
| 66/130 | x86: Add straight-line-speculation mitigationarch/ arch/ arch/ +7 more | +40 | 0 replies | |
| 67/130 | tools arch: Update arch/x86/lib/mem{cpy,set}_64.S copies used in perf bench mem memcpytools/ tools/ | +9 | 0 replies | |
| 68/130 | kvm/emulate: Fix SETcc emulation function offsets with SLSarch/ | +17 | 0 replies | |
| 69/130 | objtool: Default ignore INT3 for unreachabletools/ | +5 | 0 replies | |
| 70/130 | crypto: x86/poly1305 - Fixup SLSarch/ | +19 | 0 replies | |
| 71/130 | objtool: Fix SLS validation for kcov tail-call replacementtools/ | +11 | 0 replies | |
| 72/130 | objtool: Fix code relocs vs weak symbolstools/ | +165 | 0 replies | |
| 73/130 | objtool: Fix type of reloc::addendtools/ tools/ tools/ | +7 | 0 replies | |
| 74/130 | objtool: Fix symbol creationtools/ | +128 | 0 replies | |
| 75/130 | x86/entry: Remove skip_r11rcxarch/ arch/ | +2 | 0 replies | |
| 76/130 | objtool: Fix objtool regression on x32 systemstools/ tools/ tools/ | +8 | 0 replies | |
| 77/130 | x86/realmode: build with -D__DISABLE_EXPORTSarch/ | +1 | 0 replies | |
| 78/130 | x86/kvm/vmx: Make noinstr cleanarch/ arch/ include/ | +6 | 0 replies | |
| 79/130 | x86/cpufeatures: Move RETPOLINE flags to word 11arch/ | +8 | 0 replies | |
| 80/130 | x86/retpoline: Cleanup some #ifdeferyarch/ | +8 | 0 replies | |
| 81/130 | x86/retpoline: Swizzle retpoline thunkarch/ | +3 | 0 replies | |
| 82/130 | Makefile: Set retpoline cflags based on CONFIG_CC_IS_{CLANG,GCC}Makefile | +8 | 0 replies | |
| 83/130 | x86/retpoline: Use -mfunction-returnMakefile arch/ arch/ | +16 | 0 replies | |
| 84/130 | x86: Undo return-thunk damagearch/ arch/ arch/ +3 more | +78 | 0 replies | |
| 85/130 | x86,objtool: Create .return_sitestools/ tools/ tools/ +3 more | +84 | 0 replies | |
| 86/130 | objtool: skip non-text sections when adding return-thunk sitestools/ | +3 | 0 replies | |
| 87/130 | x86,static_call: Use alternative RET encodingarch/ arch/ arch/ | +62 | 0 replies | |
| 88/130 | x86/ftrace: Use alternative RET encodingarch/ | +5 | 0 replies | |
| 89/130 | x86/bpf: Use alternative RET encodingarch/ | +18 | 0 replies | |
| 90/130 | x86/kvm: Fix SETcc emulation for return thunksarch/ | +14 | 0 replies | |
| 91/130 | x86/vsyscall_emu/64: Dont use RET in vsyscall emulationarch/ | +6 | 0 replies | |
| 92/130 | x86/sev: Avoid using __x86_return_thunkarch/ | +6 | 0 replies | |
| 93/130 | x86: Use return-thunk in asm codearch/ arch/ arch/ | +15 | 0 replies | |
| 94/130 | objtool: Treat .text.__x86.* as noinstrtools/ | +2 | 0 replies | |
| 95/130 | x86: Add magic AMD return-thunkarch/ arch/ arch/ +6 more | +117 | 0 replies | |
| 96/130 | x86/bugs: Report AMD retbleed vulnerabilityarch/ arch/ arch/ +2 more | +43 | 0 replies | |
| 97/130 | x86/bugs: Add AMD retbleed= boot parameterDocumentation/ arch/ arch/ | +125 | 0 replies | |
| 98/130 | x86/bugs: Enable STIBP for JMP2RETDocumentation/ arch/ | +57 | 0 replies | |
| 99/130 | x86/bugs: Keep a per-CPU IA32_SPEC_CTRL valuearch/ arch/ arch/ | +25 | 0 replies | |
| 100/130 | x86/entry: Add kernel IBRS implementationarch/ arch/ arch/ +1 more | +111 | 0 replies | |
| 101/130 | x86/bugs: Optimize SPEC_CTRL MSR writesarch/ arch/ arch/ | +14 | 0 replies | |
| 102/130 | x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRSDocumentation/ arch/ arch/ | +54 | 0 replies | |
| 103/130 | x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation()arch/ | +17 | 0 replies | |
| 104/130 | x86/bugs: Report Intel retbleed vulnerabilityarch/ arch/ arch/ | +46 | 0 replies | |
| 105/130 | intel_idle: Disable IBRS during long idlearch/ arch/ drivers/ | +44 | 0 replies | |
| 106/130 | objtool: Update Retpoline validationarch/ arch/ arch/ +1 more | +22 | 0 replies | |
| 107/130 | x86/xen: Rename SYS* entry pointsarch/ arch/ arch/ | +16 | 0 replies | |
| 108/130 | x86/bugs: Add retbleed=ibpbDocumentation/ arch/ arch/ +3 more | +67 | 0 replies | |
| 109/130 | x86/bugs: Do IBPB fallback check only oncearch/ | +5 | 0 replies | |
| 110/130 | objtool: Add entry UNRET validationarch/ arch/ arch/ +10 more | +217 | 0 replies | |
| 111/130 | x86/cpu/amd: Add Spectral Chickenarch/ arch/ arch/ +1 more | +33 | 0 replies | |
| 112/130 | x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=narch/ arch/ arch/ | +0 | 0 replies | |
| 113/130 | x86/speculation: Fix firmware entry SPEC_CTRL handlingarch/ | +4 | 0 replies | |
| 114/130 | x86/speculation: Fix SPEC_CTRL write on SMT state changearch/ | +2 | 0 replies | |
| 115/130 | x86/speculation: Use cached host SPEC_CTRL value for guest entry/exitarch/ | +1 | 0 replies | |
| 116/130 | x86/speculation: Remove x86_spec_ctrl_maskarch/ | +1 | 0 replies | |
| 117/130 | objtool: Re-add UNWIND_HINT_{SAVE_RESTORE}arch/ include/ tools/ +2 more | +59 | 0 replies | |
| 118/130 | KVM: VMX: Flatten __vmx_vcpu_run()arch/ | +45 | 0 replies | |
| 119/130 | KVM: VMX: Convert launched argument to flagsarch/ arch/ arch/ +2 more | +31 | 0 replies | |
| 120/130 | KVM: VMX: Prevent guest RSB poisoning attacks with eIBRSarch/ arch/ arch/ +3 more | +73 | 0 replies | |
| 121/130 | KVM: VMX: Fix IBRS handling after vmexitarch/ | +6 | 0 replies | |
| 122/130 | x86/speculation: Fill RSB on vmexit for IBRSarch/ arch/ arch/ | +62 | 0 replies | |
| 123/130 | x86/common: Stamp out the stepping madnessarch/ | +16 | 0 replies | |
| 124/130 | x86/cpu/amd: Enumerate BTC_NOarch/ arch/ arch/ | +20 | 0 replies | |
| 125/130 | x86/retbleed: Add fine grained Kconfig knobsMakefile arch/ arch/ +16 more | +172 | 0 replies | |
| 126/130 | x86/bugs: Add Cannon lake to RETBleed affected CPU listarch/ | +1 | 0 replies | |
| 127/130 | x86/bugs: Do not enable IBPB-on-entry when IBPB is not supportedarch/ | +5 | 0 replies | |
| 128/130 | x86/kexec: Disable RET on kexecarch/ arch/ | +36 | 0 replies | |
| 129/130 | x86/speculation: Disable RRSBA behaviorarch/ arch/ arch/ +2 more | +46 | 0 replies | |
| 130/130 | x86/static_call: Serialize __static_call_fixup() properlyarch/ | +8 | 0 replies |
Reviews trailers per patch
73 of 130 patches have a Reviewed-by or Acked-by.
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 22 reviewers.
Cover letter [PATCH 5.10 000/130] 5.10.131-rc1 review
This is the start of the stable review cycle for the 5.10.131 release. There are 130 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 Thu, 14 Jul 2022 18:32:19 +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.10.131-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.10.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <[email protected]>
Linux 5.10.131-rc1
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
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: 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
Peter Zijlstra <[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: 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
Ben Hutchings <[email protected]>
Makefile: Set retpoline cflags based on CONFIG_CC_IS_{CLANG,GCC}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
Mikulas Patocka <[email protected]>
objtool: Fix objtool regression on x32 systems
Peter Zijlstra <[email protected]>
x86/entry: Remove skip_r11rcx
Peter Zijlstra <[email protected]>
objtool: Fix symbol creation
Peter Zijlstra <[email protected]>
objtool: Fix type of reloc::addend
Peter Zijlstra <[email protected]>
objtool: Fix code relocs vs weak symbols
Peter Zijlstra <[email protected]>
objtool: Fix SLS validation for kcov tail-call replacement
Peter Zijlstra <[email protected]>
crypto: x86/poly1305 - Fixup SLS
Peter Zijlstra <[email protected]>
objtool: Default ignore INT3 for unreachable
Borislav Petkov <[email protected]>
kvm/emulate: Fix SETcc emulation function offsets with SLS
Arnaldo Carvalho de Melo <[email protected]>
tools arch: Update arch/x86/lib/mem{cpy,set}_64.S copies used in 'perf bench mem memcpy'
Peter Zijlstra <[email protected]>
x86: Add straight-line-speculation mitigation
Peter Zijlstra <[email protected]>
objtool: Add straight-line-speculation validation
Peter Zijlstra <[email protected]>
x86/alternative: Relax text_poke_bp() constraint
Peter Zijlstra <[email protected]>
x86: Prepare inline-asm for straight-line-speculation
Peter Zijlstra <[email protected]>
x86: Prepare asm files for straight-line-speculation
Peter Zijlstra <[email protected]>
x86/lib/atomic64_386_32: Rename things
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,x86: Replace alternatives with .retpoline_sites
Peter Zijlstra <[email protected]>
objtool: Explicitly avoid self modifying code in .altinstr_replacement
Peter Zijlstra <[email protected]>
objtool: Classify symbols
Peter Zijlstra <[email protected]>
objtool: Handle __sanitize_cov*() tail calls
Peter Zijlstra <[email protected]>
objtool: Introduce CFI hash
Joe Lawrence <[email protected]>
objtool: Make .altinstructions section entry size consistent
Josh Poimboeuf <[email protected]>
objtool: Remove reloc symbol type checks in get_alt_entry()
Linus Torvalds <[email protected]>
objtool: print out the symbol type when complaining about it
Peter Zijlstra <[email protected]>
objtool: Teach get_alt_entry() about more relocation types
Josh Poimboeuf <[email protected]>
objtool: Don't make .altinstructions writable
Peter Zijlstra <[email protected]>
objtool/x86: Ignore __x86_indirect_alt_* symbols
Peter Zijlstra <[email protected]>
objtool: Only rewrite unconditional retpoline thunk calls
Peter Zijlstra <[email protected]>
objtool: Fix .symtab_shndx handling for elf_create_undef_symbol()
Borislav Petkov <[email protected]>
x86/alternative: Optimize single-byte NOPs at an arbitrary position
Josh Poimboeuf <[email protected]>
objtool: Support asm jump tables
Peter Zijlstra <[email protected]>
objtool/x86: Rewrite retpoline thunk calls
Peter Zijlstra <[email protected]>
objtool: Skip magical retpoline .altinstr_replacement
Peter Zijlstra <[email protected]>
objtool: Cache instruction relocs
Peter Zijlstra <[email protected]>
objtool: Keep track of retpoline call sites
Peter Zijlstra <[email protected]>
objtool: Add elf_create_undef_symbol()
Peter Zijlstra <[email protected]>
objtool: Extract elf_symbol_add()
Peter Zijlstra <[email protected]>
objtool: Extract elf_strtab_concat()
Peter Zijlstra <[email protected]>
objtool: Create reloc sections implicitly
Peter Zijlstra <[email protected]>
objtool: Add elf_create_reloc() helper
Peter Zijlstra <[email protected]>
objtool: Rework the elf_rebuild_reloc_section() logic
Peter Zijlstra <[email protected]>
objtool: Handle per arch retpoline naming
Peter Zijlstra <[email protected]>
objtool: Correctly handle retpoline thunk calls
Peter Zijlstra <[email protected]>
x86/retpoline: Simplify retpolines
Peter Zijlstra <[email protected]>
x86/alternatives: Optimize optimize_nops()
Ben Hutchings <[email protected]>
x86: Add insn_decode_kernel()
Borislav Petkov <[email protected]>
x86/alternative: Use insn_decode()
Borislav Petkov <[email protected]>
x86/insn-eval: Handle return values from the decoder
Borislav Petkov <[email protected]>
x86/insn: Add an insn_decode() API
Borislav Petkov <[email protected]>
x86/insn: Add a __ignore_sync_check__ marker
Borislav Petkov <[email protected]>
x86/insn: Rename insn_decode() to insn_decode_from_regs()
Juergen Gross <[email protected]>
x86/alternative: Use ALTERNATIVE_TERNARY() in _static_cpu_has()
Juergen Gross <[email protected]>
x86/alternative: Support ALTERNATIVE_TERNARY
Juergen Gross <[email protected]>
x86/alternative: Support not-feature
Juergen Gross <[email protected]>
x86/alternative: Merge include files
Josh Poimboeuf <[email protected]>
x86/xen: Support objtool vmlinux.o validation in xen-head.S
Josh Poimboeuf <[email protected]>
x86/xen: Support objtool validation in xen-asm.S
Josh Poimboeuf <[email protected]>
objtool: Combine UNWIND_HINT_RET_OFFSET and UNWIND_HINT_FUNC
Josh Poimboeuf <[email protected]>
objtool: Assume only ELF functions do sibling calls
Josh Poimboeuf <[email protected]>
objtool: Support retpoline jump detection for vmlinux.o
Josh Poimboeuf <[email protected]>
objtool: Support stack layout changes in alternatives
Josh Poimboeuf <[email protected]>
objtool: Add 'alt_group' struct
Josh Poimboeuf <[email protected]>
objtool: Refactor ORC section generation
Uros Bizjak <[email protected]>
KVM/nVMX: Use __vmx_vcpu_run in nested_vmx_check_vmentry_hw
Uros Bizjak <[email protected]>
KVM/VMX: Use TEST %REG,%REG instead of CMP $0,%REG in vmenter.S
-------------
Diffstat:
Documentation/admin-guide/kernel-parameters.txt | 25 + Makefile | 24 +- arch/um/kernel/um_arch.c | 4 + arch/x86/Kconfig | 91 +- arch/x86/Makefile | 8 +- arch/x86/boot/compressed/efi_thunk_64.S | 2 +- arch/x86/boot/compressed/head_64.S | 4 +- arch/x86/boot/compressed/mem_encrypt.S | 4 +- arch/x86/crypto/aegis128-aesni-asm.S | 48 +- arch/x86/crypto/aes_ctrby8_avx-x86_64.S | 2 +- arch/x86/crypto/aesni-intel_asm.S | 52 +- arch/x86/crypto/aesni-intel_avx-x86_64.S | 40 +- arch/x86/crypto/blake2s-core.S | 4 +- arch/x86/crypto/blowfish-x86_64-asm_64.S | 12 +- arch/x86/crypto/camellia-aesni-avx-asm_64.S | 18 +- arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 18 +- arch/x86/crypto/camellia-x86_64-asm_64.S | 12 +- arch/x86/crypto/cast5-avx-x86_64-asm_64.S | 12 +- arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 16 +- arch/x86/crypto/chacha-avx2-x86_64.S | 6 +- arch/x86/crypto/chacha-avx512vl-x86_64.S | 6 +- arch/x86/crypto/chacha-ssse3-x86_64.S | 8 +- arch/x86/crypto/crc32-pclmul_asm.S | 2 +- arch/x86/crypto/crc32c-pcl-intel-asm_64.S | 2 +- arch/x86/crypto/crct10dif-pcl-asm_64.S | 2 +- arch/x86/crypto/des3_ede-asm_64.S | 4 +- arch/x86/crypto/ghash-clmulni-intel_asm.S | 6 +- arch/x86/crypto/nh-avx2-x86_64.S | 2 +- arch/x86/crypto/nh-sse2-x86_64.S | 2 +- arch/x86/crypto/poly1305-x86_64-cryptogams.pl | 38 +- arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 16 +- arch/x86/crypto/serpent-avx2-asm_64.S | 16 +- arch/x86/crypto/serpent-sse2-i586-asm_32.S | 6 +- arch/x86/crypto/serpent-sse2-x86_64-asm_64.S | 6 +- arch/x86/crypto/sha1_avx2_x86_64_asm.S | 2 +- arch/x86/crypto/sha1_ni_asm.S | 2 +- arch/x86/crypto/sha1_ssse3_asm.S | 2 +- arch/x86/crypto/sha256-avx-asm.S | 2 +- arch/x86/crypto/sha256-avx2-asm.S | 2 +- arch/x86/crypto/sha256-ssse3-asm.S | 2 +- arch/x86/crypto/sha256_ni_asm.S | 2 +- arch/x86/crypto/sha512-avx-asm.S | 2 +- arch/x86/crypto/sha512-avx2-asm.S | 2 +- arch/x86/crypto/sha512-ssse3-asm.S | 2 +- arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 16 +- arch/x86/crypto/twofish-i586-asm_32.S | 4 +- arch/x86/crypto/twofish-x86_64-asm_64-3way.S | 6 +- arch/x86/crypto/twofish-x86_64-asm_64.S | 4 +- arch/x86/entry/Makefile | 2 +- arch/x86/entry/calling.h | 72 +- arch/x86/entry/entry.S | 22 + arch/x86/entry/entry_32.S | 6 +- arch/x86/entry/entry_64.S | 62 +- arch/x86/entry/entry_64_compat.S | 21 +- arch/x86/entry/thunk_32.S | 2 +- arch/x86/entry/thunk_64.S | 2 +- arch/x86/entry/vdso/Makefile | 1 + arch/x86/entry/vdso/vdso32/system_call.S | 4 +- arch/x86/entry/vsyscall/vsyscall_emu_64.S | 3 + arch/x86/include/asm/GEN-for-each-reg.h | 14 +- arch/x86/include/asm/alternative-asm.h | 114 --- arch/x86/include/asm/alternative.h | 137 ++- arch/x86/include/asm/asm-prototypes.h | 17 - arch/x86/include/asm/cpufeature.h | 41 +- arch/x86/include/asm/cpufeatures.h | 14 +- arch/x86/include/asm/disabled-features.h | 21 +- arch/x86/include/asm/inat.h | 2 +- arch/x86/include/asm/insn-eval.h | 4 +- arch/x86/include/asm/insn.h | 28 +- arch/x86/include/asm/linkage.h | 22 + arch/x86/include/asm/msr-index.h | 13 + arch/x86/include/asm/nospec-branch.h | 140 +-- arch/x86/include/asm/paravirt.h | 2 +- arch/x86/include/asm/qspinlock_paravirt.h | 4 +- arch/x86/include/asm/smap.h | 5 +- arch/x86/include/asm/static_call.h | 19 +- arch/x86/include/asm/unwind_hints.h | 23 +- arch/x86/kernel/acpi/wakeup_32.S | 6 +- arch/x86/kernel/alternative.c | 406 +++++++- 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/ftrace_32.S | 6 +- arch/x86/kernel/ftrace_64.S | 12 +- arch/x86/kernel/head_32.S | 2 +- arch/x86/kernel/head_64.S | 5 + arch/x86/kernel/irqflags.S | 4 +- arch/x86/kernel/kprobes/core.c | 2 +- arch/x86/kernel/module.c | 15 +- arch/x86/kernel/paravirt.c | 2 +- arch/x86/kernel/process.c | 2 +- arch/x86/kernel/relocate_kernel_32.S | 15 +- arch/x86/kernel/relocate_kernel_64.S | 13 +- arch/x86/kernel/sev-es.c | 2 +- arch/x86/kernel/sev_verify_cbit.S | 2 +- arch/x86/kernel/static_call.c | 52 +- arch/x86/kernel/umip.c | 2 +- arch/x86/kernel/verify_cpu.S | 4 +- arch/x86/kernel/vmlinux.lds.S | 23 +- arch/x86/kvm/emulate.c | 33 +- arch/x86/kvm/svm/vmenter.S | 11 +- arch/x86/kvm/vmx/nested.c | 32 +- arch/x86/kvm/vmx/run_flags.h | 8 + arch/x86/kvm/vmx/vmenter.S | 170 ++-- arch/x86/kvm/vmx/vmx.c | 78 +- arch/x86/kvm/vmx/vmx.h | 5 + arch/x86/kvm/x86.c | 4 +- arch/x86/lib/atomic64_386_32.S | 88 +- arch/x86/lib/atomic64_cx8_32.S | 18 +- arch/x86/lib/checksum_32.S | 8 +- arch/x86/lib/clear_page_64.S | 6 +- arch/x86/lib/cmpxchg16b_emu.S | 4 +- arch/x86/lib/cmpxchg8b_emu.S | 4 +- arch/x86/lib/copy_mc_64.S | 6 +- arch/x86/lib/copy_page_64.S | 6 +- arch/x86/lib/copy_user_64.S | 14 +- arch/x86/lib/csum-copy_64.S | 2 +- arch/x86/lib/error-inject.c | 3 +- arch/x86/lib/getuser.S | 22 +- arch/x86/lib/hweight.S | 6 +- arch/x86/lib/inat.c | 2 +- arch/x86/lib/insn-eval.c | 40 +- arch/x86/lib/insn.c | 222 ++++- arch/x86/lib/iomap_copy_64.S | 2 +- arch/x86/lib/memcpy_64.S | 14 +- arch/x86/lib/memmove_64.S | 11 +- arch/x86/lib/memset_64.S | 8 +- arch/x86/lib/msr-reg.S | 4 +- arch/x86/lib/putuser.S | 6 +- arch/x86/lib/retpoline.S | 118 ++- arch/x86/math-emu/div_Xsig.S | 2 +- arch/x86/math-emu/div_small.S | 2 +- arch/x86/math-emu/mul_Xsig.S | 6 +- arch/x86/math-emu/polynom_Xsig.S | 2 +- arch/x86/math-emu/reg_norm.S | 6 +- arch/x86/math-emu/reg_round.S | 2 +- arch/x86/math-emu/reg_u_add.S | 2 +- arch/x86/math-emu/reg_u_div.S | 2 +- arch/x86/math-emu/reg_u_mul.S | 2 +- arch/x86/math-emu/reg_u_sub.S | 2 +- arch/x86/math-emu/round_Xsig.S | 4 +- arch/x86/math-emu/shr_Xsig.S | 8 +- arch/x86/math-emu/wm_shrx.S | 16 +- arch/x86/mm/mem_encrypt_boot.S | 6 + arch/x86/net/bpf_jit_comp.c | 185 ++-- arch/x86/net/bpf_jit_comp32.c | 22 +- arch/x86/platform/efi/efi_stub_32.S | 2 +- arch/x86/platform/efi/efi_stub_64.S | 2 +- arch/x86/platform/efi/efi_thunk_64.S | 2 +- arch/x86/platform/olpc/xo1-wakeup.S | 6 +- arch/x86/power/hibernate_asm_32.S | 4 +- arch/x86/power/hibernate_asm_64.S | 4 +- arch/x86/um/checksum_32.S | 4 +- arch/x86/um/setjmp_32.S | 2 +- arch/x86/um/setjmp_64.S | 2 +- arch/x86/xen/Makefile | 1 - arch/x86/xen/setup.c | 6 +- arch/x86/xen/xen-asm.S | 43 +- arch/x86/xen/xen-head.S | 6 +- 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 | 14 +- samples/ftrace/ftrace-direct-modify.c | 4 +- samples/ftrace/ftrace-direct-too.c | 2 +- samples/ftrace/ftrace-direct.c | 2 +- scripts/Makefile.build | 6 + scripts/link-vmlinux.sh | 6 + security/Kconfig | 11 - tools/arch/x86/include/asm/inat.h | 2 +- tools/arch/x86/include/asm/insn.h | 28 +- tools/arch/x86/include/asm/msr-index.h | 9 + tools/arch/x86/lib/inat.c | 2 +- tools/arch/x86/lib/insn.c | 222 ++++- tools/arch/x86/lib/memcpy_64.S | 12 +- tools/arch/x86/lib/memset_64.S | 6 +- tools/include/linux/kconfig.h | 73 ++ tools/include/linux/objtool.h | 14 +- tools/objtool/Documentation/stack-validation.txt | 16 +- tools/objtool/Makefile | 4 - tools/objtool/arch.h | 13 +- tools/objtool/arch/x86/decode.c | 58 +- tools/objtool/arch/x86/include/arch_special.h | 2 +- tools/objtool/builtin-check.c | 6 +- tools/objtool/builtin-orc.c | 6 +- tools/objtool/builtin.h | 3 +- tools/objtool/cfi.h | 2 + tools/objtool/check.c | 1140 +++++++++++++++++----- tools/objtool/check.h | 35 +- tools/objtool/elf.c | 434 ++++++-- tools/objtool/elf.h | 22 +- tools/objtool/objtool.c | 2 + tools/objtool/objtool.h | 5 +- tools/objtool/orc_gen.c | 324 +++--- tools/objtool/special.c | 22 +- tools/objtool/sync-check.sh | 17 +- tools/objtool/weak.c | 7 +- tools/perf/check-headers.sh | 15 +- 204 files changed, 4557 insertions(+), 1916 deletions(-)