]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
EDAC/sb_edac: Fix top-of-high-memory value for Broadwell/Haswell
authorEric Badger <ebadger@purestorage.com>
Sun, 10 Oct 2021 17:06:56 +0000 (10:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Nov 2021 10:36:00 +0000 (11:36 +0100)
commit8dd84556d572a052f767acd3d33b2f3cb04acb85
tree9e7b40c9b2bd4a94ce9714eb6ab1e662508c1192
parent26762fe6d926abc4fabd33e43ff5b791a117b5ce
EDAC/sb_edac: Fix top-of-high-memory value for Broadwell/Haswell

commit 537bddd069c743759addf422d0b8f028ff0f8dbc 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: 50d1bb93672f ("sb_edac: add support for Haswell based systems")
Cc: stable@vger.kernel.org
Reported-by: Meeta Saggi <msaggi@purestorage.com>
Signed-off-by: Eric Badger <ebadger@purestorage.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20211010170127.848113-1-ebadger@purestorage.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/edac/sb_edac.c