This is a note to let you know that I've just added the patch titled EDAC/sb_edac: Fix top-of-high-memory value for Broadwell/Haswell to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: edac-sb_edac-fix-top-of-high-memory-value-for-broadwell-haswell.patch and it can be found in the queue-5.15 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 537bddd069c743759addf422d0b8f028ff0f8dbc Mon Sep 17 00:00:00 2001 From: Eric Badger <ebadger@xxxxxxxxxxxxxxx> Date: Sun, 10 Oct 2021 10:06:56 -0700 Subject: EDAC/sb_edac: Fix top-of-high-memory value for Broadwell/Haswell From: Eric Badger <ebadger@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx Reported-by: Meeta Saggi <msaggi@xxxxxxxxxxxxxxx> Signed-off-by: Eric Badger <ebadger@xxxxxxxxxxxxxxx> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx> Link: https://lore.kernel.org/r/20211010170127.848113-1-ebadger@xxxxxxxxxxxxxxx Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/edac/sb_edac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c @@ -1052,7 +1052,7 @@ static u64 haswell_get_tohm(struct sbrid pci_read_config_dword(pvt->info.pci_vtd, HASWELL_TOHM_1, ®); rc = ((reg << 6) | rc) << 26; - return rc | 0x1ffffff; + return rc | 0x3ffffff; } static u64 knl_get_tolm(struct sbridge_pvt *pvt) Patches currently in stable-queue which might be from ebadger@xxxxxxxxxxxxxxx are queue-5.15/edac-sb_edac-fix-top-of-high-memory-value-for-broadwell-haswell.patch