sonic-buildimage/installer
Xichen96 a5e180552f
add processor.max_cstate=0 to intel cpu cmdline (#16339)
Why I did it
This is a fix for PR [kernel] Change grub cmdline to set c-states to 0 for "Intel" CPUs by shlomibitton · Pull Request #6051 · sonic-net/sonic-buildimage (github.com)

The original PR will disable intel idle driver but it cannot limit the max c-state to 1 due to system will fall back to acpi idle driver.

Currently intel_idle.max_cstate=0 is already present, which will disable intel idle driver. With the added option, common idle driver will be disabled as well, so there will not be idle management. This is to prevent a bug that can be triggered by idle instruction on intel platform.

How I did it
Add the option to installer file beside intel_idle.max_cstate=0
2023-08-31 08:47:46 -07:00
..
tests [arm] Refactor installer and build to allow arm builds targeted at grub platforms (#11341) 2022-07-12 15:00:57 -07:00
default_platform.conf add processor.max_cstate=0 to intel cpu cmdline (#16339) 2023-08-31 08:47:46 -07:00
install.sh Support FIPS DB configuration (#15632) 2023-07-28 16:54:02 +08:00
sharch_body.sh Add support for secure upgrade (#11862) 2023-06-26 12:04:40 +03:00