Re: [PATCH v4 1/3] KVM: s390: Improve floating IRQ injection behavior
| Newsgroups | org.kernel.vger.linux-s390,org.kernel.vger.kvm |
|---|---|
| Message-ID | <[email protected]> |
> Floating IRQs can be handled by any VCPU that opened its masks. The > current design does not check if the mask is open when a floating IRQ > is injected via the FLIC. It will wakeup the last VCPU that went > sleeping hoping it's the correct one. > > Improve this by checking if the VCPU has pending IRQs and if not try > to find another VCPU which can take the IRQ. > > This is not the final fix around this topic but we'll eventually > inject a pending IRQ. The current code can easily deadlock a VM and > with this fix we work around that. > > Signed-off-by: Janosch Frank <[email protected]> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1