[PATCH v2 0/3] PCI: rzg3s: Fix issues in cleanup paths
From: Prabhakar
Date: Mon Jul 27 2026 - 06:18:07 EST
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>
Hi all,
This series fixes a few issues in the cleanup paths of the Renesas RZ/G3S
PCIe host controller driver. The fixes include:
- Disabling the PCIe reference clock on probe failure.
- Propagating the original error code from platform_get_irq_byname() to
allow probe deferral.
- Unwinding chained handler registration on error in
rzg3s_pcie_init_irqdomain() and clearing chained handlers in
rzg3s_pcie_teardown_irqdomain() to avoid leaving stale handler and data
pointers attached to the parent interrupts.
Note:
- This patch applies on top of pci-next (commit - 90c4d88be15e).
- There is a patch [0] inflight for this driver which doesn't apply
on pci-next. As there is a conflict between the two, the patch [0]
will be rebased on top of this series and v3 will be sent out for review.
[0] https://lore.kernel.org/all/20260630141720.3938514-1-john.madieu.xa@xxxxxxxxxxxxxx/
Cheers,
Prabhakar
Lad Prabhakar (3):
PCI: rzg3s: Disable refclk on probe failure
PCI: rzg3s: Propagate platform_get_irq_byname() errors
PCI: rzg3s: Fix IRQ domain initialization error handling
drivers/pci/controller/pcie-rzg3s-host.c | 50 ++++++++++++++++++------
1 file changed, 37 insertions(+), 13 deletions(-)
base-commit: 90c4d88be15e11c1e922ef93e611b5e28103e37b
--
2.54.0