]> www.infradead.org Git - users/jedix/linux-maple.git/commit
EDAC/ie31200: Switch Raptor Lake-S to interrupt mode
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Mon, 10 Mar 2025 01:14:11 +0000 (09:14 +0800)
committerTony Luck <tony.luck@intel.com>
Mon, 10 Mar 2025 17:47:40 +0000 (10:47 -0700)
commita5db1b296b181c7ced38252d2ff40e3cf87a12df
treecac70471959c757dd9a5b18161087fd42164edca
parentd0742284ec6da1435acdda428088136944c4c3c2
EDAC/ie31200: Switch Raptor Lake-S to interrupt mode

Raptor Lake-S SoCs notify correctable memory errors via CMCI (Corrected
Machine Check Interrupt). Switch Raptor Lake-S EDAC support from polling
to interrupt mode by registering the callback to the MCE decode notifier
chain.

Note that as Raptor Lake-S SoCs may not recover from uncorrectable memory
errors, the system will hang as soon as this type of error occurs, and the
registered callback on the MCE decode chain will not be executed. This is
the expected behavior.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Tested-by: Gary Wang <gary.c.wang@intel.com>
Link: https://lore.kernel.org/r/20250310011411.31685-12-qiuxu.zhuo@intel.com
drivers/edac/Kconfig
drivers/edac/ie31200_edac.c