• Christoffer Dall's avatar
    KVM: arm/arm64: Reset mapped IRQs on VM reset · 413aa807
    Christoffer Dall authored
    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.
    
    Cc: stable@vger.kernel.org
    Fixes: 4c60e360 ("KVM: arm/arm64: Provide a get_input_level for the arch timer")
    Signed-off-by: default avatarChristoffer Dall <cdall@kernel.org>
    Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
    413aa807
arm_vgic.h 10.7 KB