linux/arch/x86
Rik van Riel abe7c8b09b x86/CPU: Add a tlbi= cmdline switch
With the recently found INVLPGB / TLBSYNC issue, there has been some
interest in disabling INVLPGB-based TLB flushing, in order to rule out
that CPU issue as a cause of userspace crashes.

Add a kernel command line option to control the TLB flushing behavior.

If the need arises, we will add a "tlbi=broadcast" for the case when TLB
invalidation broadcasts need to be explicitly selected, but this is not
needed now yet.

  [ bp: Rewrite commit message, move to cpu/common.c, add documentation. ]

Fixes: 767ae437a3 ("x86/mm: Add INVLPGB feature and Kconfig entry")
Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Rik van Riel <riel@surriel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: <stable@kernel.org>
Link: https://patch.msgid.link/20260729204341.3eb0b5ea@fangorn
2026-08-10 07:09:18 -07:00
..
boot x86/boot: Add volatile, clobbers and zero-length test in memcmp() 2026-07-28 16:32:44 -07:00
coco - Remove redundant GHCB initialization guards in the SEV page state and SVSM 2026-06-16 05:57:30 +05:30
configs x86/64/defconfig: Add CONFIG_IRQ_REMAP 2026-03-10 19:01:37 +01:00
crypto This update includes the following changes: 2026-04-15 15:22:26 -07:00
entry x86/bugs: Make Safe-RET robust against interrupt injection 2026-07-26 07:21:37 -07:00
events perf/x86/amd/brs: Fix kernel address leakage 2026-07-11 12:19:28 +02:00
hyperv hyperv-next for v7.2-rc1 2026-06-22 08:06:13 -07:00
ia32
include s390: 2026-08-07 07:41:40 -07:00
kernel x86/CPU: Add a tlbi= cmdline switch 2026-08-10 07:09:18 -07:00
kvm KVM: x86/mmu: WARN and clear role.invalid when creating a child shadow page 2026-08-07 09:26:45 +02:00
lib x86/bugs: Make Safe-RET robust against interrupt injection 2026-07-26 07:21:37 -07:00
mm mm.git review status for mm-hotfixes-stable..mm-stable 2026-06-19 10:14:34 -07:00
net bpf: Restrict JIT predictor flush to cBPF 2026-07-01 10:33:38 +02:00
pci treewide: Explicitly include the x86 CPUID headers 2026-05-06 14:29:59 +02:00
platform gpio fixes for v7.2-rc1 2026-06-25 09:33:23 -07:00
power PM: hibernate: x86: Remove inclusion of crypto/hash.h 2026-03-19 16:13:32 +01:00
purgatory
ras
realmode x86/realmode: Make the location of the trampoline configurable 2026-05-28 20:01:25 +00:00
tools x86/vdso: Prepare for robust futex unlock support 2026-06-03 11:38:52 +02:00
um Mostly cleanups and small things, notably: 2026-04-20 16:36:46 -07:00
video x86/video: Only fall back to vga_default_device() without screen info 2026-07-07 08:14:55 -07:00
virt x86/virt/sev: Revert "Drop WBINVD before setting MSR_AMD64_SYSCFG_SNP_EN" 2026-07-07 09:11:17 -07:00
xen x86/Xen: correct commentary and parameter naming of xen_exchange_memory() 2026-07-02 08:14:47 +02:00
.gitignore
Kbuild
Kconfig x86/platform/geode: reference the real node of the cs5535 GPIO controller 2026-06-19 10:52:09 +02:00
Kconfig.assembler
Kconfig.cpu - The usual pile of cleanups and fixlets the cat dragged in 2026-06-16 05:41:22 +05:30
Kconfig.cpufeatures x86/cpu: Make CONFIG_X86_CX8 unconditional 2026-06-11 10:25:40 +02:00
Kconfig.debug
Makefile x86/cpu updates for v7.2: 2026-06-15 15:25:17 +05:30
Makefile_32.cpu x86/cpu, cpufreq: Remove AMD ELAN support 2026-05-08 07:34:03 +02:00
Makefile.um rust: kasan/kbuild: fix rustc-option when cross-compiling 2026-05-26 09:44:54 +02:00