]> git.hungrycats.org Git - linux/commit
x86 EDAC, sb_edac.c: Repair damage introduced when "fixing" channel address
authorTony Luck <tony.luck@intel.com>
Thu, 14 Apr 2016 17:21:52 +0000 (10:21 -0700)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 10 May 2016 16:20:19 +0000 (12:20 -0400)
commitb7c4a9d51100cf69d87b758fb8aac3c2eb7b8499
tree980310bcc377466b1dbbc85d3b215f35e30945b7
parent24b769352bd519d6d932ea070e295e8b13f43af8
x86 EDAC, sb_edac.c: Repair damage introduced when "fixing" channel address

[ Upstream commit ff15e95c82768d589957dbb17d7eb7dba7904659 ]

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 <patrickg@supermicro.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Acked-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: Aristeu Rozanski <arozansk@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-edac@vger.kernel.org
Cc: stable@vger.kernel.org
Fixes: eb1af3b71f9d ("Fix computation of channel address")
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/edac/sb_edac.c