diff mbox series

ACPI: acpi_pad: mark Zhaoxin CPUs NONSTOP TSC correctly

Message ID 20230606095641.5357-1-TonyWWang-oc@zhaoxin.com
State Accepted
Commit b72f301c5bdce11ef32a7363bdc05edd4fc3b386
Headers show
Series ACPI: acpi_pad: mark Zhaoxin CPUs NONSTOP TSC correctly | expand

Commit Message

Tony W Wang-oc June 6, 2023, 9:56 a.m. UTC
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>
---
 drivers/acpi/acpi_pad.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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.