mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
KVM: arm/arm64: vgic: Stop injecting the MSI occurrence twice
am: d408d23add
Change-Id: I14ef2d6cd8122ab2fd11875c8aba8728a676ae8c
This commit is contained in:
@@ -99,6 +99,9 @@ int kvm_set_msi(struct kvm_kernel_irq_routing_entry *e,
|
||||
if (!vgic_has_its(kvm))
|
||||
return -ENODEV;
|
||||
|
||||
if (!level)
|
||||
return -1;
|
||||
|
||||
return vgic_its_inject_msi(kvm, &msi);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user