diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2021-12-07 19:24:00 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-12-10 16:14:25 +0100 |
commit | 69700fb4389839dae84024b39a02cab844651122 (patch) | |
tree | e87b12176c9669dcdd688b57cc5d6b0b6b3bf3c4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9d6305c2a116f4ea3160730df8cf83d13d629b87 (diff) |
s390/cmm: add missing virt_to_phys() conversion
diag10_range() expects a pfn, however the current cmm code is shifting
a virtual address, instead of a physical address by PAGE_SHIFT bits,
which would give a wrong result in case if V!=R.
Use virt_to_pfn() to fix this.
Note: this currently doesn't fix a real bug, since virtual addresses
are indentical to physical ones.
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions