Thread (1 message) 1 message, 1 author, 2017-10-25
DORMANTno replies REVIEWED: 1 (0M)

1 review trailer.

[PATCH v4 05/20] KVM: arm/arm64: Support calling vgic_update_irq_pending from irq context

From: Marc Zyngier <hidden>
Date: 2017-10-25 13:45:28
Also in: kvm, kvmarm

On Fri, Oct 20 2017 at  1:49:24 pm BST, Christoffer Dall [off-list ref] wrote:
From: Christoffer Dall <redacted>

We are about to optimize our timer handling logic which involves
injecting irqs to the vgic directly from the irq handler.

Unfortunately, the injection path can take any AP list lock and irq lock
and we must therefore make sure to use spin_lock_irqsave where ever
interrupts are enabled and we are taking any of those locks, to avoid
deadlocking between process context and the ISR.

This changes a lot of the VGIC code, but The good news are that the
changes are mostly mechanical.

Signed-off-by: Christoffer Dall <redacted>
Acked-by: Marc Zyngier <marc,zyngier@arm.com>

	M.
-- 
Jazz is not dead. It just smells funny.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help