]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/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)
committerBorislav Petkov <bp@suse.de>
Fri, 3 Jun 2016 08:05:49 +0000 (10:05 +0200)
commitc7103f650a11328f28b9fa1c95027db331b7774b
tree78c191588041cc96672c6bcdeae815998385f970
parent1a695a905c18548062509178b98bc91e67510864
EDAC, sb_edac: Fix rank lookup on Broadwell

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>
drivers/edac/sb_edac.c