Merge pull request #216 from raja-grewal/spectre_bhi

BHI mitigation on Intel CPUs
This commit is contained in:
Patrick Schleizer 2024-04-12 02:53:08 -04:00 committed by GitHub
commit ab8b6da484
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,3 +75,8 @@ GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX retbleed=auto,nosmt"
##
## https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html
## Enables mitigation of Branch History Injection vulnerabilities on Intel CPUs.
##
## https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2bb69f5fc72183e1c62547d900f560d0e9334925
## TODO: update the above link with better alternative when possible
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX spectre_bhi=on"