bianbu-linux-6.6/arch/x86
Johannes Wikner c04670dffb x86/bugs: Do not use UNTRAIN_RET with IBPB on entry
commit c62fa117c32bd1abed9304c58e0da6940f8c7fc2 upstream.

Since X86_FEATURE_ENTRY_IBPB will invalidate all harmful predictions
with IBPB, no software-based untraining of returns is needed anymore.
Currently, this change affects retbleed and SRSO mitigations so if
either of the mitigations is doing IBPB and the other one does the
software sequence, the latter is not needed anymore.

  [ bp: Massage commit message. ]

Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Johannes Wikner <kwikner@ethz.ch>
Cc: <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-10-22 15:46:26 +02:00
..
boot x86/boot: Don't add the EFI stub to targets, again 2024-06-21 14:38:37 +02:00
coco x86/tdx: Fix "in-kernel MMIO" check 2024-10-04 16:30:05 +02:00
configs - The first, cleanup part of the microcode loader reorg tglx has been 2023-08-28 15:55:20 -07:00
crypto crypto: x86/sha256 - Add parentheses around macros' single arguments 2024-10-10 11:57:21 +02:00
entry x86/entry: Have entry_ibpb() invalidate return predictions 2024-10-22 15:46:26 +02:00
events perf,x86: avoid missing caller address in stack traces captured in uprobe 2024-10-10 11:57:36 +02:00
hyperv x86/hyperv: fix kexec crash due to VP assist page corruption 2024-09-18 19:24:07 +02:00
ia32
include x86/cpufeatures: Add a IBPB_NO_RET BUG flag 2024-10-22 15:46:26 +02:00
kernel x86/bugs: Do not use UNTRAIN_RET with IBPB on entry 2024-10-22 15:46:26 +02:00
kvm KVM: x86: Move x2APIC ICR helper above kvm_apic_write_nodecode() 2024-10-04 16:29:47 +02:00
lib x86/kmsan: Fix hook for unaligned accesses 2024-09-12 11:11:29 +02:00
math-emu x86/fpu: Include asm/fpu/regset.h 2023-05-18 11:56:18 -07:00
mm x86/mm: Use IPIs to synchronize LAM enablement 2024-10-04 16:29:04 +02:00
net bpf, x64: Fix a jit convergence issue 2024-10-17 15:24:15 +02:00
pci x86/PCI: Check pcie_find_root_port() return for NULL 2024-10-04 16:29:29 +02:00
platform x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos 2024-08-03 08:53:21 +02:00
power mm/treewide: replace pud_large() with pud_leaf() 2024-04-10 16:35:46 +02:00
purgatory x86/purgatory: Switch to the position-independent small code model 2024-06-12 11:11:43 +02:00
ras
realmode x86/realmode: Make stack lock work in trampoline_compat() 2023-05-30 14:11:47 +02:00
tools x86/boot: Ignore relocations in .notes sections in walk_relocs() too 2024-06-12 11:11:36 +02:00
um um: Fix the -Wmissing-prototypes warning for get_thread_reg 2024-06-12 11:12:42 +02:00
video Merge drm/drm-next into drm-misc-next 2023-07-24 15:44:47 +02:00
virt/vmx/tdx
xen xen: allow mapping ACPI data using a different physical address 2024-10-04 16:29:43 +02:00
.gitignore
Kbuild
Kconfig cpu: Ignore "mitigations" kernel parameter if CPU_MITIGATIONS=n 2024-06-12 11:11:24 +02:00
Kconfig.assembler x86/kconfig: Add as-instr64 macro to properly evaluate AS_WRUSS 2024-08-03 08:53:21 +02:00
Kconfig.cpu x86/Kconfig: Transmeta Crusoe is CPU family 5, not 6 2024-02-23 09:25:10 +01:00
Kconfig.debug x86/kconfig: Select ARCH_WANT_FRAME_POINTERS again when UNWINDER_FRAME_POINTER=y 2024-06-12 11:12:46 +02:00
Makefile kbuild: unify vdso_install rules 2024-06-12 11:12:32 +02:00
Makefile.postlink x86/build: Avoid relocation information in final vmlinux 2023-06-14 19:54:40 +02:00
Makefile.um um: Only disable SSE on clang to work around old GCC bugs 2023-04-04 09:57:05 +02:00
Makefile_32.cpu