Remove the option to reduce the MCE tolerance level

This commit is contained in:
raja-grewal 2025-11-15 06:30:11 +00:00 committed by GitHub
parent 9f897c5ccd
commit 29176d2ed2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 22 deletions

View file

@ -161,25 +161,6 @@ GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX debugfs=off"
##
#GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX panic=-1"
## Reduce the Machine Check Exception (MCE) handler tolerance level.
## Machine checks report internal hardware error conditions detected by the CPU.
## Force the kernel to always panic on any uncorrected errors.
## Improves security using ECC memory against vulnerabilities like Rowhammer.
## Note current x86 CPUs generally do not allow recovery from MCEs.
## Must first be tested to ensure there are no pre-existing issues on user hardware.
## The default kernel setting should be utilized until provided sufficient evidence to modify.
##
## https://www.kernel.org/doc/html/latest/arch/x86/x86_64/machinecheck.html
## https://www.kernel.org/doc/Documentation/x86/x86_64/boot-options.txt
## https://www.kernel.org/doc/Documentation/x86/x86_64/machinecheck
## https://en.wikipedia.org/wiki/Machine-check_exception#Linux
## https://groups.google.com/g/rowhammer-discuss/c/9Vgso6u2GP0
## https://forums.whonix.org/t/kernel-hardening/7296/494
##
## Note that this must be used with panic=-1 for it to function as intended.
##
#GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX mce=0"
## Prevent sensitive kernel information leaks in the console during boot.
## Must be used in combination with the kernel.printk sysctl.
## See /usr/lib/sysctl.d/30_silent-kernel-printk.conf for implementation.