• C
    KVM: arm/arm64: Reset mapped IRQs on VM reset · 413aa807
    Christoffer Dall 提交于
    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: NChristoffer Dall <cdall@kernel.org>
    Signed-off-by: NMarc Zyngier <marc.zyngier@arm.com>
    413aa807
arch_timer.c 25.2 KB