CPU mitigation - L1D FLushing

This commit is contained in:
Raja Grewal 2022-07-19 02:32:41 +10:00
parent 8531fbf99d
commit 59e90ff122
No known key found for this signature in database
GPG Key ID: E34A5801947020A5

View File

@ -46,3 +46,8 @@ GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX kvm.nx_huge_pages=force"
##
## https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/special-register-buffer-data-sampling.html
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX srbds=on"
## Enables the prctl interface to prevent leaks from L1D on context switches.
##
## https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1d_flush.html
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX l1d_flush=on"