]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
EDAC/igen6: Fix conversion of system address to physical memory address
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Wed, 14 Aug 2024 06:10:11 +0000 (14:10 +0800)
committerTony Luck <tony.luck@intel.com>
Tue, 3 Sep 2024 19:27:19 +0000 (12:27 -0700)
commit0ad875f442e95d69a1145a38aabac2fd29984fe3
treefabdce24709eb2fd1d397e47711997dac55c5790
parent8400291e289ee6b2bf9779ff1c83a291501f017b
EDAC/igen6: Fix conversion of system address to physical memory address

The conversion of system address to physical memory address (as viewed by
the memory controller) by igen6_edac is incorrect when the system address
is above the TOM (Total amount Of populated physical Memory) for Elkhart
Lake and Ice Lake (Neural Network Processor). Fix this conversion.

Fixes: 10590a9d4f23 ("EDAC/igen6: Add EDAC driver for Intel client SoCs using IBECC")
Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/stable/20240814061011.43545-1-qiuxu.zhuo%40intel.com
drivers/edac/igen6_edac.c