From: Bjorn Helgaas <helgaas@kernel.org>
To: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Cc: manivannan.sadhasivam@linaro.org, linux-pci@vger.kernel.org,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
quic_vbadigan@quicinc.com, quic_nitegupt@quicinc.com,
quic_skananth@quicinc.com, quic_ramkri@quicinc.com,
krzysztof.kozlowski@linaro.org
Subject: Re: [PATCH v3 0/9] PCI: EPC: Add support to wake up host from D3 states
Date: Fri, 7 Jul 2023 09:57:03 -0500 [thread overview]
Message-ID: <20230707145703.GA139553@bhelgaas> (raw)
In-Reply-To: <1688727836-11141-1-git-send-email-quic_krichai@quicinc.com>
On Fri, Jul 07, 2023 at 04:33:47PM +0530, Krishna chaitanya chundru wrote:
> Here we propose this patch series to add support in PCI endpoint
> driver to wake up host from D3 states.
>
> As endpoint cannot send any data/MSI when the D-state is in
> D3cold or D3hot. Endpoint needs to bring the device back to D0
> to send any kind of data.
>
> For this endpoint needs to send inband PME the device is in D3 state or
> toggle wake when the device is D3 cold and vaux is not supplied.
>
> As EPF doestn't know the D-state of the PCI, added a notify op whenever
> device state changes.
>
> Based on the D-state the EPF driver decides to wake host either by
> toggling wake or by sending PME.
>
> When the MHI state is in M3 MHI driver will wakeup the host using the
> wakeup op.
>
> Changes from v2:
> - Addressed review comments made by mani.
> Changes from v1:
> - Moved from RFC patch to regular patch
> - Inclueded EPF patch and added a new op patch to notify D-state change
>
> *** BLURB HERE ***
>
> Krishna chaitanya chundru (9):
> PCI: endpoint: Add dstate change notifier support
"D-state" to match the other patches.
> PCI: qcom-ep: Add support for D-state change notification
> PCI: qcom-ep: Update the D-state log
> PCI: epf-mhi: Add support for handling D-state notify from EPC
> PCI: endpoint: Add wakeup host API to EPC core
> pci: dwc: Add wakeup host op to pci_epc_ops
"PCI:" to match the rest.
> PCI: qcom-ep: Add wake up host op to dw_pcie_ep_ops
> PCI: epf-mhi: Add wakeup host op
> bus: mhi: ep: wake up host is the MHI state is in M3
"Wake up host ..." to match previous history of the file.
"*if* MHI state is M3"? (Not "is the ...")
> Documentation/PCI/endpoint/pci-endpoint.rst | 11 +++++
> drivers/bus/mhi/ep/main.c | 28 ++++++++++++
> drivers/pci/controller/dwc/pcie-designware-ep.c | 12 +++++
> drivers/pci/controller/dwc/pcie-designware.h | 3 ++
> drivers/pci/controller/dwc/pcie-qcom-ep.c | 36 ++++++++++++++-
> drivers/pci/endpoint/functions/pci-epf-mhi.c | 28 ++++++++++++
> drivers/pci/endpoint/pci-epc-core.c | 58 +++++++++++++++++++++++++
> include/linux/mhi_ep.h | 4 ++
> include/linux/pci-epc.h | 12 +++++
> include/linux/pci-epf.h | 1 +
> 10 files changed, 192 insertions(+), 1 deletion(-)
>
> --
> 2.7.4
>
prev parent reply other threads:[~2023-07-07 14:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-07 11:03 [PATCH v3 0/9] PCI: EPC: Add support to wake up host from D3 states Krishna chaitanya chundru
2023-07-07 11:03 ` [PATCH v3 1/9] PCI: endpoint: Add dstate change notifier support Krishna chaitanya chundru
2023-07-07 11:03 ` [PATCH v3 2/9] PCI: qcom-ep: Add support for D-state change notification Krishna chaitanya chundru
2023-07-07 11:03 ` [PATCH v3 3/9] PCI: qcom-ep: Update the D-state log Krishna chaitanya chundru
2023-07-07 11:03 ` [PATCH v3 4/9] PCI: epf-mhi: Add support for handling D-state notify from EPC Krishna chaitanya chundru
2023-07-07 11:03 ` [PATCH v3 5/9] PCI: endpoint: Add wakeup host API to EPC core Krishna chaitanya chundru
2023-07-07 11:03 ` [PATCH v3 6/9] pci: dwc: Add wakeup host op to pci_epc_ops Krishna chaitanya chundru
2023-07-07 11:03 ` [PATCH v3 7/9] PCI: qcom-ep: Add wake up host op to dw_pcie_ep_ops Krishna chaitanya chundru
2023-07-07 11:03 ` [PATCH v3 8/9] PCI: epf-mhi: Add wakeup host op Krishna chaitanya chundru
2023-07-07 11:03 ` [PATCH v3 9/9] bus: mhi: ep: wake up host is the MHI state is in M3 Krishna chaitanya chundru
2023-07-07 11:41 ` Dan Carpenter
2023-07-07 15:12 ` Bjorn Helgaas
2023-07-11 6:15 ` Krishna Chaitanya Chundru
2023-07-07 14:57 ` Bjorn Helgaas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230707145703.GA139553@bhelgaas \
--to=helgaas@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=quic_krichai@quicinc.com \
--cc=quic_nitegupt@quicinc.com \
--cc=quic_ramkri@quicinc.com \
--cc=quic_skananth@quicinc.com \
--cc=quic_vbadigan@quicinc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox