Skip to content

RAS: add the support for handling UCNA/DEFERRED error

Chen Yucong lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest2 patches 2 repliesIn review
  2. v32 patches 14 repliesSuperseded
  3. v22 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches6 repliesSuperseded

Changes in v4 from the cover letter

Like MCIP/RIPV/EIPV bits, MCI_STATUS_EN is specific to "machine check exception". As Tony suggested, the severity table entry for the "EN" check should have been skipped when calling from the CMCI/Poll handler.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86, mce, severity: extend the the mce_severity mechanism to handle UCNA/DEFERRED errorarch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce-internal.h arch/x86/kernel/cpu/mcheck/mce-severity.c +2 more+32 -160 replies
2/2x86, mce: support memory error recovery for both UCNA and Deferred error in machine_check_pollarch/x86/kernel/cpu/mcheck/mce.c+46 -00 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAravind GopalakrishnanBorislav Petkov
1/2R-b
2/2A-b

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

Read the v4 thread

Cover letter [PATCH v4 0/2]RAS: add the support for handling UCNA/DEFERRED error

Hi all,

At the suggestion of Boris, the first patch extends the mce_severity mechanism for handling UCNA/DEFERRED error.

v2:
The first patch have also eliminated a big hack to make mce_severity() work when called from non-exception context on the advice of Tony and Boris.

And on the basis of the first patch, the second patch adds the support for identifying and handling UCNA/DEFERRED error in machine_check_poll.

V3:
According to Boris, the second patch have also split `memory_error' from mem_deferred_error so that the memory_error() function can be used in other code paths separately.

Boris also reported the warning about "MCI_STATUS_POISON" and "MCI_STATUS_POISON" redefined.

V4:
Like MCIP/RIPV/EIPV bits, MCI_STATUS_EN is specific to "machine check exception". As Tony suggested, the severity table entry for the "EN" check should have been skipped when calling from the CMCI/Poll handler.

AMD APM Volume 2: 9.3.2 Error-Reporting Register Banks - MCi_STATUS

memory_error() is incomplete for AMD platform. Boris will try to have a fix.

thx!
cyc

[PATCH v4 1/2] x86, mce, severity: extend the the mce_severity [PATCH v4 2/2] x86, mce: support memory error recovery for both UCNA