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 <[email protected]>
---
drivers/acpi/acpi_pad.c | 1 +
1 file changed, 1 insertion(+)
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.
--
2.17.1
On Tue, Jun 6, 2023 at 11:56 AM Tony W Wang-oc <[email protected]> wrote:
>
> 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 <[email protected]>
> ---
> drivers/acpi/acpi_pad.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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.
> --
Applied as 6.5 material, thanks!