Re: Regression (sort of): PCI/portdrv: Turn off PCIe services during shutdown

okaya
2018-01-13T20:49:23Z

On 2018-01-13 14:39, Lukas Wunner wrote:
> On Sat, Jan 13, 2018 at 12:58:53PM -0500, okaya@codeaurora.org wrote:
>> I waa thinking of using nowait variant of write function in
>> notification
>> disable function in order to not introduce new behavior for existing
>> silicon.
>
> After writing to the Slot Control register to turn off IRQ
> notification,
> we free the IRQ with pciehp_free_irq(). If we don't wait for the
> command
> to complete, we risk getting an interrupt after the IRQ was freed.
>

Yeah, that is true.