linux/include/kvm
Oliver Upton 85d3ccc8b7 KVM: arm64: vgic-debug: Use an xarray mark for debug iterator
The vgic debug iterator is the final user of vgic_copy_lpi_list(), but
is a bit more complicated to transition to something else. Use a mark
in the LPI xarray to record the indices 'known' to the debug iterator.
Protect against the LPIs from being freed by associating an additional
reference with the xarray mark.

Rework iter_next() to let the xarray walk 'drive' the iteration after
visiting all of the SGIs, PPIs, and SPIs.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20240422200158.2606761-6-oliver.upton@linux.dev
Signed-off-by: Marc Zyngier <maz@kernel.org>
2024-04-25 13:19:55 +01:00
..
arm_arch_timer.h KVM/arm64 updates for 6.7 2023-10-31 16:37:07 -04:00
arm_hypercalls.h KVM: arm64: Introduce support for userspace SMCCC filtering 2023-04-05 12:07:41 +01:00
arm_pmu.h KVM: arm64: Fix host-programmed guest events in nVHE 2024-03-26 01:51:44 -07:00
arm_psci.h KVM: arm64: Get rid of vCPU-scoped feature bitmap 2023-09-21 18:13:29 +00:00
arm_vgic.h KVM: arm64: vgic-debug: Use an xarray mark for debug iterator 2024-04-25 13:19:55 +01:00
iodev.h KVM: destruct kvm_io_device while unregistering it from kvm_io_bus 2023-06-13 14:18:09 -07:00