diff options
author | 2024-12-19 14:41:14 -0800 | |
---|---|---|
committer | 2024-12-20 09:04:14 +0000 | |
commit | 8c02c2bbd64375e603df79449f0eb2c57e1a597c (patch) | |
tree | 37c3a89ba887f1ee2e740c5fd716e40ead2e7797 /scripts/generate_rust_analyzer.py | |
parent | KVM: arm64: nv: Honor MDCR_EL2.TDE routing for debug exceptions (diff) | |
download | wireguard-linux-8c02c2bbd64375e603df79449f0eb2c57e1a597c.tar.xz wireguard-linux-8c02c2bbd64375e603df79449f0eb2c57e1a597c.zip |
KVM: arm64: Avoid reading ID_AA64DFR0_EL1 for debug save/restore
Similar to other per-CPU profiling/debug features we handle, store the
number of breakpoints/watchpoints in kvm_host_data to avoid reading the
ID register 4 times on every guest entry/exit. And if you're in the
nested virt business that's quite a few avoidable exits to the L0
hypervisor.
Tested-by: James Clark <james.clark@linaro.org>
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20241219224116.3941496-18-oliver.upton@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions