EDAC, thunderx: Change LMC index calculation
authorSergey Temerkhanov <s.temerkhanov@gmail.com>
Thu, 6 Apr 2017 11:37:55 +0000 (11:37 +0000)
committerBorislav Petkov <bp@suse.de>
Fri, 7 Apr 2017 09:47:44 +0000 (11:47 +0200)
commit3d2d8c0f84ca518da9210b3f855643efd1629e07
tree38ad29657edcb3195b0109a23c3feb3ae5bbe7c9
parent25b223ddfe2a557307c05fe673e09d94ae950877
EDAC, thunderx: Change LMC index calculation

Shift the node number by 3 bits instead of 8 allowing proper functioning
with default EDAC_MAX_MCS.

Signed-off-by: Sergey Temerkhanov <s.temerkhanov@gmail.com>
Cc: David Daney <david.daney@cavium.com>
Cc: Jan.Glauber@cavium.com
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/20170406113755.17082-1-s.temerkhanov@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/thunderx_edac.c