aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndrew Scull <[email protected]>2021-03-18 14:33:10 +0000
committerMarc Zyngier <[email protected]>2021-04-01 09:54:37 +0100
commitf79e616f27ab6cd74deb0995a8eead3d1c9d65af (patch)
tree7f431057f04a8887299e706bcd8aec5774557258 /tools/perf/scripts/python/export-to-postgresql.py
parent5b8be5d875a996776708ba174fcd08c8bcd721a5 (diff)
KVM: arm64: Use BUG and BUG_ON in nVHE hyp
hyp_panic() reports the address of the panic by using ELR_EL2, but this isn't a useful address when hyp_panic() is called directly. Replace such direct calls with BUG() and BUG_ON() which use BRK to trigger an exception that then goes to hyp_panic() with the correct address. Also remove the hyp_panic() declaration from the header file to avoid accidental misuse. Signed-off-by: Andrew Scull <[email protected]> Acked-by: Will Deacon <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions