linux/virt/kvm/arm/vgic
Eric Auger 920a7a8fa9 KVM: arm64: vgic-its: Add infrastructure for table lookup
Add a generic scan_its_table() helper whose role consists in
scanning a contiguous table located in guest RAM and applying
a callback on each entry. Entries can be handled as linked lists
since the callback may return an id offset to the next entry and
also indicate whether the entry is the last one.

Helper functions also are added to compute the device/event ID
offset to the next DTE/ITE.

compute_next_devid_offset, compute_next_eventid_offset and
scan_table will become static in subsequent patches

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Christoffer Dall <cdall@linaro.org>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
2017-05-08 14:38:10 +02:00
..
trace.h KVM: arm/arm64: Move shared files to virt/kvm/arm 2017-05-04 13:57:26 +02:00
vgic-debug.c KVM: arm/arm64: vgic: Add debugfs vgic-state file 2017-01-25 13:50:03 +01:00
vgic-init.c KVM: arm/arm64: vgic: Implement early VGIC init functionality 2017-04-09 07:49:11 -07:00
vgic-irqfd.c KVM: arm/arm64: vgic: Stop injecting the MSI occurrence twice 2017-02-08 15:13:14 +00:00
vgic-its.c KVM: arm64: vgic-its: Add infrastructure for table lookup 2017-05-08 14:38:10 +02:00
vgic-kvm-device.c KVM: arm/arm64: vgic: expose (un)lock_all_vcpus 2017-05-08 14:33:17 +02:00
vgic-mmio-v2.c KVM: arm/arm64: vgic: Introduce VENG0 and VENG1 fields to vmcr struct 2017-01-30 13:47:21 +00:00
vgic-mmio-v3.c KVM: arm/arm64: vgic: Implement KVM_DEV_ARM_VGIC_GRP_LEVEL_INFO ioctl 2017-01-30 13:47:29 +00:00
vgic-mmio.c arm/arm64: vgic: turn vgic_find_mmio_region into public 2017-05-08 14:31:48 +02:00
vgic-mmio.h KVM: arm64: vgic-its: Implement vgic_its_has_attr_regs and attr_regs_access 2017-05-08 14:33:54 +02:00
vgic-v2.c KVM: arm/arm64: vgic: Improve sync_hwstate performance 2017-04-09 07:49:12 -07:00
vgic-v3.c KVM: arm64: vgic-v3: vgic_v3_lpi_sync_pending_status 2017-05-08 14:35:59 +02:00
vgic.c KVM: arm/arm64: Move shared files to virt/kvm/arm 2017-05-04 13:57:26 +02:00
vgic.h KVM: arm64: vgic-v3: vgic_v3_lpi_sync_pending_status 2017-05-08 14:35:59 +02:00