From 7377ed4bd56e6cc1ddbb63f03626fc5b92d3d6fe Mon Sep 17 00:00:00 2001 From: Pu Wen Date: Sun, 23 Sep 2018 17:37:05 +0800 Subject: ACPI: Add Hygon Dhyana support The Hygon Dhyana CPU has NONSTOP TSC feature, so enable the ACPI driver support to it. Signed-off-by: Pu Wen Signed-off-by: Borislav Petkov Acked-by: Rafael J. Wysocki Cc: rjw@rjwysocki.net Cc: tglx@linutronix.de Cc: mingo@redhat.com Cc: hpa@zytor.com Cc: x86@kernel.org Cc: thomas.lendacky@amd.com Cc: lenb@kernel.org Cc: rafael@kernel.org Cc: linux-acpi@vger.kernel.org Link: https://lkml.kernel.org/r/cce6ee26f4e2ebbab493433264d89d7cea661284.1537533369.git.puwen@hygon.cn --- 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 552c1f725b6c..a47676a55b84 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 abb559cd28d7..b2131c4ea124 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: -- cgit v1.2.3 1000?id=0e774888675d7ec693379a228490ce611135cbc2&follow=1'>diffstats
AgeCommit message (Expand)AuthorFilesLines
2017-05-21Linux 4.12-rc2v4.12-rc2Linus Torvalds1-1/+1
2017-05-21x86: fix 32-bit case of __get_user_asm_u64()Linus Torvalds1-3/+3
2017-05-21Clean up x86 unsafe_get/put_user() type handlingLinus Torvalds1-2/+3
2017-05-21osf_wait4(): fix infoleakAl Viro1-2/+4
2017-05-21fix unsafe_put_user()Al Viro1-1/+1
2017-05-20nvmet: release the sq ref on rdma read errorsVijay Immanuel3-0/+8
2017-05-20nvmet-fc: remove target cpu scheduling flagJames Smart4-15/+3
2017-05-20nvme-fc: stop queues on error detectionJames Smart1-0/+4
2017-05-20nvme-fc: require target or discovery role for fc-nvme targetsJames Smart1-0/+6
2017-05-20nvme-fc: correct port role bitsJames Smart1-2/+2
2017-05-20nvme: unmap CMB and remove sysfs file in reset pathJon Derrick1-1/+6
2017-05-19KVM: x86: prevent uninitialized variable warning in check_svme()Radim Krčmář1-1/+1
2017-05-19KVM: x86/vPMU: fix undefined shift in intel_pmu_refresh()Radim Krčmář1-1/+1
2017-05-19KVM: x86: zero base3 of unusable segmentsRadim Krčmář1-0/+2
2017-05-19KVM: X86: Fix read out-of-bounds vulnerability in kvm pio emulationWanpeng Li1-9/+15
2017-05-19KVM: x86: Fix potential preemption when get the current kvmclock timestampWanpeng Li1-1/+9
2017-05-19blktrace: fix integer parseShaohua Li1-2/+2
2017-05-19i2c: designware: don't infer timings described by ACPI from clock rateArd Biesheuvel1-8/+10
2017-05-19arm64: dts: rockchip: fix include referenceArnd Bergmann1-1/+1
2017-05-19watchdog: bcm281xx: Fix use of uninitialized spinlock.Eric Anholt1-1/+2
2017-05-19watchdog: zx2967: remove redundant dev_err call in zx2967_wdt_probe()Wei Yongjun1-3/+1
2017-05-19iTCO_wdt: all versions count down twicePaolo Bonzini2-13/+11
2017-05-19firmware: ti_sci: fix strncat length checkArnd Bergmann1-1/+2
2017-05-19ARM: remove duplicate 'const' annotations'Arnd Bergmann6-6/+6
2017-05-19arm64: defconfig: enable options needed for QCom DB410c boardRob Herring1-0/+7
2017-05-18arm64: defconfig: sync with savedefconfigRob Herring1-61/+42