]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:16 +0000 (15:11 +0200)
commitc3dfec3c05b65fe385041b0076c8a4eac32ea8c4
treef1ffe6b451c503ecef961b480d6d6146f0690615
parent62356668d855deb075a93fdf9f26888c4f80b7d6
EDAC/igen6: Fix conversion of system address to physical memory address

commit 0ad875f442e95d69a1145a38aabac2fd29984fe3 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/edac/igen6_edac.c