[PATCH 00/13] A bunch of vgic-its fixes

Marc Zyngier marc.zyngier at arm.com
Mon Jul 18 08:54:02 PDT 2016


As the ITS series has been posted 10 times now, and we're still
finding issues, I've decided to directly fix things rather than
commenting on them and waiting for a respin, as we are getting way too
close to the merge window. So I sat over the weekend and started doing
"stuff".

There is a bit of everything in there: some cosmetic things, but also
some more severe bugs (indirect tables were completely foobar) and
regressions (the cpuif stuff that Eric fixed).

Unless someone shouts at me, I intend to put that on top of Andre's
series, and put the whole thing into -next. I've tested it on a LS2085
with kvmtool, using both flat and indirect device tables.

Thanks,

	M.

Eric Auger (1):
  KVM: arm/arm64: Fix vGICv2 KVM_DEV_ARM_VGIC_GRP_CPU/DIST_REGS

Marc Zyngier (12):
  irqchip/gicv3-its: Restore all cacheability attributes
  KVM: arm64: vgic-its: Generalize use of vgic_get_irq_kref
  KVM: arm64: vgic-its: Fix handling of indirect tables
  KVM: arm64: vgic-its: Fix vgic_its_check_device_id BE handling
  KVM: arm64: vgic-its: Fix misleading nr_entries in
    vgic_its_check_device_id
  KVM: arm64: vgic-its: Validate the device table L1 entry
  KVM: arm64: vgic-its: Fix L2 entry validation for indirect tables
  KVM: arm64: vgic-its: Add collection allocator/destructor
  KVM: arm64: vgic-its: Add pointer to corresponding kvm_device
  KVM: arm64: vgic-its: Turn device_id validation into generic ID
    validation
  KVM: arm64: vgic-its: Make vgic_its_cmd_handle_mapi similar to other
    handlers
  KVM: arm64: vgic-its: Simplify MAPI error handling

 include/kvm/arm_vgic.h             |   1 +
 include/linux/irqchip/arm-gic-v3.h |  48 ++++++--
 virt/kvm/arm/vgic/vgic-its.c       | 224 ++++++++++++++++++++-----------------
 virt/kvm/arm/vgic/vgic-mmio-v2.c   |   2 +
 virt/kvm/arm/vgic/vgic-mmio.c      |   4 +-
 virt/kvm/arm/vgic/vgic.c           |  10 +-
 virt/kvm/arm/vgic/vgic.h           |   8 ++
 7 files changed, 175 insertions(+), 122 deletions(-)

-- 
2.1.4




More information about the linux-arm-kernel mailing list