summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorTony W Wang-oc <TonyWWang-oc@zhaoxin.com>2023-06-06 11:56:41 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-06-12 19:25:55 +0200
commitb72f301c5bdce11ef32a7363bdc05edd4fc3b386 (patch)
treeef2a8dbf1bfe55e235128eb4349271412c98c998 /drivers/acpi
parentLinux 6.4-rc6 (diff)
downloadlinux-b72f301c5bdce11ef32a7363bdc05edd4fc3b386.tar.xz
linux-b72f301c5bdce11ef32a7363bdc05edd4fc3b386.zip
ACPI: PAD: mark Zhaoxin CPUs NONSTOP TSC correctly
Zhaoxin CPUs support NONSTOP TSC feature, so do not mark these CPUs TSC unstable when use the acpi_pad driver. Signed-off-by: Tony W Wang-oc <TonyWWang-oc@zhaoxin.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/acpi_pad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c
index 02f1a1b1143c..7a453c5ff303 100644
--- a/drivers/acpi/acpi_pad.c
+++ b/drivers/acpi/acpi_pad.c
@@ -66,6 +66,7 @@ static void power_saving_mwait_init(void)
case X86_VENDOR_AMD:
case X86_VENDOR_INTEL:
case X86_VENDOR_ZHAOXIN:
+ case X86_VENDOR_CENTAUR:
/*
* AMD Fam10h TSC will tick in all
* C/P/S0/S1 states when this bit is set.