summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStephen Douthit <stephend@silicom-usa.com>2019-08-09 17:18:02 +0300
committerTony Luck <tony.luck@intel.com>2019-08-09 20:19:07 +0300
commit29a3388bfcce7a6d087051376ea02bf8326a957b (patch)
tree2ea8c3ed2964db077bb3894731e3e9e987b3c403 /tools/perf/scripts/python
parent82413e562ea6eadfb6de946dcc6f74af31d64e7f (diff)
downloadlinux-29a3388bfcce7a6d087051376ea02bf8326a957b.tar.xz
EDAC, pnd2: Fix ioremap() size in dnv_rd_reg()
Depending on how BIOS has marked the reserved region containing the 32KB MCHBAR you can get warnings like: resource sanity check: requesting [mem 0xfed10000-0xfed1ffff], which spans more than reserved [mem 0xfed10000-0xfed17fff] caller dnv_rd_reg+0xc8/0x240 [pnd2_edac] mapping multiple BARs Not all of the mmio regions used in dnv_rd_reg() are the same size. The MCHBAR window is 32KB and the sideband ports are 64KB. Pass the correct size to ioremap() depending on which resource we're reading from. Signed-off-by: Stephen Douthit <stephend@silicom-usa.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions