diff options
author | 2024-08-27 16:25:16 +0100 | |
---|---|---|
committer | 2024-08-27 18:32:56 +0100 | |
commit | cd08d3216fc4e684f05fe4cf696a275a975f6499 (patch) | |
tree | 413bb47904e8a549eb1baf5729e36fe1f28d6528 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: arm64: Make most GICv3 accesses UNDEF if they trap (diff) | |
download | wireguard-linux-cd08d3216fc4e684f05fe4cf696a275a975f6499.tar.xz wireguard-linux-cd08d3216fc4e684f05fe4cf696a275a975f6499.zip |
KVM: arm64: Unify UNDEF injection helpers
We currently have two helpers (undef_access() and trap_undef()) that
do exactly the same thing: inject an UNDEF and return 'false' (as an
indication that PC should not be incremented).
We definitely could do with one less. Given that undef_access() is
used 80ish times, while trap_undef() is only used 30 times, the
latter loses the battle and is immediately sacrificed.
We also have a large number of instances where undef_access() is
open-coded. Let's also convert those.
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240827152517.3909653-11-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions