[GIT PULL] x86/cpu changes for v5.4

From: Ingo Molnar
Date: Mon Sep 16 2019 - 08:53:34 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: 0cc5359d8fd45bc410906e009117e78e2b5b2322 x86/cpu: Update init data for new Airmont CPU model

The changes in this cycle were:

- Rework the Intel model names symbols/macros, which were decades of
ad-hoc extensions and added random noise. It's now a coherent, easy to
follow nomenclature.

- Add new Intel CPU model IDs:
- "Tiger Lake" desktop and mobile models,
- "Elkhart Lake" model ID,
- and the "Lightning Mountain" variant of Airmont, plus support code.

- Add the new AVX512_VP2INTERSECT instruction to cpufeatures

- Remove Intel MPX user-visible APIs and the self-tests, because the
toolchain (gcc) is not supporting it going forward. This is the first,
lowest-risk phase of MPX removal.

- Remove X86_FEATURE_MFENCE_RDTSC.

- Various smaller cleanups and fixes.

Thanks,

Ingo

------------------>
Borislav Petkov (1):
x86/msr-index: Move AMD MSRs where they belong

Cao Jin (1):
x86/cpufeature: Explain the macro duplication

Dave Hansen (3):
x86/mpx: Remove selftests Makefile entry
x86/mpx: Remove selftests themselves
x86/mpx: Remove MPX APIs

Gayatri Kammela (4):
cpu/cpuid-deps: Add a tab to cpuid dependent features
x86/cpufeatures: Enable a new AVX512 CPU feature
x86/cpu: Add Tiger Lake to Intel family
x86/cpu: Add Elkhart Lake to Intel family

Jisheng Zhang (1):
x86/ftrace: Remove mcount() declaration

Josh Poimboeuf (1):
x86: Remove X86_FEATURE_MFENCE_RDTSC

Krzysztof Wilczynski (1):
x86/PCI: Remove superfluous returns from void functions

Marco Ammon (1):
x86: Correct misc typos

Mark Rutland (1):
lib: Remove redundant ftrace flag removal

Masahiro Yamada (1):
x86/bitops: Use __builtin_constant_p() directly instead of IS_IMMEDIATE()

Nikolas Nyby (1):
x86/crash: Remove unnecessary comparison

Peter Zijlstra (5):
x86/intel: Aggregate big core client naming
x86/intel: Aggregate big core mobile naming
x86/intel: Aggregate big core graphics naming
x86/intel: Aggregate microserver naming
x86/intel: Add common OPTDIFFs

Pingfan Liu (1):
x86/realmode: Remove trampoline_status

Rahul Tanwar (3):
x86/cpu: Use constant definitions for CPU models
x86/cpu: Add new Airmont variant to Intel family
x86/cpu: Update init data for new Airmont CPU model


arch/x86/events/intel/core.c | 74 +-
arch/x86/events/intel/cstate.c | 40 +-
arch/x86/events/intel/pt.c | 6 +-
arch/x86/events/intel/rapl.c | 28 +-
arch/x86/events/intel/uncore.c | 28 +-
arch/x86/events/msr.c | 26 +-
arch/x86/include/asm/barrier.h | 3 +-
arch/x86/include/asm/bitops.h | 7 +-
arch/x86/include/asm/cpufeature.h | 7 +
arch/x86/include/asm/cpufeatures.h | 2 +-
arch/x86/include/asm/intel-family.h | 60 +-
arch/x86/include/asm/msr-index.h | 13 +-
arch/x86/include/asm/msr.h | 3 +-
arch/x86/include/asm/realmode.h | 1 -
arch/x86/include/asm/text-patching.h | 4 +-
arch/x86/kernel/alternative.c | 6 +-
arch/x86/kernel/apic/apic.c | 20 +-
arch/x86/kernel/cpu/amd.c | 21 +-
arch/x86/kernel/cpu/bugs.c | 18 +-
arch/x86/kernel/cpu/common.c | 5 +-
arch/x86/kernel/cpu/cpuid-deps.c | 97 +-
arch/x86/kernel/cpu/hygon.c | 21 +-
arch/x86/kernel/cpu/intel.c | 31 +-
arch/x86/kernel/cpu/mce/intel.c | 2 +-
arch/x86/kernel/crash.c | 2 -
arch/x86/kernel/kprobes/opt.c | 2 +-
arch/x86/kernel/quirks.c | 4 -
arch/x86/kernel/smpboot.c | 5 -
arch/x86/kernel/tsc.c | 2 +-
arch/x86/kernel/tsc_msr.c | 5 +
arch/x86/realmode/rm/header.S | 1 -
arch/x86/realmode/rm/trampoline_32.S | 3 -
arch/x86/realmode/rm/trampoline_64.S | 3 -
arch/x86/realmode/rm/trampoline_common.S | 4 -
drivers/acpi/x86/utils.c | 4 +-
drivers/cpufreq/intel_pstate.c | 26 +-
drivers/edac/i10nm_base.c | 4 +-
drivers/edac/pnd2_edac.c | 2 +-
drivers/edac/sb_edac.c | 2 +-
drivers/idle/intel_idle.c | 28 +-
drivers/platform/x86/intel_pmc_core.c | 12 +-
drivers/platform/x86/intel_pmc_core_pltdrv.c | 12 +-
drivers/powercap/intel_rapl_common.c | 32 +-
include/uapi/linux/prctl.h | 2 +-
kernel/sys.c | 16 +-
lib/Makefile | 4 -
tools/arch/x86/include/asm/cpufeatures.h | 1 -
tools/power/x86/turbostat/turbostat.c | 130 +--
tools/testing/selftests/x86/Makefile | 2 +-
tools/testing/selftests/x86/mpx-debug.h | 15 -
tools/testing/selftests/x86/mpx-dig.c | 497 --------
tools/testing/selftests/x86/mpx-hw.h | 124 --
tools/testing/selftests/x86/mpx-mini-test.c | 1613 --------------------------
tools/testing/selftests/x86/mpx-mm.h | 10 -
54 files changed, 394 insertions(+), 2696 deletions(-)
delete mode 100644 tools/testing/selftests/x86/mpx-debug.h
delete mode 100644 tools/testing/selftests/x86/mpx-dig.c
delete mode 100644 tools/testing/selftests/x86/mpx-hw.h
delete mode 100644 tools/testing/selftests/x86/mpx-mini-test.c
delete mode 100644 tools/testing/selftests/x86/mpx-mm.h