diff options
| author | Oliver Upton <oupton@kernel.org> | 2026-10-15 11:05:37 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-10-15 14:52:25 +0100 |
| commit | 134b6486dd3452d3ac2642b152e8149e7891d962 (patch) | |
| tree | 78d2a56992b4cefb98e14f7ace200c38daed785d /tools/perf/scripts/python/stackcollapse.py | |
| parent | e64309198eda29415a95113def92aa40196cd422 (diff) | |
KVM: arm64: Add helpers to halt a vCPU
Currently we pause the entire VM when modifying VGIC state that requires
state to be synchronized back from hardware. This is perfectly fine for
heavyweight operations but not ideal for 'simple' things like migrating
an active/pending IRQ.
Add helpers for halting a single vCPU such that they can be used to
manipulate the AP list remotely.
[maz: fixed to use kvm_make_vcpus_request_mask(), guaranteeing that the
caller waits for the target vcpu to handle the IPI]
Signed-off-by: Oliver Upton <oupton@kernel.org>
Link: https://patch.msgid.link/20260929212925.31775-2-oupton@kernel.org
Reviewed-by: Fuad Tabba <fuad.tabba@linux.dev>
Tested-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20261015100539.1011760-6-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
