Re: [PATCH V2] PCI: rcar: Add the initialization of PCIe link in resume_noirq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 22, 2019 at 01:09:13PM +0100, Marek Vasut wrote:
> On 3/22/19 12:31 PM, Lorenzo Pieralisi wrote:
> > On Sun, Feb 17, 2019 at 02:24:41PM +0100, marek.vasut@xxxxxxxxx wrote:
> >> From: Kazufumi Ikeda <kaz-ikeda@xxxxxxxxxxxxx>
> >>
> >> Reestablish the PCIe link very early in the resume process in case it
> >> went down to prevent PCI accesses from hanging the bus. Such accesses
> > 
> > Hi Marek, Kazufumi,
> 
> Hi,
> 
> > Apologies for the delay.
> > 
> > Just as a clarification, when you state "in case it went down" isn't
> > this supposed to happen for every suspend cycle ? Let me know and I
> > will add a comment to the patch commit log.
> 
> It does happen on every suspend/resume cycle and if you manually put a
> remote endpoint into non-L0 state.

Ok I will update the log then.

> >> can happen early in the PCI resume process, in the resume_noirq, thus
> >> the link must be reestablished in the resume_noirq callback of the
> >> driver.
> >>
> >> Signed-off-by: Kazufumi Ikeda <kaz-ikeda@xxxxxxxxxxxxx>
> >> Signed-off-by: Gaku Inami <gaku.inami.xw@xxxxxxxxxxxxxx>
> >> Signed-off-by: Marek Vasut <marek.vasut+renesas@xxxxxxxxx>
> >> Cc: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> >> Cc: Phil Edworthy <phil.edworthy@xxxxxxxxxxx>
> >> Cc: Simon Horman <horms+renesas@xxxxxxxxxxxx>
> >> Cc: Wolfram Sang <wsa@xxxxxxxxxxxxx>
> >> Cc: linux-renesas-soc@xxxxxxxxxxxxxxx
> > 
> > This looks like a fix (most likely fixing initial S2R support, please
> > help me chase the commit ID), should we consider it for stable kernels ?
> > 
> > Without it I understand S2R is actually broken on platforms with this
> > host bridge.
> I don't think this ever worked, so it's hard to find a Fixes: commit for
> this.

If we want to send it to stable kernels we have to select which versions
we are covering. I think the only options for a Fixes: tag are either
the initial S2R support commit for the platforms this driver runs on
or the initial driver commit that harks back to v3.16 AFAICS.

I will queue it next week so there is some time to think about it.

Thanks,
Lorenzo



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux