linux-stable/include/kvm
Oliver Upton 1d6f83f60f KVM: arm64: vgic: Store LPIs in an xarray
Using a linked-list for LPIs is less than ideal as it of course requires
iterative searches to find a particular entry. An xarray is a better
data structure for this use case, as it provides faster searches and can
still handle a potentially sparse range of INTID allocations.

Start by storing LPIs in an xarray, punting usage of the xarray to a
subsequent change. The observant among you will notice that we added yet
another lock to the chain of locking order rules; document the ordering
of the xa_lock. Don't worry, we'll get rid of the lpi_list_lock one
day...

Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240221054253.3848076-2-oliver.upton@linux.dev
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
2024-02-23 21:46:01 +00: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 Merge branch kvm-arm64/pmu_pmcr_n into kvmarm/next 2023-10-30 20:24:19 +00: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: Store LPIs in an xarray 2024-02-23 21:46:01 +00:00
iodev.h KVM: destruct kvm_io_device while unregistering it from kvm_io_bus 2023-06-13 14:18:09 -07:00