x86: NOMWAIT HLT C1 as the default idle state at hygon platform.
For performance considerations, the hygon platform defaults to using HLT as the C1 state. Signed-off-by: yuehognwu yuehongwu@tencent.com Reviewed-by: caelli caelli@tencent.com Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
This commit is contained in:
parent
9d1d946a72
commit
949978bef2
|
@ -822,6 +822,9 @@ void __init setup_arch(char **cmdline_p)
|
|||
*/
|
||||
x86_configure_nx();
|
||||
|
||||
if (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON)
|
||||
boot_option_idle_override = IDLE_NOMWAIT;
|
||||
|
||||
parse_early_param();
|
||||
|
||||
if (efi_enabled(EFI_BOOT))
|
||||
|
|
Loading…
Reference in New Issue