Skip to content

mce-inject: extend mce-inject for support threshold interrupt event injection on ADM platform

Chen Yucong lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86, mce: apply MCE MSR wrappers to AMD platform for testing threshold interrupt handlerarch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce.c arch/x86/kernel/cpu/mcheck/mce_amd.c+30 -50 replies
2/2x86, mce, amd: extend mce-inject for support threshold interrupt event injection on AMD platformarch/x86/include/asm/mce.h arch/x86/kernel/cpu/mcheck/mce-inject.c arch/x86/kernel/cpu/mcheck/threshold.c+20 -24 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] mce-inject: extend mce-inject for support threshold interrupt event injection on ADM platform

The work based on Boris's ras-for-3.19 branch.
https://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git -b ras-for-3.19

Until now, `mce-inject' is unable to inject threshold interrupt event on AMD platform. That's because both Threshold Interrupt and POLL have a separate event handler. amd_threshold_interrupt() is used for handling Threshold Interrupt event. And machine_check_poll() has been used for polling other events, such as `deferred' error. The main items of this work include:

* apply MCE MSR wrappers to AMD-specific threshold interrupt handler for supporting mce-inject
* introduces a new flag MCJ_INTERRUPT that is used to separate CMCI/Threshold Interrupt and POLL in mce-inject.

Note that Linux machine check injector tool - mce-inject should be also updated for accommodating the above changes in kernel-space.
* [PATCH] separate CMCI/Threshold Interrupt and POLL in mce-inject
* https://git.kernel.org/pub/scm/utils/cpu/mce/mce-inject.git