Linux PCI subsystem development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] PCI: dwc: Suspend/resume rework
@ 2025-12-18 12:04 Manivannan Sadhasivam via B4 Relay
  2025-12-18 12:04 ` [PATCH v2 1/2] PCI: dwc: Skip PME_Turn_Off broadcast and L2/L3 transition during suspend if link is not up Manivannan Sadhasivam via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Manivannan Sadhasivam via B4 Relay @ 2025-12-18 12:04 UTC (permalink / raw)
  To: Jingoo Han, Manivannan Sadhasivam, Lorenzo Pieralisi,
	Krzysztof Wilczyński, Rob Herring, Bjorn Helgaas
  Cc: linux-pci, linux-kernel, vincent.guittot, zhangsenchuan,
	Manivannan Sadhasivam, Frank Li, Shawn Lin

Hi,

This series is a rework of [1] to allow DWC vendor glue drivers to use the
dw_pcie_suspend_noirq() and dw_pcie_resume_noirq() APIs without failures as
reported in [2][3].

Currently, both of these APIs will fail if there is no device connected to the
bus. This is not fair as suspend/resume should continue even if there is no
device. Hence, this series tries to address this limitation.

- Mani

[1] https://lore.kernel.org/linux-pci/20251107044319.8356-4-manivannan.sadhasivam@oss.qualcomm.com/
[2] https://lore.kernel.org/linux-pci/CAKfTPtCtHquxtK=Zx2WSNm15MmqeUXO8XXi8FkS4EpuP80PP7g@mail.gmail.com/
[3] https://lore.kernel.org/linux-pci/27516921.17f2.1997bb2a498.Coremail.zhangsenchuan@eswincomputing.com/

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>
---
Changes in v2:
- Changed the logic to check for Detect.Quiet/Active states
- Collected tags and rebased on top of v6.19-rc1
- Link to v1: https://lore.kernel.org/r/20251119-pci-dwc-suspend-rework-v1-0-aad104828562@oss.qualcomm.com

---
Manivannan Sadhasivam (2):
      PCI: dwc: Skip PME_Turn_Off broadcast and L2/L3 transition during suspend if link is not up
      PCI: dwc: Do not return failure if link is in Detect.Quiet/Active states

 drivers/pci/controller/dwc/pcie-designware-host.c | 12 +++++++++---
 drivers/pci/controller/dwc/pcie-designware.c      | 12 +++++++++++-
 2 files changed, 20 insertions(+), 4 deletions(-)
---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20251119-pci-dwc-suspend-rework-8b0515a38679

Best regards,
-- 
Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2025-12-18 13:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-18 12:04 [PATCH v2 0/2] PCI: dwc: Suspend/resume rework Manivannan Sadhasivam via B4 Relay
2025-12-18 12:04 ` [PATCH v2 1/2] PCI: dwc: Skip PME_Turn_Off broadcast and L2/L3 transition during suspend if link is not up Manivannan Sadhasivam via B4 Relay
2025-12-18 12:04 ` [PATCH v2 2/2] PCI: dwc: Do not return failure if link is in Detect.Quiet/Active states Manivannan Sadhasivam via B4 Relay
2025-12-18 12:27   ` Krishna Chaitanya Chundru
2025-12-18 12:46     ` Manivannan Sadhasivam
2025-12-18 12:56       ` Krishna Chaitanya Chundru
2025-12-18 13:00         ` Manivannan Sadhasivam
2025-12-18 13:28           ` Krishna Chaitanya Chundru
2025-12-18 12:45   ` Shawn Lin
2025-12-18 12:55     ` Manivannan Sadhasivam
2025-12-18 13:09 ` (subset) [PATCH v2 0/2] PCI: dwc: Suspend/resume rework Manivannan Sadhasivam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox