]> git.itanic.dy.fi Git - linux-stable/commit
EDAC, sb_edac: Fix rank lookup on Broadwell
authorTony Luck <tony.luck@intel.com>
Tue, 31 May 2016 18:50:28 +0000 (11:50 -0700)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 17 Jun 2016 19:37:53 +0000 (15:37 -0400)
commit3821aa37f7bd4a98d7c9f01eb915cdae06dde1fb
treeb8de8e26517a37c1cb95622f9e5994c8f92ecc93
parentf518d7a9791398c181e77b0f645802678055a554
EDAC, sb_edac: Fix rank lookup on Broadwell

[ Upstream commit c7103f650a11328f28b9fa1c95027db331b7774b ]

Broadwell made a small change to the rank target register moving the
target rank ID field up from bits 16:19 to bits 20:23.

Also found that the offset field grew by one bit in the IVY_BRIDGE to
HASWELL transition, so fix the RIR_OFFSET() macro too.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Cc: stable@vger.kernel.org # v3.19+
Cc: Aristeu Rozanski <arozansk@redhat.com>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/2943fb819b1f7e396681165db9c12bb3df0e0b16.1464735623.git.tony.luck@intel.com
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/edac/sb_edac.c