Re: [PATCH v2] PCI: rockchip: Avoid accessing PCIe registers with clocks gated

From: Lorenzo Pieralisi
Date: Tue Jun 22 2021 - 06:32:08 EST


On Tue, 8 Jun 2021 10:04:09 +0200, Javier Martinez Canillas wrote:
> IRQ handlers that are registered for shared interrupts can be called at
> any time after have been registered using the request_irq() function.
>
> It's up to drivers to ensure that's always safe for these to be called.
>
> Both the "pcie-sys" and "pcie-client" interrupts are shared, but since
> their handlers are registered very early in the probe function, an error
> later can lead to these handlers being executed before all the required
> resources have been properly setup.
>
> [...]

Applied to pci/rockchip, thanks!

[1/1] PCI: rockchip: Avoid accessing PCIe registers with clocks gated
https://git.kernel.org/lpieralisi/pci/c/c025f5b2e5

Thanks,
Lorenzo