summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNico Boehr <nrb@linux.ibm.com>2023-03-10 14:52:37 +0300
committerVasily Gorbik <gor@linux.ibm.com>2023-04-13 18:36:26 +0300
commitbac30ea9ef80624dfe4bf20c0fc2073dcc771a87 (patch)
tree1dee99cf1f683adf10cf125cba78b970a66d4d2d /tools/perf/scripts/python/export-to-postgresql.py
parent34644cc2e15a7a91ec36b496e218694d17371589 (diff)
downloadlinux-bac30ea9ef80624dfe4bf20c0fc2073dcc771a87.tar.xz
s390/ipl: fix physical-virtual confusion for diag308
Diag 308 subcodes expect a physical address as their parameter. This currently is not a bug, but in the future physical and virtual addresses might differ. Fix the confusion by doing a virtual-to-physical conversion in the exported diag308() and leave the assembly wrapper __diag308() alone. Note that several callers pass NULL as addr, so check for the case when NULL is passed and pass 0 to hardware since virt_to_phys(0) might be nonzero. Suggested-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Nico Boehr <nrb@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions