Skip to content

x86: minor cleanups/fixes for MCE codes (v2)

Hidetoshi Seto lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 14 repliesIn review

v2 from the cover letter

reflect comments, update patch 3,4,5,7,10,12.
rebased on 3.0-rc2.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12mce-severity: fixes for mce severity tablearch/x86/kernel/cpu/mcheck/mce-severity.c+1 -31 reply
2/12mce-severity: cleanup severity table, preparch/x86/kernel/cpu/mcheck/mce-severity.c+88 -301 reply
3/12mce-severity: cleanup severity tablearch/x86/kernel/cpu/mcheck/mce-severity.c+58 -691 reply
4/12mce-severity: trivial cleanupsarch/x86/kernel/cpu/mcheck/mce-severity.c+19 -201 reply
5/12x86, mce: replace MCE_SELF_VECTOR by irq_workarch/x86/include/asm/entry_arch.h arch/x86/include/asm/hw_irq.h arch/x86/include/asm/irq_vectors.h +3 more+6 -591 reply
6/12x86, mce: replace MCM_ to MCI_MISC_arch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce.c+13 -81 reply
7/12x86, mce: introduce mce_gather_info()arch/x86/kernel/cpu/mcheck/mce.c+27 -231 reply
8/12x86, mce: check the result of ancient_init()arch/x86/kernel/cpu/mcheck/mce.c+9 -31 reply
9/12x86, mce: cleanup mce_create/remove_devicearch/x86/kernel/cpu/mcheck/mce.c+14 -131 reply
10/12x86, mce: cleanup mce_readarch/x86/kernel/cpu/mcheck/mce.c+11 -121 reply
11/12x86, mce: use prefix mce_chrdev_ to group functionsarch/x86/kernel/cpu/mcheck/mce.c+41 -361 reply
12/12x86, mce: use prefix mce_sysdev_ to group functionsarch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce.c arch/x86/kernel/cpu/mcheck/mce_amd.c+39 -351 reply

Reviews trailers per patch

11 of 12 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBorislav PetkovTony Luck
SeriesR-b
1/12
2/12A-b
3/12A-b
4/12A-b
5/12A-b
6/12A-b
7/12A-b
8/12A-b
9/12A-b
10/12A-b
11/12A-b
12/12A-b

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/12] x86: minor cleanups/fixes for MCE codes (v2)

This is a set of minor changes for MCE codes.

Though I know there are many people expecting new RAS architecture such as one that integrates RAS/EDAC with MCE, I hope these small steps will be a help for future works.

v2:
reflect comments, update patch 3,4,5,7,10,12.
rebased on 3.0-rc2.

Thanks,
H.Seto

 arch/x86/include/asm/entry_arch.h         |    4 -
 arch/x86/include/asm/hw_irq.h             |    1 -
 arch/x86/include/asm/irq_vectors.h        |    5 -
 arch/x86/include/asm/mce.h                |   19 ++-
 arch/x86/kernel/cpu/mcheck/mce-severity.c |  152 ++++++++++------
 arch/x86/kernel/cpu/mcheck/mce.c          |  288 ++++++++++++++---------------
 arch/x86/kernel/cpu/mcheck/mce_amd.c      |   10 +-
 arch/x86/kernel/entry_64.S                |    5 -
 arch/x86/kernel/irqinit.c                 |    3 -
 9 files changed, 251 insertions(+), 236 deletions(-)

Hidetoshi Seto (11):
mce-severity: cleanup severity table, prep
mce-severity: cleanup severity table
mce-severity: trivial cleanups
x86, mce: replace MCE_SELF_VECTOR by irq_work x86, mce: replace MCM_ to MCI_MISC_
x86, mce: introduce mce_gather_info()
x86, mce: check the result of ancient_init() x86, mce: cleanup mce_create/remove_device x86, mce: cleanup mce_read
x86, mce: use prefix mce_chrdev_ to group functions x86, mce: use prefix mce_sysdev_ to group functions

Tony Luck (1):
mce-severity: fixes for mce severity table