[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1614334003.25750.17.camel@mhfsdcap03>
Date: Fri, 26 Feb 2021 18:06:43 +0800
From: Jianjun Wang <jianjun.wang@...iatek.com>
To: Krzysztof Wilczyński <kw@...ux.com>
CC: Bjorn Helgaas <helgaas@...nel.org>,
Rob Herring <robh+dt@...nel.org>, <maz@...nel.org>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
Ryder Lee <ryder.lee@...iatek.com>,
Philipp Zabel <p.zabel@...gutronix.de>,
"Matthias Brugger" <matthias.bgg@...il.com>,
<linux-pci@...r.kernel.org>, <linux-mediatek@...ts.infradead.org>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
"Sj Huang" <sj.huang@...iatek.com>, <youlin.pei@...iatek.com>,
<chuanjia.liu@...iatek.com>, <qizhong.cheng@...iatek.com>,
<sin_jieyang@...iatek.com>, <drinkcat@...omium.org>,
<Rex-BC.Chen@...iatek.com>, <anson.chuang@...iatek.com>
Subject: Re: [v8,6/7] PCI: mediatek-gen3: Add system PM support
Hi Krzysztof,
Thanks for your suggestion, I will fix it in the next version.
On Thu, 2021-02-25 at 23:00 +0100, Krzysztof Wilczyński wrote:
> Hi Jianjun,
>
> [...]
> > Thanks for your review,
>
> Thank YOU for all the work here!
>
> [...]
> > > > Add suspend_noirq and resume_noirq callback functions to implement
> > > > PM system suspend hooks for MediaTek Gen3 PCIe controller.
> > >
> > > So, "systems suspend" and "resume" hooks, correct?
> >
> > The callback functions is suspend_noirq and resume_noirq, should I use
> > "systems suspend" and "resume" in the commit message?
> [...]
>
>
> What I meant was something along these lines:
>
> Add suspend_noirq and resume_noirq callback functions to implement PM
> system suspend and resume hooks for the MediaTek Gen3 PCIe controller.
>
> When the system suspends, trigger the PCIe link to enter the L2 state
> and pull down the PERST# pin, gating the clocks of the MAC layer, and
> then power-off the physical layer to provide power-saving.
>
> When the system resumes, the PCIe link should be re-established and the
> related control register values should be restored.
>
> The above is just a suggestion, thus feel tree to ignore it completely,
> and it's heavily based on your original commit message.
>
> Krzysztof
Thanks.
Powered by blists - more mailing lists