[GIT PULL] RAS changes for v5.3

From: Ingo Molnar
Date: Mon Jul 08 2019 - 05:51:09 EST


Linus,

Please pull the latest ras-core-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git ras-core-for-linus

# HEAD: 6e4f929ea8b2097b0052f6674de839a3c9d477e9 x86/mce: Do not check return value of debugfs_create functions

Boris is on vacation so I'm sending the RAS bits this time. The main
changes were:

- Various RAS/CEC improvements and fixes by Borislav Petkov:
- error insertion fixes
- offlining latency fix
- memory leak fix
- additional sanity checks
- cleanups
- debug output improvements

- More SMCA enhancements by Yazen Ghannam:

- make banks truly per-CPU which they are in the hardware,
- don't over-cache certain registers,
- make the number of MCA banks per-CPU variable.

The long term goal with these changes is to support future
heterogenous SMCA extensions.

- Misc fixes and improvements.

Thanks,

Ingo

------------------>
Borislav Petkov (8):
RAS/CEC: Fix pfn insertion
RAS/CEC: Check count_threshold unconditionally
RAS/CEC: Do not set decay value on error
RAS/CEC: Fix potential memory leak
RAS/CEC: Sanity-check array on every insertion
RAS/CEC: Rename count_threshold to action_threshold
RAS/CEC: Dump the different array element sections
RAS/CEC: Add copyright

Greg Kroah-Hartman (1):
x86/mce: Do not check return value of debugfs_create functions

Tony Luck (1):
RAS/CEC: Add CONFIG_RAS_CEC_DEBUG and move CEC debug features there

Yazen Ghannam (5):
x86/MCE: Make struct mce_banks[] static
x86/MCE: Make mce_banks a per-CPU array
x86/MCE/AMD: Don't cache block addresses on SMCA systems
x86/MCE: Make the number of MCA banks a per-CPU variable
x86/MCE: Determine MCA banks' init state properly


arch/x86/kernel/cpu/mce/amd.c | 92 +++++++++----------
arch/x86/kernel/cpu/mce/core.c | 177 +++++++++++++++++++++++++------------
arch/x86/kernel/cpu/mce/inject.c | 37 ++------
arch/x86/kernel/cpu/mce/internal.h | 12 +--
arch/x86/kernel/cpu/mce/severity.c | 14 +--
arch/x86/ras/Kconfig | 10 +++
drivers/ras/cec.c | 132 ++++++++++++++++-----------
7 files changed, 269 insertions(+), 205 deletions(-)