Re: [PATCH v4 0/2] Bug fixes when dwc generic suspend/resume callbacks are used

Krzysztof Wilczyński
2025-01-15T11:34:01Z

Hello,

> Some bug fixes when DWC generic suspend/resume callbacks are used.
> Drop the first patch of v3 patch-set, since the use case of this patch had been
> covered by #3 commit "PCI: dwc: Clean up some unnecessary codes in dw_pcie_suspend_noirq()".
> To be simple, re-format the codes, drop the first patch of v3 patch-set, and
> only keep last two patches of v3 in v4 or later
>
> Here is the discussion [1] and final solution [2] of the codes clean up commit.
> [1] https://patchwork.kernel.org/project/linux-pci/patch/1721628913-1449-1-git-send-email-hongxing.zhu@nxp.com/
> [2] https://patchwork.kernel.org/project/linux-pci/patch/20241126073909.4058733-1-hongxing.zhu@nxp.com/
>
> v4 changes:
> Drop the first patch("PCI: dwc: Fix resume failure if no EP is connected on some platforms")
> in v3, since it's use-case had been covered by #3 patch of v3.
> Add one Fixes tag into "PCI: dwc: Clean up some unnecessary codes in dw_pcie_suspend_noirq()".
> Refer to Damien's comments, let ret test go inside the "else" and remove the
> initialization of ret to 0 declaration. Thanks.

Applied to controller/dwc for v6.14, thank you!

Krzysztof