[GIT PULL] x86/cpu changes for v4.20
From: Ingo Molnar
Date: Tue Oct 23 2018 - 07:36:50 EST
Linus,
Please pull the latest x86-cpu-for-linus git tree from:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-cpu-for-linus
# HEAD: 995d5f64b62f20f05b8e0972f07ec4d6c23333c9 tools/cpupower: Add Hygon Dhyana support
The main changes in this cycle were:
- Add support for the "Dhyana" x86 CPUs by Hygon: these are licensed
based on the AMD Zen architecture, and are built and sold in China,
for domestic datacenter use. The code is pretty close to AMD support,
mostly with a few quirks and enumeration differences. (Pu Wen)
- Enable CPUID support on Cyrix 6x86/6x86L processors.
out-of-topic modifications in x86-cpu-for-linus:
--------------------------------------------------
MAINTAINERS # c9661c1e80b6: x86/cpu: Create Hygon Dhyana
drivers/acpi/acpi_pad.c # 7377ed4bd56e: ACPI: Add Hygon Dhyana suppo
drivers/acpi/processor_idle.c # 7377ed4bd56e: ACPI: Add Hygon Dhyana suppo
drivers/cpufreq/acpi-cpufreq.c # cc9690cfc7a3: cpufreq: Add Hygon Dhyana su
drivers/cpufreq/amd_freq_sensitivity.c# cc9690cfc7a3: cpufreq: Add Hygon Dhyana su
include/linux/pci_ids.h # c6babb5806b7: x86/pci, x86/amd_nb: Add Hyg
tools/power/cpupower/utils/cpufreq-info.c# 995d5f64b62f: tools/cpupower: Add Hygon Dh
tools/power/cpupower/utils/helpers/amd.c# 995d5f64b62f: tools/cpupower: Add Hygon Dh
tools/power/cpupower/utils/helpers/cpuid.c# 995d5f64b62f: tools/cpupower: Add Hygon Dh
tools/power/cpupower/utils/helpers/helpers.h# 995d5f64b62f: tools/cpupower: Add Hygon Dh
tools/power/cpupower/utils/helpers/misc.c# 995d5f64b62f: tools/cpupower: Add Hygon Dh
tools/power/cpupower/utils/idle_monitor/mperf_monitor.c# 995d5f64b62f: tools/cpupower: Add Hygon Dh
Thanks,
Ingo
------------------>
Matthew Whitehead (2):
x86/CPU: Use correct macros for Cyrix calls
x86/CPU: Change query logic so CPUID is enabled before testing
Pu Wen (16):
x86/cpu: Create Hygon Dhyana architecture support file
x86/cpu: Get cache info and setup cache cpumap for Hygon Dhyana
x86/cpu/mtrr: Support TOP_MEM2 and get MTRR number
x86/smpboot: Do not use BSP INIT delay and MWAIT to idle on Dhyana
x86/events: Add Hygon Dhyana support to PMU infrastructure
x86/alternative: Init ideal_nops for Hygon Dhyana
x86/amd_nb: Check vendor in AMD-only functions
x86/pci, x86/amd_nb: Add Hygon Dhyana support to PCI and northbridge
x86/apic: Add Hygon Dhyana support
x86/bugs: Add Hygon Dhyana to the respective mitigation machinery
x86/mce: Add Hygon Dhyana support to the MCA infrastructure
x86/kvm: Add Hygon Dhyana support to KVM
x86/xen: Add Hygon Dhyana support to Xen
ACPI: Add Hygon Dhyana support
cpufreq: Add Hygon Dhyana support
tools/cpupower: Add Hygon Dhyana support
MAINTAINERS | 6 +
arch/x86/Kconfig.cpu | 14 +
arch/x86/events/amd/core.c | 4 +
arch/x86/events/amd/uncore.c | 20 +-
arch/x86/events/core.c | 4 +
arch/x86/include/asm/amd_nb.h | 3 +
arch/x86/include/asm/cacheinfo.h | 1 +
arch/x86/include/asm/kvm_emulate.h | 4 +
arch/x86/include/asm/mce.h | 2 +
arch/x86/include/asm/processor.h | 3 +-
arch/x86/include/asm/virtext.h | 5 +-
arch/x86/kernel/alternative.c | 4 +
arch/x86/kernel/amd_nb.c | 49 ++-
arch/x86/kernel/apic/apic.c | 7 +
arch/x86/kernel/apic/probe_32.c | 1 +
arch/x86/kernel/cpu/Makefile | 1 +
arch/x86/kernel/cpu/bugs.c | 4 +-
arch/x86/kernel/cpu/cacheinfo.c | 31 +-
arch/x86/kernel/cpu/common.c | 5 +-
arch/x86/kernel/cpu/cpu.h | 1 +
arch/x86/kernel/cpu/cyrix.c | 2 +-
arch/x86/kernel/cpu/hygon.c | 408 +++++++++++++++++++++
arch/x86/kernel/cpu/mcheck/mce-severity.c | 3 +-
arch/x86/kernel/cpu/mcheck/mce.c | 20 +-
arch/x86/kernel/cpu/mtrr/cleanup.c | 3 +-
arch/x86/kernel/cpu/mtrr/mtrr.c | 2 +-
arch/x86/kernel/cpu/perfctr-watchdog.c | 2 +
arch/x86/kernel/smpboot.c | 4 +-
arch/x86/kvm/emulate.c | 11 +-
arch/x86/pci/amd_bus.c | 6 +-
arch/x86/xen/pmu.c | 12 +-
drivers/acpi/acpi_pad.c | 1 +
drivers/acpi/processor_idle.c | 1 +
drivers/cpufreq/acpi-cpufreq.c | 5 +
drivers/cpufreq/amd_freq_sensitivity.c | 9 +-
include/linux/pci_ids.h | 2 +
tools/power/cpupower/utils/cpufreq-info.c | 6 +-
tools/power/cpupower/utils/helpers/amd.c | 4 +-
tools/power/cpupower/utils/helpers/cpuid.c | 8 +-
tools/power/cpupower/utils/helpers/helpers.h | 2 +-
tools/power/cpupower/utils/helpers/misc.c | 2 +-
.../cpupower/utils/idle_monitor/mperf_monitor.c | 3 +-
42 files changed, 635 insertions(+), 50 deletions(-)
create mode 100644 arch/x86/kernel/cpu/hygon.c