aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2017-04-03 19:37:50 +0100
committerChristoffer Dall <cdall@linaro.org>2017-04-09 07:49:26 -0700
commitcf763e4ede9deca45c83d7a59c8e798c4d079da2 (patch)
tree2e50d4a1a986d0b79598950b99bed30132ac4f4c /tools/perf/scripts/python/call-graph-from-postgresql.py
parentARM: hyp-stub: Use r1 for the soft-restart address (diff)
downloadlinux-dev-cf763e4ede9deca45c83d7a59c8e798c4d079da2.tar.xz
linux-dev-cf763e4ede9deca45c83d7a59c8e798c4d079da2.zip
ARM: Expose the VA/IDMAP offset
The KVM code needs to be able to compute the address of symbols in its idmap page (the equivalent of a virt_to_idmap() call). Unfortunately, virt_to_idmap is slightly complicated, depending on the use of arch_phys_to_idmap_offset or not, and none of that is readily available at HYP. Instead, expose a single kimage_voffset variable which contains the offset between a kernel VA and its idmap address, enabling the VA->IDMAP conversion. This allows the KVM code to behave similarily to its arm64 counterpart. Tested-by: Keerthy <j-keerthy@ti.com> Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <cdall@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions