diff options
author | 2024-12-19 14:41:08 -0800 | |
---|---|---|
committer | 2024-12-20 09:01:25 +0000 | |
commit | beb470d96cec8dd8f4e05b2135c74d828f7b114b (patch) | |
tree | e1dabfe9e953a03706295ce0d95426647f704539 /scripts/generate_rust_analyzer.py | |
parent | KVM: arm64: Remove vestiges of debug_ptr (diff) | |
download | wireguard-linux-beb470d96cec8dd8f4e05b2135c74d828f7b114b.tar.xz wireguard-linux-beb470d96cec8dd8f4e05b2135c74d828f7b114b.zip |
KVM: arm64: Use debug_owner to track if debug regs need save/restore
Use the debug owner to determine if the debug regs are in use instead of
keeping around the DEBUG_DIRTY flag. Debug registers are now
saved/restored after the first trap, regardless of whether it was a read
or a write. This also shifts the point at which KVM becomes lazy to
vcpu_put() rather than the next exception taken from the guest.
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-12-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