diff options
author | Christoffer Dall <cdall@kernel.org> | 2018-03-05 11:36:38 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-03-14 19:29:14 +0100 |
commit | 413aa807ae39fed7e387c175d2d0ae9fcf6c0c9d (patch) | |
tree | b1a6f9ebd348103896f0e9c153d37341475f5b67 /include/xen/xen-ops.h | |
parent | KVM: arm/arm64: Avoid vcpu_load for other vcpu ioctls than KVM_RUN (diff) | |
download | linux-413aa807ae39fed7e387c175d2d0ae9fcf6c0c9d.tar.xz linux-413aa807ae39fed7e387c175d2d0ae9fcf6c0c9d.zip |
KVM: arm/arm64: Reset mapped IRQs on VM reset
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: 4c60e360d6df ("KVM: arm/arm64: Provide a get_input_level for the arch timer")
Signed-off-by: Christoffer Dall <cdall@kernel.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/xen/xen-ops.h')
0 files changed, 0 insertions, 0 deletions