]> www.infradead.org Git - users/jedix/linux-maple.git/commit
EDAC/igen6: Fix the flood of invalid error reports
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Wed, 12 Feb 2025 08:33:54 +0000 (16:33 +0800)
committerTony Luck <tony.luck@intel.com>
Fri, 21 Feb 2025 01:00:38 +0000 (17:00 -0800)
commit267e5b1d267539d9a927dc04aab6f15aca57da92
tree8f2704fb15611c171abe4d11210df74e0a51e7f4
parentc29dfd661fe2f8d1b48c7f00590929c04b25bf40
EDAC/igen6: Fix the flood of invalid error reports

The ECC_ERROR_LOG register of certain SoCs may contain the invalid value
~0, which results in a flood of invalid error reports in polling mode.

Fix the flood of invalid error reports by skipping the invalid ECC error
log value ~0.

Fixes: e14232afa944 ("EDAC/igen6: Add polling support")
Reported-by: Ramses <ramses@well-founded.dev>
Closes: https://lore.kernel.org/all/OISL8Rv--F-9@well-founded.dev/
Tested-by: Ramses <ramses@well-founded.dev>
Reported-by: John <therealgraysky@proton.me>
Closes: https://lore.kernel.org/all/p5YcxOE6M3Ncxpn2-Ia_wCt61EM4LwIiN3LroQvT_-G2jMrFDSOW5k2A9D8UUzD2toGpQBN1eI0sL5dSKnkO8iteZegLoQEj-DwQaMhGx4A=@proton.me/
Tested-by: John <therealgraysky@proton.me>
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20250212083354.31919-1-qiuxu.zhuo@intel.com
drivers/edac/igen6_edac.c