From: Bjorn Helgaas <helgaas@kernel.org>
To: Frank Li <Frank.li@nxp.com>
Cc: bhelgaas@google.com, devicetree@vger.kernel.org,
gustavo.pimentel@synopsys.com, imx@lists.linux.dev, kw@linux.com,
leoyang.li@nxp.com, linux-arm-kernel@lists.infradead.org,
linux-imx@nxp.com, linux-kernel@vger.kernel.org,
linux-pci@vger.kernel.org, lorenzo.pieralisi@arm.com,
lpieralisi@kernel.org, mani@kernel.org,
manivannan.sadhasivam@linaro.org, minghuan.lian@nxp.com,
mingkai.hu@nxp.com, robh+dt@kernel.org, roy.zang@nxp.com,
shawnguo@kernel.org, zhiqiang.hou@nxp.com
Subject: Re: [PATCH v12 2/3] PCI: dwc: Implement general suspend/resume functionality for L2/L3 transitions
Date: Thu, 1 Feb 2024 11:53:55 -0600 [thread overview]
Message-ID: <20240201175355.GA639928@bhelgaas> (raw)
In-Reply-To: <ZbvQB/X0kwFs7nAb@lizhi-Precision-Tower-5810>
On Thu, Feb 01, 2024 at 12:08:23PM -0500, Frank Li wrote:
> On Thu, Feb 01, 2024 at 10:50:25AM -0600, Bjorn Helgaas wrote:
> > On Mon, Aug 21, 2023 at 02:48:14PM -0400, Frank Li wrote:
> > > Introduce helper function dw_pcie_get_ltssm() to retrieve SMLH_LTSS_STATE.
> > > ...
> >
> > > diff --git a/drivers/pci/controller/dwc/pcie-designware.h b/drivers/pci/controller/dwc/pcie-designware.h
> > > index 615660640801..91d13f9b21b1 100644
> > > --- a/drivers/pci/controller/dwc/pcie-designware.h
> > > +++ b/drivers/pci/controller/dwc/pcie-designware.h
> >
> > > @@ -364,6 +375,7 @@ struct dw_pcie_ops {
> > > void (*write_dbi2)(struct dw_pcie *pcie, void __iomem *base, u32 reg,
> > > size_t size, u32 val);
> > > int (*link_up)(struct dw_pcie *pcie);
> > > + enum dw_pcie_ltssm (*get_ltssm)(struct dw_pcie *pcie);
> >
> > This has already been applied as
> > https://git.kernel.org/linus/4774faf854f5 ("PCI: dwc: Implement
> > generic suspend/resume functionality"), but this .get_ltssm() pointer
> > doesn't seem to be used anywhere. Should we remove it until we need
> > it?
>
> Could you place hold on for a while? I am working on imx PCIe. One old
> imx6 may need it!
>
> If not, I will submit patch to clean it. My new patches depend on
>
> https://lore.kernel.org/imx/ZbJ+tFPn3aOYHCwf@lizhi-Precision-Tower-5810/T/#t
>
> All already reviewed, could you please pick up these, so I can continue
> my futher work.
>
> Another
> https://lore.kernel.org/imx/20240201-pme_msg-v2-0-6767052fe6a4@nxp.com/T/#t
> was under review.
OK. I don't see .get_ltssm() used in that series either. But if you
will need it soon, no point in removing it right now.
Bjorn
next prev parent reply other threads:[~2024-02-01 17:53 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-21 18:48 [PATCH v12 0/3] dwc general suspend/resume functionality Frank Li
2023-08-21 18:48 ` [PATCH v12 1/3] PCI: Add macro PCIE_PME_TO_L2_TIMEOUT_US Frank Li
2023-08-21 18:48 ` [PATCH v12 2/3] PCI: dwc: Implement general suspend/resume functionality for L2/L3 transitions Frank Li
2024-02-01 16:50 ` Bjorn Helgaas
2024-02-01 17:08 ` Frank Li
2024-02-01 17:53 ` Bjorn Helgaas [this message]
2023-08-21 18:48 ` [PATCH v12 3/3] PCI: layerscape: Add power management support for ls1028a Frank Li
2023-08-22 9:02 ` Lorenzo Pieralisi
2023-08-22 14:30 ` Frank Li
2023-08-23 7:53 ` Manivannan Sadhasivam
2023-08-23 14:15 ` Frank Li
2023-08-24 9:50 ` [PATCH v12 0/3] dwc general suspend/resume functionality Lorenzo Pieralisi
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=20240201175355.GA639928@bhelgaas \
--to=helgaas@kernel.org \
--cc=Frank.li@nxp.com \
--cc=bhelgaas@google.com \
--cc=devicetree@vger.kernel.org \
--cc=gustavo.pimentel@synopsys.com \
--cc=imx@lists.linux.dev \
--cc=kw@linux.com \
--cc=leoyang.li@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lorenzo.pieralisi@arm.com \
--cc=lpieralisi@kernel.org \
--cc=mani@kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=minghuan.lian@nxp.com \
--cc=mingkai.hu@nxp.com \
--cc=robh+dt@kernel.org \
--cc=roy.zang@nxp.com \
--cc=shawnguo@kernel.org \
--cc=zhiqiang.hou@nxp.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;
as well as URLs for NNTP newsgroup(s).