x86 EDAC, sb_edac.c: Repair damage introduced when "fixing" channel address
authorTony Luck <[email protected]>
Thu, 14 Apr 2016 17:21:52 +0000 (10:21 -0700)
committerIngo Molnar <[email protected]>
Fri, 22 Apr 2016 08:10:01 +0000 (10:10 +0200)
commitff15e95c82768d589957dbb17d7eb7dba7904659
treee320f679dbcc6b5bfdba29b5cee6f32c5d91e8fa
parent103f6112f253017d7062cd74d17f4a514ed4485c
x86 EDAC, sb_edac.c: Repair damage introduced when "fixing" channel address

In commit:

  eb1af3b71f9d ("Fix computation of channel address")

I switched the "sck_way" variable from holding the log2 value read
from the h/w to instead be the actual number. Unfortunately it
is needed in log2 form when used to shift the address.

Tested-by: Patrick Geary <[email protected]>
Signed-off-by: Tony Luck <[email protected]>
Acked-by: Mauro Carvalho Chehab <[email protected]>
Cc: Aristeu Rozanski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Fixes: eb1af3b71f9d ("Fix computation of channel address")
Signed-off-by: Ingo Molnar <[email protected]>
drivers/edac/sb_edac.c