RE: [PATCH/RFC v4 0/4] treewide: add regulator condition on _mmc_suspend()

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

 



Hi Geert-san,

> From: Geert Uytterhoeven, Sent: Tuesday, June 30, 2020 10:19 PM
> 
> Hi Shimoda-san,
> 
> On Mon, Jun 29, 2020 at 1:49 PM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> > On Mon, Jun 29, 2020 at 12:04 PM Yoshihiro Shimoda
> > <yoshihiro.shimoda.uh@xxxxxxxxxxx> wrote:
> > > > From: Geert Uytterhoeven, Sent: Friday, June 26, 2020 7:13 PM
> > > > On Fri, Jun 26, 2020 at 11:32 AM Yoshihiro Shimoda
> > > > <yoshihiro.shimoda.uh@xxxxxxxxxxx> wrote:
> > > > > Note that v5.8-rc2 with r8a77951-salvator-xs seems to cause panic from
> > > > > PCI driver when the system is suspended. So, I disabled the PCI
> > > > > devices when I tested this patch series.
> > > >
> > > > Does this happen with current renesas-devel and renesas_defconfig?
> > > > (it doesn't for me)
> > >
> > > Yes. I enabled PM_DEBUG and E1000E though.
> > >
> > > > Do you have any PCIe devices attached? (I haven't)
> > >
> > > Yes. (Intel Ethernet card is connected to the PCI slot.)
> > >
> > > < my environment >
> > > - r8a77961-salvator-xs
> > > - renesas-devel-2020-06-26-v5.8-rc2
> > >  + renesas_defconfig + PM_DEBUG + E1000E
> > > - initramfs
> >
> > Doesn't fail for me on R-Car H3 ES2.0, so it needs the presence of a
> > PCIe card.  Unfortunately I haven't any (added to shopping wishlist).
> 
> [...]
> 
> > The failure mode looks like the PCI card is accessed while the PCI host
> > bridge has been suspended.
> 
> Does "[PATCH v1] driver core: Fix suspend/resume order issue with
> deferred probe"[1] help?
> 
> [1] https://lore.kernel.org/lkml/20200625032430.152447-1-saravanak@xxxxxxxxxx/

Even if I applied this patch, the issue still happened unfortunately.


By the way, I'm guessing the issue is related to my environment which uses BSP's ATF.
According to the commit log of upstream ATF [1], PCIe hardware is possible to causes SError.
Unfortunately, I cannot try to update the firmware for some reasons now... I'll prepare
updated firmware somehow...

[1]
https://github.com/ARM-software/arm-trusted-firmware/commit/0969397f295621aa26b3d14b76dd397d22be58bf

Best regards,
Yoshihiro Shimoda

> Gr{oetje,eeting}s,
> 
>                         Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
>                                 -- Linus Torvalds




[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