diff options
author | Yazen Ghannam <[email protected]> | 2017-04-27 12:11:54 -0500 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2017-05-03 16:27:36 +0200 |
commit | eb77e6b80f3bed262c7773236f0fb84649fd3091 (patch) | |
tree | 38f7f443238317c86c10394f1e415519e7e083e2 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f8d5549df25e3961d6bd2ae36d3e0b08614660d9 (diff) |
EDAC, amd64: Fix reporting of Chip Select sizes on Fam17h
The wrong index into the csbases/csmasks arrays was being passed to
the function to compute the chip select sizes, which resulted in the
wrong size being computed. Address that so that the correct values are
computed and printed.
Also, redo how we calculate the number of pages in a CS row.
Reported-by: Benjamin Bennett <[email protected]>
Signed-off-by: Yazen Ghannam <[email protected]>
Cc: <[email protected]> # 4.10.x
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Remove unneeded integer math comment, minor cleanups. ]
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions