[PATCH v3 0/3] PCI: rzg3s: Fix issues in cleanup paths

Prabhakar posted 3 patches 1 month, 2 weeks ago
drivers/pci/controller/pcie-rzg3s-host.c | 51 +++++++++++++++++-------
1 file changed, 37 insertions(+), 14 deletions(-)
[PATCH v3 0/3] PCI: rzg3s: Fix issues in cleanup paths
Posted by Prabhakar 1 month, 2 weeks ago
From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

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.


v2->v3:
- Added rzg3s_pcie_teardown_intx() helper to remove the irqdomain
  and clear chained handlers.
- Updated commit message for patch 3.

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 | 51 +++++++++++++++++-------
 1 file changed, 37 insertions(+), 14 deletions(-)

-- 
2.43.0
Re: [PATCH v3 0/3] PCI: rzg3s: Fix issues in cleanup paths
Posted by Manivannan Sadhasivam 2 weeks, 4 days ago
On Tue, 11 Aug 2026 21:00:10 +0100, Prabhakar wrote:
> From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> 
> 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.
> 
> [...]

Applied, thanks!

[1/3] PCI: rzg3s: Disable refclk on probe failure
      commit: f03f56f21ce0770f38f3251924a0ca98699c38ed
[2/3] PCI: rzg3s: Propagate platform_get_irq_byname() errors
      commit: 49daf16c881bc91a55355a3e7f03471c2b213255
[3/3] PCI: rzg3s: Fix IRQ domain initialization error handling
      commit: 5d9e9b3a27994a2fadce283801b7104a68ea4c48

Best regards,
-- 
மணிவண்ணன் சதாசிவம்