Skip to content

PCI: endpoint: add D-state change notifier support

Krishna chaitanya chundru linux-arm-msm linux-doc linux-pci lkml mhi 9 versions – In review

Get series with b4
b4 am [email protected] change-id 20230907-dstate_change-b2eba8bea718

Versions newest first · linked by author and title

  1. v6 posting 2/25 patches 4 repliesIn review
  2. v7 Latest4 patches 6 repliesIn review
  3. v6 posting 1/24 patches 0 repliesSuperseded
Earlier versions · 6
VersionPostedPatchesRepliesStatus
v5 posting 2/25 patches0 repliesSuperseded
v5 posting 1/24 patches6 repliesSuperseded
v49 patches17 repliesSuperseded
v39 patches4 repliesSuperseded
v28 patches14 repliesSuperseded
v1 RFC3 patches12 repliesSuperseded

Changes in v7 from the cover letter

- Rebased on linux next.
- Link to v6: https://lore.kernel.org/all/[email protected]/T/

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PCI: endpoint: Add D-state change notifier supportDocumentation/PCI/endpoint/pci-endpoint.rst drivers/pci/endpoint/pci-epc-core.c include/linux/pci-epc.h +1 more+31 -00 replies
2/4PCI: qcom-ep: Add support for D-state change notificationdrivers/pci/controller/dwc/pcie-qcom-ep.c+7 -16 replies
3/4PCI: qcom-ep: Print D-state name to distinguish D3hot/D3colddrivers/pci/controller/dwc/pcie-qcom-ep.c+1 -10 replies
4/4PCI: epf-mhi: Add support for handling D-state notify from EPCdrivers/pci/endpoint/functions/pci-epf-mhi.c include/linux/mhi_ep.h+14 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchManivannan Sadhasivam
1/4
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 0/4] PCI: endpoint: add D-state change notifier support

In this series we added the support to nofity the EPF driver whenever there is change in the D-state if the EPF driver registered for it.

This series needed by the following series for epf driver to know whether link is in D3Cold or D3hot to wake the host because EPF driver needs to send PME when the link is D3hot and toggle wake when the link is in D3Cold('PCI: EPC: Add support to wake up host from D3 states').

The following link is for older series a newer series will be sent after rebasing on this series.
https://lore.kernel.org/linux-pci/[email protected]/T/

---
Changes from v6:
- Rebased on linux next.
- Link to v6: https://lore.kernel.org/all/[email protected]/T/
Changes from v5:
- Fixed compilation errors & removed checks in the dstate_notify()
function as suggested by bjorn.

---
Krishna chaitanya chundru (4):
PCI: endpoint: Add D-state change notifier support
PCI: qcom-ep: Add support for D-state change notification
PCI: qcom-ep: Print D-state name to distinguish D3hot/D3cold
PCI: epf-mhi: Add support for handling D-state notify from EPC

 Documentation/PCI/endpoint/pci-endpoint.rst  |  3 +++
 drivers/pci/controller/dwc/pcie-qcom-ep.c    | 10 ++++++++--
 drivers/pci/endpoint/functions/pci-epf-mhi.c | 11 +++++++++++
 drivers/pci/endpoint/pci-epc-core.c          | 24 ++++++++++++++++++++++++
 include/linux/mhi_ep.h                       |  3 +++
 include/linux/pci-epc.h                      |  2 ++
 include/linux/pci-epf.h                      |  2 ++
 7 files changed, 53 insertions(+), 2 deletions(-)

---
base-commit: 82d01fe6ee52086035b201cfa1410a3b04384257
change-id: 20240710-dstate_notifier-2c2f4e2b4eed

Best regards,

Signature · 1 line
Krishna chaitanya chundru <[email protected]>