Re: [PATCH v2 4/4] KVM: arm/arm64: vgic: Make vgic_cpu->ap_list_lock a raw_spinlock

2018-12-11 Thread Christoffer Dall
On Mon, Nov 26, 2018 at 06:26:47PM +, Julien Thierry wrote: > vgic_cpu->ap_list_lock must always be taken with interrupts disabled as > it is used in interrupt context. > > For configurations such as PREEMPT_RT_FULL, this means that it should > be a raw_spinlock since RT spinlocks are interrup

[PATCH v2 4/4] KVM: arm/arm64: vgic: Make vgic_cpu->ap_list_lock a raw_spinlock

2018-11-26 Thread Julien Thierry
vgic_cpu->ap_list_lock must always be taken with interrupts disabled as it is used in interrupt context. For configurations such as PREEMPT_RT_FULL, this means that it should be a raw_spinlock since RT spinlocks are interruptible. Signed-off-by: Julien Thierry Cc: Christoffer Dall Cc: Marc Zyng