mbox series

[0/2] KVM: arm/arm64: vgic-its: Guest memory access fixes

Message ID 20190319133022.10693-1-marc.zyngier@arm.com (mailing list archive)
Headers show
Series KVM: arm/arm64: vgic-its: Guest memory access fixes | expand

Message

Marc Zyngier March 19, 2019, 1:30 p.m. UTC
While messing with something completely different, I managed to
trigger a number of RCU warnings, due to the lack of srcu locking
in the ITS code.

Andre partially addressed those last year[1], but there was some
more left.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2018-May/577056.html

Marc Zyngier (2):
  KVM: arm/arm64: vgic-its: Take the srcu lock when writing to guest
    memory
  KVM: arm/arm64: vgic-its: Take the srcu lock when parsing the memslots

 arch/arm/include/asm/kvm_mmu.h   | 11 +++++++++++
 arch/arm64/include/asm/kvm_mmu.h | 11 +++++++++++
 virt/kvm/arm/vgic/vgic-its.c     | 21 ++++++++++++++-------
 3 files changed, 36 insertions(+), 7 deletions(-)