[PATCH v2] PCI: rockchip: Avoid accessing PCIe registers with clocks gated
Lorenzo Pieralisi
lorenzo.pieralisi at arm.com
Tue Jun 22 03:31:58 PDT 2021
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
More information about the Linux-rockchip
mailing list