[PATCH 0/2] phy: zynqmp: fix clock and runtime PM error paths in xpsgtr driver

Radhey Shyam Pandey posted 2 patches 4 days, 10 hours ago
drivers/phy/xilinx/phy-zynqmp.c | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
[PATCH 0/2] phy: zynqmp: fix clock and runtime PM error paths in xpsgtr driver
Posted by Radhey Shyam Pandey 4 days, 10 hours ago
This series fixes two pre-existing resource handling bugs in the Zynq
UltraScale+ MPSoC Gigabit Transceiver (XPSGTR) PHY driver. They were
reported during review of the SERDES scrambler series [1] and were
intentionally deferred to this follow-up series.

Patch 1:
Propagate clk_prepare_enable() failures from xpsgtr_phy_init() and 
disable the reference clock on initialization error paths.

Patch 2:
Move saved_regs allocation before runtime PM resume to avoid 
leaking the runtime PM usage count on probe failures.

[1]: https://lore.kernel.org/all/20260627155229.2791113-1-radhey.shyam.pandey@amd.com

Radhey Shyam Pandey (2):
  phy: zynqmp: fix clock error handling in xpsgtr_phy_init()
  phy: zynqmp: fix runtime PM leak on probe allocation failure

 drivers/phy/xilinx/phy-zynqmp.c | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)


base-commit: 0718283ab28bc3907e10b61a6b4be6fefa1cbb2f
-- 
2.43.0
Re: [PATCH 0/2] phy: zynqmp: fix clock and runtime PM error paths in xpsgtr driver
Posted by Vinod Koul 2 days, 17 hours ago
On Mon, 20 Jul 2026 21:08:29 +0530, Radhey Shyam Pandey wrote:
> This series fixes two pre-existing resource handling bugs in the Zynq
> UltraScale+ MPSoC Gigabit Transceiver (XPSGTR) PHY driver. They were
> reported during review of the SERDES scrambler series [1] and were
> intentionally deferred to this follow-up series.
> 
> Patch 1:
> Propagate clk_prepare_enable() failures from xpsgtr_phy_init() and
> disable the reference clock on initialization error paths.
> 
> [...]

Applied, thanks!

[1/2] phy: zynqmp: fix clock error handling in xpsgtr_phy_init()
      commit: e4779e2a16d600892aaf743438f6ce8cc4eb3c4c
[2/2] phy: zynqmp: fix runtime PM leak on probe allocation failure
      commit: f3506e15cf72e94f62d5f2d173e5b7008f644cde

Best regards,
-- 
~Vinod