completion timeouts with pin-based interrupts in QEMU hw/nvme

Klaus Jensen its at irrelevant.dk
Wed Jan 18 23:06:43 PST 2023


On Jan 18 15:26, Keith Busch wrote:
> Klaus,
> 
> This isn't going to help your issue, but there are at least two legacy
> irq bugs in the nvme qemu implementation.
> 
> 1. The admin queue breaks if start with legacy and later initialize
> msix.
> 

Hmm. Interesting that we have not encountered this before - is this
because the kernel will enable MSI-X early and use it for the admin
queue immediately?

> 2. The legacy vector is shared among all queues, but it's being
> deasserted when the first queue's doorbell makes it empty. It should
> remain enabled if any cq is non-empty.

I was certain that we fixed this already in commit 83d7ed5c570
("hw/nvme: fix pin-based interrupt behavior (again)")...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20230119/0d70a2e2/attachment-0001.sig>


More information about the Linux-nvme mailing list