Re: [PATCH v5 19/23] KVM: arm64: GICv4.1: Allow SGIs to switch between HW and SW interrupts
From: Marc Zyngier <maz@kernel.org>
Date: 2020-03-20 09:17:35
Also in:
kvm, kvmarm, lkml
From: Marc Zyngier <maz@kernel.org>
Date: 2020-03-20 09:17:35
Also in:
kvm, kvmarm, lkml
Hi Eric, On 2020-03-19 20:13, Auger Eric wrote:
Hi Marc, On 3/19/20 8:52 PM, Marc Zyngier wrote:quoted
The assumption here is that we're coming vgic_v4_configure_vsgis(), which starts by stopping the whole guest. My guess is that it should be safe enough, but maybe you are thinking of something else?I don't have a specific case in mind. Just preferred asking to make sure. Usually when touching those fields we take the lock (that's also the case in vgic_debug_show for instance).
Ah, good thing you mention the debug interface. I think it is the only
thing that can run behind our back... Fair enough, I'll add the locking.
Thanks,
M.
--
Jazz is not dead. It just smells funny...
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel