diff options
author | Qiuxu Zhuo <[email protected]> | 2017-08-14 23:48:13 +0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2017-08-19 10:33:30 +0200 |
commit | d84676a9e12817c8435e836911800bdcc67928a0 (patch) | |
tree | eb0bcc349837dcac5486c54d9b749af6de6a162c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3eaef0fa39f7badb0bf25bb28ab96cf06b29d45c (diff) |
EDAC, pnd2: Mask off the lower four bits of a BAR
Bit[0] of BAR is always zero. Bit[2:1] and bit[3] of BAR contain the
information of 'type' and the 'prefetchable' accordingly. Therefore,
mask the lower four bits to retrieve the actual base address of a BAR.
Signed-off-by: Qiuxu Zhuo <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions