News: 0001652207

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

tlbi= Boot Option Submitted Ahead Of Linux 7.2 Kernel Release

([Linux Kernel] 5 Hours Ago tlbi=ipi)


Ahead of the Linux 7.2 kernel stable release expected to occur in the coming hours, a last minute "x86/urgent" pull request was submitted with one patch for adding the new tlbi= boot option.

The new tlbi= option has been submitted in time for Linux 7.2 stable and also marked for back-porting to stable Linux kernel versions. This option controls the TLB invalidation method and tlbi=ipi is the only option currently honored. Booting the kernel with tlbi=ipi will switch back to IPI-based Transparent Lookaside Buffer (TLB) flushing.

Due to some recently discovered INVLPGB / TLBSYNC issues on AMD CPUs with [1]INVLPGB used for broadcast TLB flushing on recent kernel versions, this option is added to allow developers/administrators to switch back to the old IPI-based TLB flushing in order to rule it out as a potential cause of user-space crashes.

Thus for now this is just a debug option if wanting to rule out any INVLPGB/TLBSYNC issues on your Linux system. In the future it's mentioned it may be extended to support tlbi=broadcast should the current default behavior change.

The patch is pending via the [2]x86/urgent pull request and should be mainlined to the Linux kernel shortly.



[1] https://www.phoronix.com/news/AMD-INVLPGB-Merged-Linux-6.15

[2] https://lore.kernel.org/lkml/20260816163312.GAaoHmSA83tkJ5DKdB@fat_crate.local/



There is no comfort without pain; thus we define salvation through suffering.
-- Cato