Skip to content

Commit ed343aa

Browse files
committed
Merge tag 'kvmarm-fixes-5.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
KVM/arm64 fixes for 5.17, take #3 - Fix pending state read of a HW interrupt
2 parents fcb732d + 5bfa685 commit ed343aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: arch/arm64/kvm/vgic/vgic-mmio.c

+2
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ unsigned long vgic_mmio_read_pending(struct kvm_vcpu *vcpu,
248248
IRQCHIP_STATE_PENDING,
249249
&val);
250250
WARN_RATELIMIT(err, "IRQ %d", irq->host_irq);
251+
} else if (vgic_irq_is_mapped_level(irq)) {
252+
val = vgic_get_phys_line_level(irq);
251253
} else {
252254
val = irq_is_pending(irq);
253255
}

0 commit comments

Comments
 (0)