[PATCH v2 0/2] Bug fixes when generic suspend/resume functions are used

From: Richard Zhu
Date: Thu Oct 10 2024 - 02:11:22 EST


Two bug fixes when dwc generic suspend/resume callbacks are used.

The patch #1 is issued before, but it's not applied yet refer to [1].
Combine these two bug fixes into one series and send here.

[1] https://patchwork.kernel.org/project/linux-pci/patch/1721628913-1449-1-git-send-email-hongxing.zhu@xxxxxxx/

v2 changes:
Thanks for Manivannan's review.
- Refine the subject of second patch and add
"Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>"
- In first patch, update the commit message and move one comment into
proper place.
BTW, Manivannan found another potential issue that suspend is entry but
the link is in L1SS stat in v1 review. This is a new story. And it's better
to be verified and fixed by another commit later.

[PATCH v2 1/2] PCI: dwc: Fix resume failure if no EP is connected on
[PATCH v2 2/2] PCI: dwc: Always stop link in the

drivers/pci/controller/dwc/pcie-designware-host.c | 31 ++++++++++++++++---------------
1 file changed, 16 insertions(+), 15 deletions(-)