Re: [PATCH 1/2] KVM: arm/arm64: vgic-its: Take the srcu lock when writing to guest memory

2019-03-19 Thread Marc Zyngier
Hi Eric, On Tue, 19 Mar 2019 15:16:38 +, Auger Eric wrote: > > Hi Marc, > > On 3/19/19 2:30 PM, Marc Zyngier wrote: > > When halting a guest, QEMU flushes the virtual ITS caches, which > > amounts to writing to the various tables that the guest has allocated. > > > > When doing this, we

Re: [PATCH 1/2] KVM: arm/arm64: vgic-its: Take the srcu lock when writing to guest memory

2019-03-19 Thread Auger Eric
Hi Marc, On 3/19/19 2:30 PM, Marc Zyngier wrote: > When halting a guest, QEMU flushes the virtual ITS caches, which > amounts to writing to the various tables that the guest has allocated. > > When doing this, we fail to take the srcu lock, and the kernel > shouts loudly if running a lockdep

[PATCH 1/2] KVM: arm/arm64: vgic-its: Take the srcu lock when writing to guest memory

2019-03-19 Thread Marc Zyngier
When halting a guest, QEMU flushes the virtual ITS caches, which amounts to writing to the various tables that the guest has allocated. When doing this, we fail to take the srcu lock, and the kernel shouts loudly if running a lockdep kernel: [ 69.680416] = [