[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] hw/block/nvme: fix bug with PCI IRQ pins on tea
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] hw/block/nvme: fix bug with PCI IRQ pins on teardown |
Date: |
Thu, 22 Nov 2018 16:24:40 +0100 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Am 21.11.2018 um 19:10 hat Logan Gunthorpe geschrieben:
> When the submission and completion queues are being torn down
> the IRQ will be asserted for the completion queue when the
> submsission queue is deleted. Then when the completion queue
> is deleted it stays asserted. Thus, on systems that do
> not use MSI, no further interrupts can be triggered on the host.
>
> Linux sees this as a long delay when unbinding the nvme device.
> Eventually the interrupt timeout occurs and it continues.
>
> To fix this we ensure we deassert the IRQ for a CQ when it is
> deleted.
>
> Signed-off-by: Logan Gunthorpe <address@hidden>
Thanks, applied to the block branch.
Kevin