Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f92cae45 authored by Ashish Shenoy's avatar Ashish Shenoy Committed by Borislav Petkov
Browse files

amd64_edac: Fix missing csrows sysfs nodes



While initializing the array of csrow attribute instances, a few csrows
were uninitialized. This happened because the module only performed a
check for DRAM base ctl register0's and not DRAM base ctl register1's
chip select enable bit. There could be systems with DIMMs populated
on only single memory channel whereas the module also assumed that a
dual channel dimm had double the memory size of a single memory channel
instead of checking the memory on each channel.

This patch fixes these above issues.

Signed-off-by: default avatarAshish Shenoy <ashenoy@riverbed.com>
Signed-off-by: default avatarPrasanna S. Panchamukhi <ppanchamukhi@riverbed.com>
Link: http://lkml.kernel.org/r/4F459CFA.5090604@riverbed.com


Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent c16fa4f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment