Re: [BUG 4.15-rc7] IRQ matrix management errors

From: Thomas Gleixner
Date: Mon Jan 15 2018 - 04:13:52 EST


On Sun, 14 Jan 2018, Keith Busch wrote:

> I hoped to have a better report before the weekend, but I've run out of
> time and without my machine till next week, so sending what I have and
> praying someone more in the know will have a better clue.
>
> I've a few NVMe drives and occasionally the IRQ teardown and bring-up
> is failing. Resetting the controllers to re-run interrupt allocation
> results in device interrupts from not occuring at all.
>
> It appears I need at least 2 NVMe drives for the problem. The NVMe
> driver initializes controllers in parallel, and multiple threads calling
> pci_alloc_irq_vectors and/or pci_free_vectors at about the same time
> seems required to trigger the issue.
>
> Here are the relavent warnings. I also have trace events from irq_matrix
> and irq_vectors, but from a different run that won't match up to the
> timestamps below, but can send if that's helpful.

The dmesg is not that interesting. The traces definitely are if you can
identify the point where it goes into lala land.

Thanks,

tglx