diff options
| author | Marc Zyngier <maz@kernel.org> | 2026-10-01 14:57:00 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-10-02 15:22:39 +0100 |
| commit | a8b2a7d0fe9c0eb493542bb1d306b68313e6a828 (patch) | |
| tree | 7700af0907221be391d587d3c551e8609b7d04a0 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 06499de8f998e0ec975cb73adde936c12a8a1200 (diff) | |
KVM: arm64: Add {flush,sync}_hyp_timer_state() primitives
A protected guest's virtual timer is programmed from EL2's own copy of
the state and read back there, so the host can't change the guest's
deadline. cntvoff_el2 is zeroed, so the guest's virtual time is the
physical time.
The flush also preserves the guest's CNTV and CNTP CVAL/CTL across the
host's full-context copy into the hyp vCPU, until the per-EC
marshalling patch removes that copy.
Co-developed-by: Fuad Tabba <fuad.tabba@linux.dev>
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20261001135711.1640520-8-fuad.tabba@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
