Home Home > GIT Browse > SLE15-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2019-06-15 16:12:39 +0200
committerBorislav Petkov <bp@suse.de>2019-06-15 16:12:39 +0200
commit29482a8dfa914b5e2c2390593cf473ea1429679d (patch)
treed79357e79dd2e26b9e0c39fed0e374318704bd36
parent9cfd6b0d3851d50bae5d00e4aec68745a4debe83 (diff)
ACPI: Add Hygon Dhyana support (fate#327735).
-rw-r--r--patches.arch/acpi-add-hygon-dhyana-support.patch48
-rw-r--r--series.conf1
2 files changed, 49 insertions, 0 deletions
diff --git a/patches.arch/acpi-add-hygon-dhyana-support.patch b/patches.arch/acpi-add-hygon-dhyana-support.patch
new file mode 100644
index 0000000000..63485b51f6
--- /dev/null
+++ b/patches.arch/acpi-add-hygon-dhyana-support.patch
@@ -0,0 +1,48 @@
+From: Pu Wen <puwen@hygon.cn>
+Date: Sun, 23 Sep 2018 17:37:05 +0800
+Subject: ACPI: Add Hygon Dhyana support
+Git-commit: 7377ed4bd56e6cc1ddbb63f03626fc5b92d3d6fe
+Patch-mainline: v4.20-rc1
+References: fate#327735
+
+The Hygon Dhyana CPU has NONSTOP TSC feature, so enable the ACPI driver
+support to it.
+
+Signed-off-by: Pu Wen <puwen@hygon.cn>
+Signed-off-by: Borislav Petkov <bp@suse.de>
+Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
+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(+)
+
+--- 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:
+ /*
+--- a/drivers/acpi/processor_idle.c
++++ b/drivers/acpi/processor_idle.c
+@@ -203,6 +203,7 @@ static void lapic_timer_state_broadcast(
+ 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:
+ /*
diff --git a/series.conf b/series.conf
index 409698809d..9d11fc2e87 100644
--- a/series.conf
+++ b/series.conf
@@ -19544,6 +19544,7 @@
patches.arch/x86-mce-add-hygon-dhyana-support-to-the-mca-infrastructure.patch
patches.arch/x86-kvm-add-hygon-dhyana-support-to-kvm.patch
patches.arch/x86-xen-add-hygon-dhyana-support-to-xen.patch
+ patches.arch/acpi-add-hygon-dhyana-support.patch
patches.fixes/0001-x86-xen-Fix-boot-loader-version-reported-for-PVH-gue.patch
patches.arch/x86-kexec-correct-kexec_backup_src_end-off-by-one-error.patch
patches.fixes/resource-include-resource-end-in-walk_-interfaces.patch