lkml.org 
[lkml]   [2018]   [Aug]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v3 14/17] driver/acpi: enable Hygon support to ACPI driver
On Sat, Aug 11, 2018 at 3:36 PM Pu Wen <puwen@hygon.cn> wrote:
>
> For Dhyana processors have NONSTOP TSC feature, so enable the support
> to ACPI driver.
>
> Signed-off-by: Pu Wen <puwen@hygon.cn>

This patch is fine by me, but I'm assuming that the series will be
handled as a whole, so

Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

> ---
> drivers/acpi/acpi_pad.c | 1 +
> drivers/acpi/processor_idle.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/drivers/acpi/acpi_pad.c b/drivers/acpi/acpi_pad.c
> index 552c1f7..a47676a 100644
> --- a/drivers/acpi/acpi_pad.c
> +++ b/drivers/acpi/acpi_pad.c
> @@ -70,6 +70,7 @@ static void power_saving_mwait_init(void)
>
> #if defined(CONFIG_X86)
> switch (boot_cpu_data.x86_vendor) {
> + case X86_VENDOR_HYGON:
> case X86_VENDOR_AMD:
> case X86_VENDOR_INTEL:
> /*
> diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
> index abb559c..b2131c4 100644
> --- a/drivers/acpi/processor_idle.c
> +++ b/drivers/acpi/processor_idle.c
> @@ -205,6 +205,7 @@ static void lapic_timer_state_broadcast(struct acpi_processor *pr,
> static void tsc_check_state(int state)
> {
> switch (boot_cpu_data.x86_vendor) {
> + case X86_VENDOR_HYGON:
> case X86_VENDOR_AMD:
> case X86_VENDOR_INTEL:
> case X86_VENDOR_CENTAUR:
> --
> 2.7.4
>

\
 
 \ /
  Last update: 2018-08-12 12:14    [W:0.194 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site