Skip to content

x86/RAS queue for 4.3

Borislav Petkov lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13x86/mce: Reuse one of the u16 padding fields in struct mcearch/x86/include/uapi/asm/mce.h+2 -10 replies
2/13x86/mce: Provide a lockless memory pool to save error recordsarch/x86/Kconfig arch/x86/kernel/cpu/mcheck/Makefile arch/x86/kernel/cpu/mcheck/mce-genpool.c +2 more+120 -20 replies
3/13x86/mce: Don't use percpu workqueuesarch/x86/kernel/cpu/mcheck/mce.c+7 -70 replies
4/13x86/mce: Remove the MCE ring for Action Optional errorsarch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce.c drivers/acpi/acpi_extlog.c +3 more+65 -800 replies
5/13x86/mce: Avoid potential deadlock due to printk() in MCE contextarch/x86/kernel/cpu/mcheck/mce-apei.c arch/x86/kernel/cpu/mcheck/mce.c arch/x86/kernel/cpu/mcheck/mce_intel.c+2 -40 replies
6/13x86/mce: Kill drain_mcelog_buffer()arch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce.c drivers/acpi/acpi_extlog.c +3 more+7 -470 replies
7/13x86/mce: Remove unused function declarationsarch/x86/include/asm/mce.h+0 -40 replies
8/13x86/mce: Clear Local MCE opt-in before kexecarch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce.c arch/x86/kernel/cpu/mcheck/mce_intel.c +2 more+56 -10 replies
9/13x86/mce: Reenable CMCI banks when swiching back to interrupt modearch/x86/kernel/cpu/mcheck/mce_intel.c+23 -180 replies
10/13RAS: Add a menuconfig option with descriptive textdrivers/ras/Kconfig+32 -20 replies
11/13x86/mce: Rename rcu_dereference_check_mce() to mce_log_get_idx_check()arch/x86/kernel/cpu/mcheck/mce.c+4 -40 replies
12/13x86/mce: Add a wrapper around mce_log() for injectionarch/x86/kernel/cpu/mcheck/mce-internal.h arch/x86/kernel/cpu/mcheck/mce.c+10 -00 replies
13/13x86/ras: Move AMD MCE injector to arch/x86/ras/arch/x86/Makefile arch/x86/ras/Kconfig arch/x86/ras/Makefile +4 more+21 -140 replies

Reviews trailers per patch

1 of 13 patches has a Reviewed-by or Acked-by.

PatchPaul E. McKenney
1/13
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13
10/13
11/13A-b
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/13] x86/RAS queue for 4.3

From: Borislav Petkov <[email protected]>

Hi Ingo,

here's the reworked RAS queue. 1-8 are the ones which Tony already sent you. They, esp. 5/13 and the ones leading up to it deal with printk'ing from #MC context. We're basically switching to lockless gen_pool for that.

Patch 9 is a fix for correctable errors polling (CMCI) where the CMCI interrupt doesn't get reenabled. This has been this way since 3.15 thus the stable tag. You might want to queue it to x86/urgent, if possible.

The rest is small cleanups and moving the MCE injector to arch/x86/ras/. This will be even more useful later when we start cleaning up the error decoding paths and need a quick way to inject errors.

Please queue for 4.3.

Thanks.

Ashok Raj (2):
x86/mce: Remove unused function declarations
x86/mce: Clear Local MCE opt-in before kexec

Borislav Petkov (6):
x86/mce: Reuse one of the u16 padding fields in struct mce x86/mce: Kill drain_mcelog_buffer()
RAS: Add a menuconfig option with descriptive text x86/mce: Rename rcu_dereference_check_mce() to mce_log_get_idx_check() x86/mce: Add a wrapper around mce_log() for injection x86/ras: Move AMD MCE injector to arch/x86/ras/

Chen, Gong (4):
x86/mce: Provide a lockless memory pool to save error records x86/mce: Don't use percpu workqueues
x86/mce: Remove the MCE ring for Action Optional errors x86/mce: Avoid potential deadlock due to printk() in MCE context

Xie XiuQi (1):
x86/mce: Reenable CMCI banks when swiching back to interrupt mode

 arch/x86/Kconfig                             |   1 +
 arch/x86/Makefile                            |   2 +
 arch/x86/include/asm/mce.h                   |   8 +-
 arch/x86/include/uapi/asm/mce.h              |   3 +-
 arch/x86/kernel/cpu/mcheck/Makefile          |   2 +-
 arch/x86/kernel/cpu/mcheck/mce-apei.c        |   1 -
 arch/x86/kernel/cpu/mcheck/mce-genpool.c     |  99 ++++++++++++
 arch/x86/kernel/cpu/mcheck/mce-internal.h    |  14 ++
 arch/x86/kernel/cpu/mcheck/mce.c             | 231 +++++++++++++--------------
 arch/x86/kernel/cpu/mcheck/mce_intel.c       |  61 ++++---
 arch/x86/kernel/process.c                    |   2 +
 arch/x86/kernel/smp.c                        |   2 +
 arch/x86/ras/Kconfig                         |  11 ++
 arch/x86/ras/Makefile                        |   2 +
 {drivers/edac => arch/x86/ras}/mce_amd_inj.c |   6 +-
 drivers/edac/Kconfig                         |  10 --
 drivers/edac/Makefile                        |   1 -
 drivers/ras/Kconfig                          |  37 ++++-
 18 files changed, 329 insertions(+), 164 deletions(-)
 create mode 100644 arch/x86/kernel/cpu/mcheck/mce-genpool.c
 create mode 100644 arch/x86/ras/Kconfig
 create mode 100644 arch/x86/ras/Makefile
 rename {drivers/edac => arch/x86/ras}/mce_amd_inj.c (98%)
Signature · 1 line
2.5.0.rc2.28.g6003e7f