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-rc... 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 gregkh@linuxfoundation.org Linux 5.10.131-rc1
Thomas Gleixner tglx@linutronix.de x86/static_call: Serialize __static_call_fixup() properly
Pawan Gupta pawan.kumar.gupta@linux.intel.com x86/speculation: Disable RRSBA behavior
Konrad Rzeszutek Wilk konrad.wilk@oracle.com x86/kexec: Disable RET on kexec
Thadeu Lima de Souza Cascardo cascardo@canonical.com x86/bugs: Do not enable IBPB-on-entry when IBPB is not supported
Pawan Gupta pawan.kumar.gupta@linux.intel.com x86/bugs: Add Cannon lake to RETBleed affected CPU list
Peter Zijlstra peterz@infradead.org x86/retbleed: Add fine grained Kconfig knobs
Andrew Cooper andrew.cooper3@citrix.com x86/cpu/amd: Enumerate BTC_NO
Peter Zijlstra peterz@infradead.org x86/common: Stamp out the stepping madness
Josh Poimboeuf jpoimboe@kernel.org x86/speculation: Fill RSB on vmexit for IBRS
Josh Poimboeuf jpoimboe@kernel.org KVM: VMX: Fix IBRS handling after vmexit
Josh Poimboeuf jpoimboe@kernel.org KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS
Josh Poimboeuf jpoimboe@kernel.org KVM: VMX: Convert launched argument to flags
Josh Poimboeuf jpoimboe@kernel.org KVM: VMX: Flatten __vmx_vcpu_run()
Josh Poimboeuf jpoimboe@kernel.org objtool: Re-add UNWIND_HINT_{SAVE_RESTORE}
Josh Poimboeuf jpoimboe@kernel.org x86/speculation: Remove x86_spec_ctrl_mask
Josh Poimboeuf jpoimboe@kernel.org x86/speculation: Use cached host SPEC_CTRL value for guest entry/exit
Josh Poimboeuf jpoimboe@kernel.org x86/speculation: Fix SPEC_CTRL write on SMT state change
Josh Poimboeuf jpoimboe@kernel.org x86/speculation: Fix firmware entry SPEC_CTRL handling
Josh Poimboeuf jpoimboe@kernel.org x86/speculation: Fix RSB filling with CONFIG_RETPOLINE=n
Peter Zijlstra peterz@infradead.org x86/cpu/amd: Add Spectral Chicken
Peter Zijlstra peterz@infradead.org objtool: Add entry UNRET validation
Josh Poimboeuf jpoimboe@kernel.org x86/bugs: Do IBPB fallback check only once
Peter Zijlstra peterz@infradead.org x86/bugs: Add retbleed=ibpb
Peter Zijlstra peterz@infradead.org x86/xen: Rename SYS* entry points
Peter Zijlstra peterz@infradead.org objtool: Update Retpoline validation
Peter Zijlstra peterz@infradead.org intel_idle: Disable IBRS during long idle
Peter Zijlstra peterz@infradead.org x86/bugs: Report Intel retbleed vulnerability
Peter Zijlstra peterz@infradead.org x86/bugs: Split spectre_v2_select_mitigation() and spectre_v2_user_select_mitigation()
Pawan Gupta pawan.kumar.gupta@linux.intel.com x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS
Peter Zijlstra peterz@infradead.org x86/bugs: Optimize SPEC_CTRL MSR writes
Peter Zijlstra peterz@infradead.org x86/entry: Add kernel IBRS implementation
Peter Zijlstra peterz@infradead.org x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value
Kim Phillips kim.phillips@amd.com x86/bugs: Enable STIBP for JMP2RET
Alexandre Chartre alexandre.chartre@oracle.com x86/bugs: Add AMD retbleed= boot parameter
Alexandre Chartre alexandre.chartre@oracle.com x86/bugs: Report AMD retbleed vulnerability
Peter Zijlstra peterz@infradead.org x86: Add magic AMD return-thunk
Peter Zijlstra peterz@infradead.org objtool: Treat .text.__x86.* as noinstr
Peter Zijlstra peterz@infradead.org x86: Use return-thunk in asm code
Kim Phillips kim.phillips@amd.com x86/sev: Avoid using __x86_return_thunk
Peter Zijlstra peterz@infradead.org x86/vsyscall_emu/64: Don't use RET in vsyscall emulation
Peter Zijlstra peterz@infradead.org x86/kvm: Fix SETcc emulation for return thunks
Peter Zijlstra peterz@infradead.org x86/bpf: Use alternative RET encoding
Peter Zijlstra peterz@infradead.org x86/ftrace: Use alternative RET encoding
Peter Zijlstra peterz@infradead.org x86,static_call: Use alternative RET encoding
Thadeu Lima de Souza Cascardo cascardo@canonical.com objtool: skip non-text sections when adding return-thunk sites
Peter Zijlstra peterz@infradead.org x86,objtool: Create .return_sites
Peter Zijlstra peterz@infradead.org x86: Undo return-thunk damage
Peter Zijlstra peterz@infradead.org x86/retpoline: Use -mfunction-return
Ben Hutchings ben@decadent.org.uk Makefile: Set retpoline cflags based on CONFIG_CC_IS_{CLANG,GCC}
Peter Zijlstra peterz@infradead.org x86/retpoline: Swizzle retpoline thunk
Peter Zijlstra peterz@infradead.org x86/retpoline: Cleanup some #ifdefery
Peter Zijlstra peterz@infradead.org x86/cpufeatures: Move RETPOLINE flags to word 11
Peter Zijlstra peterz@infradead.org x86/kvm/vmx: Make noinstr clean
Thadeu Lima de Souza Cascardo cascardo@canonical.com x86/realmode: build with -D__DISABLE_EXPORTS
Mikulas Patocka mpatocka@redhat.com objtool: Fix objtool regression on x32 systems
Peter Zijlstra peterz@infradead.org x86/entry: Remove skip_r11rcx
Peter Zijlstra peterz@infradead.org objtool: Fix symbol creation
Peter Zijlstra peterz@infradead.org objtool: Fix type of reloc::addend
Peter Zijlstra peterz@infradead.org objtool: Fix code relocs vs weak symbols
Peter Zijlstra peterz@infradead.org objtool: Fix SLS validation for kcov tail-call replacement
Peter Zijlstra peterz@infradead.org crypto: x86/poly1305 - Fixup SLS
Peter Zijlstra peterz@infradead.org objtool: Default ignore INT3 for unreachable
Borislav Petkov bp@suse.de kvm/emulate: Fix SETcc emulation function offsets with SLS
Arnaldo Carvalho de Melo acme@redhat.com tools arch: Update arch/x86/lib/mem{cpy,set}_64.S copies used in 'perf bench mem memcpy'
Peter Zijlstra peterz@infradead.org x86: Add straight-line-speculation mitigation
Peter Zijlstra peterz@infradead.org objtool: Add straight-line-speculation validation
Peter Zijlstra peterz@infradead.org x86/alternative: Relax text_poke_bp() constraint
Peter Zijlstra peterz@infradead.org x86: Prepare inline-asm for straight-line-speculation
Peter Zijlstra peterz@infradead.org x86: Prepare asm files for straight-line-speculation
Peter Zijlstra peterz@infradead.org x86/lib/atomic64_386_32: Rename things
Peter Zijlstra peterz@infradead.org bpf,x86: Respect X86_FEATURE_RETPOLINE*
Peter Zijlstra peterz@infradead.org bpf,x86: Simplify computing label offsets
Peter Zijlstra peterz@infradead.org x86/alternative: Add debug prints to apply_retpolines()
Peter Zijlstra peterz@infradead.org x86/alternative: Try inline spectre_v2=retpoline,amd
Peter Zijlstra peterz@infradead.org x86/alternative: Handle Jcc __x86_indirect_thunk_\reg
Peter Zijlstra peterz@infradead.org x86/alternative: Implement .retpoline_sites support
Peter Zijlstra peterz@infradead.org x86/retpoline: Create a retpoline thunk array
Peter Zijlstra peterz@infradead.org x86/retpoline: Move the retpoline thunk declarations to nospec-branch.h
Peter Zijlstra peterz@infradead.org x86/asm: Fixup odd GEN-for-each-reg.h usage
Peter Zijlstra peterz@infradead.org x86/asm: Fix register order
Peter Zijlstra peterz@infradead.org x86/retpoline: Remove unused replacement symbols
Peter Zijlstra peterz@infradead.org objtool,x86: Replace alternatives with .retpoline_sites
Peter Zijlstra peterz@infradead.org objtool: Explicitly avoid self modifying code in .altinstr_replacement
Peter Zijlstra peterz@infradead.org objtool: Classify symbols
Peter Zijlstra peterz@infradead.org objtool: Handle __sanitize_cov*() tail calls
Peter Zijlstra peterz@infradead.org objtool: Introduce CFI hash
Joe Lawrence joe.lawrence@redhat.com objtool: Make .altinstructions section entry size consistent
Josh Poimboeuf jpoimboe@redhat.com objtool: Remove reloc symbol type checks in get_alt_entry()
Linus Torvalds torvalds@linux-foundation.org objtool: print out the symbol type when complaining about it
Peter Zijlstra peterz@infradead.org objtool: Teach get_alt_entry() about more relocation types
Josh Poimboeuf jpoimboe@redhat.com objtool: Don't make .altinstructions writable
Peter Zijlstra peterz@infradead.org objtool/x86: Ignore __x86_indirect_alt_* symbols
Peter Zijlstra peterz@infradead.org objtool: Only rewrite unconditional retpoline thunk calls
Peter Zijlstra peterz@infradead.org objtool: Fix .symtab_shndx handling for elf_create_undef_symbol()
Borislav Petkov bp@suse.de x86/alternative: Optimize single-byte NOPs at an arbitrary position
Josh Poimboeuf jpoimboe@redhat.com objtool: Support asm jump tables
Peter Zijlstra peterz@infradead.org objtool/x86: Rewrite retpoline thunk calls
Peter Zijlstra peterz@infradead.org objtool: Skip magical retpoline .altinstr_replacement
Peter Zijlstra peterz@infradead.org objtool: Cache instruction relocs
Peter Zijlstra peterz@infradead.org objtool: Keep track of retpoline call sites
Peter Zijlstra peterz@infradead.org objtool: Add elf_create_undef_symbol()
Peter Zijlstra peterz@infradead.org objtool: Extract elf_symbol_add()
Peter Zijlstra peterz@infradead.org objtool: Extract elf_strtab_concat()
Peter Zijlstra peterz@infradead.org objtool: Create reloc sections implicitly
Peter Zijlstra peterz@infradead.org objtool: Add elf_create_reloc() helper
Peter Zijlstra peterz@infradead.org objtool: Rework the elf_rebuild_reloc_section() logic
Peter Zijlstra peterz@infradead.org objtool: Handle per arch retpoline naming
Peter Zijlstra peterz@infradead.org objtool: Correctly handle retpoline thunk calls
Peter Zijlstra peterz@infradead.org x86/retpoline: Simplify retpolines
Peter Zijlstra peterz@infradead.org x86/alternatives: Optimize optimize_nops()
Ben Hutchings ben@decadent.org.uk x86: Add insn_decode_kernel()
Borislav Petkov bp@suse.de x86/alternative: Use insn_decode()
Borislav Petkov bp@suse.de x86/insn-eval: Handle return values from the decoder
Borislav Petkov bp@suse.de x86/insn: Add an insn_decode() API
Borislav Petkov bp@suse.de x86/insn: Add a __ignore_sync_check__ marker
Borislav Petkov bp@suse.de x86/insn: Rename insn_decode() to insn_decode_from_regs()
Juergen Gross jgross@suse.com x86/alternative: Use ALTERNATIVE_TERNARY() in _static_cpu_has()
Juergen Gross jgross@suse.com x86/alternative: Support ALTERNATIVE_TERNARY
Juergen Gross jgross@suse.com x86/alternative: Support not-feature
Juergen Gross jgross@suse.com x86/alternative: Merge include files
Josh Poimboeuf jpoimboe@redhat.com x86/xen: Support objtool vmlinux.o validation in xen-head.S
Josh Poimboeuf jpoimboe@redhat.com x86/xen: Support objtool validation in xen-asm.S
Josh Poimboeuf jpoimboe@redhat.com objtool: Combine UNWIND_HINT_RET_OFFSET and UNWIND_HINT_FUNC
Josh Poimboeuf jpoimboe@redhat.com objtool: Assume only ELF functions do sibling calls
Josh Poimboeuf jpoimboe@redhat.com objtool: Support retpoline jump detection for vmlinux.o
Josh Poimboeuf jpoimboe@redhat.com objtool: Support stack layout changes in alternatives
Josh Poimboeuf jpoimboe@redhat.com objtool: Add 'alt_group' struct
Josh Poimboeuf jpoimboe@redhat.com objtool: Refactor ORC section generation
Uros Bizjak ubizjak@gmail.com KVM/nVMX: Use __vmx_vcpu_run in nested_vmx_check_vmentry_hw
Uros Bizjak ubizjak@gmail.com 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(-)
On 7/12/22 11:37, Greg Kroah-Hartman wrote:
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-rc... 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
perf fails to build with:
CC /local/users/fainelli/buildroot/output/arm64/build/linux-custom/tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.o In file included from util/intel-pt-decoder/intel-pt-insn-decoder.c:15: util/intel-pt-decoder/../../../arch/x86/lib/insn.c:13:10: fatal error: asm/inat.h: No such file or directory #include <asm/inat.h> /* __ignore_sync_check__ */ ^~~~~~~~~~~~ compilation terminated. make[7]: *** [util/intel-pt-decoder/Build:14: /local/users/fainelli/buildroot/output/arm64/build/linux-custom/tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.o] Error 1 make[6]: *** [/local/users/fainelli/buildroot/output/arm64/build/linux-custom/tools/build/Makefile.build:139: intel-pt-decoder] Error 2 make[5]: *** [/local/users/fainelli/buildroot/output/arm64/build/linux-custom/tools/build/Makefile.build:139: util] Error 2 make[4]: *** [Makefile.perf:643: /local/users/fainelli/buildroot/output/arm64/build/linux-custom/tools/perf/perf-in.o] Error 2 make[3]: *** [Makefile.perf:229: sub-make] Error 2 make[2]: *** [Makefile:70: all] Error 2 make[1]: *** [package/pkg-generic.mk:294: /local/users/fainelli/buildroot/output/arm64/build/linux-tools/.stamp_built] Error 2 make: *** [Makefile:27: _all] Error 2
you will need to pick this patch as well:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?i...
With that one applied:
On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels:
Tested-by: Florian Fainelli f.fainelli@gmail.com
On Wed, 13 Jul 2022 at 04:45, Florian Fainelli f.fainelli@gmail.com wrote:
On 7/12/22 11:37, Greg Kroah-Hartman wrote:
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-rc... 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
perf fails to build with:
I have also noticed perf build failed.
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
In file included from util/intel-pt-decoder/intel-pt-insn-decoder.c:15: util/intel-pt-decoder/../../../arch/x86/lib/insn.c:13:10: fatal error: asm/inat.h: No such file or directory 13 | #include <asm/inat.h> /* __ignore_sync_check__ */ | ^~~~~~~~~~~~ compilation terminated.
Build log: https://builds.tuxbuild.com/2BrKWlDZbrZwQIfxzeMf6fv37sn/
CC /local/users/fainelli/buildroot/output/arm64/build/linux-custom/tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.o In file included from util/intel-pt-decoder/intel-pt-insn-decoder.c:15: util/intel-pt-decoder/../../../arch/x86/lib/insn.c:13:10: fatal error: asm/inat.h: No such file or directory #include <asm/inat.h> /* __ignore_sync_check__ */ ^~~~~~~~~~~~ compilation terminated. make[7]: *** [util/intel-pt-decoder/Build:14: /local/users/fainelli/buildroot/output/arm64/build/linux-custom/tools/perf/util/intel-pt-decoder/intel-pt-insn-decoder.o] Error 1 make[6]: *** [/local/users/fainelli/buildroot/output/arm64/build/linux-custom/tools/build/Makefile.build:139: intel-pt-decoder] Error 2 make[5]: *** [/local/users/fainelli/buildroot/output/arm64/build/linux-custom/tools/build/Makefile.build:139: util] Error 2 make[4]: *** [Makefile.perf:643: /local/users/fainelli/buildroot/output/arm64/build/linux-custom/tools/perf/perf-in.o] Error 2 make[3]: *** [Makefile.perf:229: sub-make] Error 2 make[2]: *** [Makefile:70: all] Error 2 make[1]: *** [package/pkg-generic.mk:294: /local/users/fainelli/buildroot/output/arm64/build/linux-tools/.stamp_built] Error 2 make: *** [Makefile:27: _all] Error 2
you will need to pick this patch as well:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?i...
With that one applied:
On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels:
Tested-by: Florian Fainelli f.fainelli@gmail.com
Florian
- Naresh
On Wed, Jul 13, 2022 at 03:05:26PM +0530, Naresh Kamboju wrote:
On Wed, 13 Jul 2022 at 04:45, Florian Fainelli f.fainelli@gmail.com wrote:
On 7/12/22 11:37, Greg Kroah-Hartman wrote:
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-rc... 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
perf fails to build with:
I have also noticed perf build failed.
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
In file included from util/intel-pt-decoder/intel-pt-insn-decoder.c:15: util/intel-pt-decoder/../../../arch/x86/lib/insn.c:13:10: fatal error: asm/inat.h: No such file or directory 13 | #include <asm/inat.h> /* __ignore_sync_check__ */ | ^~~~~~~~~~~~ compilation terminated.
Build log: https://builds.tuxbuild.com/2BrKWlDZbrZwQIfxzeMf6fv37sn/
Should now be fixed in the tree, I'll push out a -rc2 so that your build tools will pick it up.
thanks,
greg k-h
On Wed, 13 Jul 2022 at 15:05, Naresh Kamboju naresh.kamboju@linaro.org wrote:
On Wed, 13 Jul 2022 at 04:45, Florian Fainelli f.fainelli@gmail.com wrote:
On 7/12/22 11:37, Greg Kroah-Hartman wrote:
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-rc... 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
Results from Linaro’s test farm. Regressions on x86_64.
Reported-by: Linux Kernel Functional Testing lkft@linaro.org
Kernel panic noticed on x86 while running kvm-unit-tests. - https://lkft.validation.linaro.org/scheduler/job/5280665#L1696
TESTNAME=emulator TIMEOUT=90s ACCEL= ./x86/run x86/emulator.flat -smp 1 [ 62.210623] APIC base relocation is unsupported by KVM [ 104.645616] kvm: emulating exchange as write [ 104.656718] int3: 0000 [#1] SMP PTI [ 104.656719] CPU: 1 PID: 3785 Comm: qemu-system-x86 Not tainted 5.10.131-rc2 #1 [ 104.656719] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.2 05/23/2018 [ 104.656720] RIP: 0010:xaddw_ax_dx+0x9/0x10 [ 104.656720] Code: 00 0f bb d0 c3 cc cc cc cc 48 0f bb d0 c3 cc cc cc cc 0f 1f 80 00 00 00 00 0f c0 d0 c3 cc cc cc cc 66 0f c1 d0 c3 cc cc cc cc <0f> 1f 80 00 00 00 00 0f c1 d0 c3 cc cc cc cc 48 0f c1 d0 c3 cc cc [ 104.656720] RSP: 0018:ffffb823431c7d00 EFLAGS: 00000206 [ 104.656721] RAX: 0000000089abcdef RBX: 0000000000000001 RCX: 0000000000000000 [ 104.656721] RDX: 0000000076543210 RSI: ffffffff91a4d4d0 RDI: 0000000000000204 [ 104.656722] RBP: ffffb823431c7d08 R08: ffff9a578cbaddf0 R09: 0000000000000002 [ 104.656722] R10: ffff9a578cbaddf0 R11: 0000000000000000 R12: ffff9a578cbaddf0 [ 104.656722] R13: ffffffff92e08040 R14: 0000000000000000 R15: 0000000000000000 [ 104.656723] FS: 00007f3f3f53c700(0000) GS:ffff9a58afa80000(0000) knlGS:0000000000000000 [ 104.656723] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 104.656723] CR2: 0000000000000000 CR3: 00000001068b6003 CR4: 00000000003726e0 [ 104.656724] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 104.656724] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 104.656724] Call Trace: [ 104.656724] ? fastop+0x5a/0xa0 [ 104.656725] x86_emulate_insn+0x7c9/0xf20 [ 104.656725] x86_emulate_instruction+0x2ec/0x7b0 [ 104.656725] ? __local_bh_enable_ip+0x48/0x80 [ 104.656725] complete_emulated_mmio+0x238/0x310 [ 104.656726] kvm_arch_vcpu_ioctl_run+0x1799/0x1980 [ 104.656726] ? vfs_writev+0xcb/0x140 [ 104.656726] kvm_vcpu_ioctl+0x243/0x5e0 [ 104.656726] ? selinux_file_ioctl+0xae/0x140 [ 104.656727] ? selinux_file_ioctl+0xae/0x140 [ 104.656727] __x64_sys_ioctl+0x92/0xd0 [ 104.656727] do_syscall_64+0x35/0x50 [ 104.656727] entry_SYSCALL_64_after_hwframe+0x61/0xc6 [ 104.656728] RIP: 0033:0x7f3f40ec68f7 [ 104.656728] Code: b3 66 90 48 8b 05 a1 35 2c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 71 35 2c 00 f7 d8 64 89 01 48 [ 104.656729] RSP: 002b:00007f3f3f53ba28 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 104.656729] RAX: ffffffffffffffda RBX: 000000000000ae80 RCX: 00007f3f40ec68f7 [ 104.656729] RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 000000000000000f [ 104.656730] RBP: 00005624bc6bdaa0 R08: 00005624ba47c450 R09: 00000000ffffffff [ 104.656730] R10: 00000000000ff000 R11: 0000000000000246 R12: 0000000000000000 [ 104.656730] R13: 00007f3f431f6000 R14: 0000000000000006 R15: 00005624bc6bdaa0 [ 104.656731] Modules linked in: x86_pkg_temp_thermal [ 104.900206] ---[ end trace 51088e5987576a23 ]--- [ 104.900206] RIP: 0010:xaddw_ax_dx+0x9/0x10 [ 104.900207] Code: 00 0f bb d0 c3 cc cc cc cc 48 0f bb d0 c3 cc cc cc cc 0f 1f 80 00 00 00 00 0f c0 d0 c3 cc cc cc cc 66 0f c1 d0 c3 cc cc cc cc <0f> 1f 80 00 00 00 00 0f c1 d0 c3 cc cc cc cc 48 0f c1 d0 c3 cc cc [ 104.900207] RSP: 0018:ffffb823431c7d00 EFLAGS: 00000206 [ 104.900207] RAX: 0000000089abcdef RBX: 0000000000000001 RCX: 0000000000000000 [ 104.900208] RDX: 0000000076543210 RSI: ffffffff91a4d4d0 RDI: 0000000000000204 [ 104.900208] RBP: ffffb823431c7d08 R08: ffff9a578cbaddf0 R09: 0000000000000002 [ 104.900208] R10: ffff9a578cbaddf0 R11: 0000000000000000 R12: ffff9a578cbaddf0 [ 104.900209] R13: ffffffff92e08040 R14: 0000000000000000 R15: 0000000000000000 [ 104.900209] FS: 00007f3f3f53c700(0000) GS:ffff9a58afa80000(0000) knlGS:0000000000000000 [ 104.900209] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 104.900210] CR2: 0000000000000000 CR3: 00000001068b6003 CR4: 00000000003726e0 [ 104.900210] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 104.900210] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 104.900211] Kernel panic - not syncing: Fatal exception in interrupt [ 104.900250] Kernel Offset: 0x10a00000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
-- Linaro LKFT https://lkft.linaro.org
On 7/12/22 12:37 PM, Greg Kroah-Hartman wrote:
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-rc... 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
Compiled and booted on my test system. No dmesg regressions.
Tested-by: Shuah Khan skhan@linuxfoundation.org
thanks, -- Shuah
On Tue, 12 Jul 2022 20:37:26 +0200, Greg Kroah-Hartman wrote:
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-rc... 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
All tests passing for Tegra ...
Test results for stable-v5.10: 10 builds: 10 pass, 0 fail 28 boots: 28 pass, 0 fail 75 tests: 75 pass, 0 fail
Linux version: 5.10.131-rc1-g53b881e19526 Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000, tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000, tegra20-ventana, tegra210-p2371-2180, tegra210-p3450-0000, tegra30-cardhu-a04
Tested-by: Jon Hunter jonathanh@nvidia.com
Jon
Hi!
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.
CIP testing did not find any problems here:
https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/tree/linux-5...
Tested-by: Pavel Machek (CIP) pavel@denx.de
Best regards, Pavel
Hi Greg,
On Tue, Jul 12, 2022 at 08:37:26PM +0200, Greg Kroah-Hartman wrote:
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.
Build test (gcc version 11.3.1 20220706): mips: 63 configs -> no failure arm: 104 configs -> no failure arm64: 3 configs -> no failure x86_64: 4 configs -> no failure alpha allmodconfig -> no failure powerpc allmodconfig -> no failure riscv allmodconfig -> no failure s390 allmodconfig -> no failure xtensa allmodconfig -> no failure
Boot test: x86_64: Booted on my test laptop. No regression. x86_64: Booted on qemu. No regression. [1] arm64: Booted on rpi4b (4GB model). No regression. [2]
[1]. https://openqa.qa.codethink.co.uk/tests/1505 [2]. https://openqa.qa.codethink.co.uk/tests/1509
Tested-by: Sudip Mukherjee sudip.mukherjee@codethink.co.uk
-- Regards Sudip