Re: [PATCH v5 19/23] KVM: arm64: GICv4.1: Allow SGIs to switch between HW and SW interrupts

From: Marc Zyngier
Date: Fri Mar 20 2020 - 05:17:35 EST


Hi Eric,

On 2020-03-19 20:13, Auger Eric wrote:
Hi Marc,

On 3/19/20 8:52 PM, Marc Zyngier wrote:
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...