aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_idle.c
diff options
context:
space:
mode:
authorTony W Wang-oc <[email protected]>2019-06-18 08:37:14 +0000
committerThomas Gleixner <[email protected]>2019-06-22 09:45:57 +0000
commit773b2f30a3fc026f3ed121a8b945b0ae19b64ec5 (patch)
treeb6668a0db1a9851f371458734d5c798b97300ec1 /drivers/acpi/processor_idle.c
parentx86/cpu: Create Zhaoxin processors architecture support file (diff)
downloadkernel-773b2f30a3fc026f3ed121a8b945b0ae19b64ec5.tar.gz
kernel-773b2f30a3fc026f3ed121a8b945b0ae19b64ec5.zip
ACPI, x86: Add Zhaoxin processors support for NONSTOP TSC
Zhaoxin CPUs have NONSTOP TSC feature, so enable the ACPI driver support for it. Signed-off-by: Tony W Wang-oc <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: "[email protected]" <[email protected]> Cc: "[email protected]" <[email protected]> Cc: "[email protected]" <[email protected]> Cc: "[email protected]" <[email protected]> Cc: David Wang <[email protected]> Cc: "Cooper Yan(BJ-RD)" <[email protected]> Cc: "Qiyuan Wang(BJ-RD)" <[email protected]> Cc: "Herry Yang(BJ-RD)" <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r--drivers/acpi/processor_idle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index e387a258d649..ed56c6d20b08 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -196,6 +196,7 @@ static void tsc_check_state(int state)
case X86_VENDOR_AMD:
case X86_VENDOR_INTEL:
case X86_VENDOR_CENTAUR:
+ case X86_VENDOR_ZHAOXIN:
/*
* AMD Fam10h TSC will tick in all
* C/P/S0/S1 states when this bit is set.