EDAC/sb_edac: Fix top-of-high-memory value for Broadwell/Haswell
stable inclusion from stable-5.10.80 commit a5d8d76710e83d45af60afe95304d9c46b2258cc bugzilla: 185821 https://gitee.com/openeuler/kernel/issues/I4L7CG Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a5d8d76710e83d45af60afe95304d9c46b2258cc -------------------------------- commit 537bddd0 upstream. The computation of TOHM is off by one bit. This missed bit results in too low a value for TOHM, which can cause errors in regular memory to incorrectly report: EDAC MC0: 1 CE Error at MMIOH area, on addr 0x000000207fffa680 on any memory Fixes: 50d1bb93 ("sb_edac: add support for Haswell based systems") Cc: stable@vger.kernel.org Reported-by: NMeeta Saggi <msaggi@purestorage.com> Signed-off-by: NEric Badger <ebadger@purestorage.com> Signed-off-by: NTony Luck <tony.luck@intel.com> Link: https://lore.kernel.org/r/20211010170127.848113-1-ebadger@purestorage.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Reviewed-by: NWeilong Chen <chenweilong@huawei.com> Acked-by: NWeilong Chen <chenweilong@huawei.com> Signed-off-by: NChen Jun <chenjun102@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录