[PATCH] KVM: arm/arm64: Reset mapped IRQs on VM reset

Marc Zyngier marc.zyngier at arm.com
Wed Mar 7 05:02:07 PST 2018


On 05/03/18 10:36, Christoffer Dall wrote:
> We currently don't allow resetting mapped IRQs from userspace, because
> their state is controlled by the hardware.  But we do need to reset the
> state when the VM is reset, so we provide a function for the 'owner' of
> the mapped interrupt to reset the interrupt state.
> 
> Currently only the timer uses mapped interrupts, so we call this
> function from the timer reset logic.
> 
> Signed-off-by: Christoffer Dall <cdall at kernel.org>
> ---
> This depends on "KVM: arm/arm64: Avoid vcpu_load for other vcpu ioctls
> than KVM_RUN" from the VHE optimization series so that the reset doesn't
> get called while vtimer->loaded is true.

Queued for 4.16-rc5.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...



More information about the linux-arm-kernel mailing list