280b68a3b3
Hygon systems support the MONITOR/MWAIT instructions and these can be used for ACPI C1 in the same way as on AMD and Intel systems. The BIOS declares a C1 state in _CST to use FFH and CPUID_Fn00000005_EDX is non-zero on Hygon systems. Allow ffh_cstate_init() to succeed on Hygon systems to default using FFH MWAIT instead of HALT for ACPI C1. Signed-off-by: Pu Wen <puwen@hygon.cn> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210528081417.31474-1-puwen@hygon.cn |
||
---|---|---|
.. | ||
apei.c | ||
boot.c | ||
cppc_msr.c | ||
cstate.c | ||
Makefile | ||
sleep.c | ||
sleep.h | ||
wakeup_32.S | ||
wakeup_64.S |