RE: [PATCH 2/2] fsl/pci: The new pci suspend/resume implementation
From: Dongsheng.Wang@freescale.com <hidden>
Date: 2014-01-21 05:40:26
Also in:
linux-pci
Any more comments? :) Thanks, -Dongsheng
-----Original Message----- From: Linuxppc-dev [mailto:linuxppc-dev- bounces+b40534=3Dfreescale.com@lists.ozlabs.org] On Behalf Of Dongsheng.Wang@freescale.com Sent: Wednesday, January 08, 2014 3:13 PM To: Rafael J. Wysocki Cc: linuxppc-dev@lists.ozlabs.org; galak@codeaurora.org; Wood Scott-B0742=
1;
linux-pci@vger.kernel.org; bhelgaas@google.com Subject: RE: [PATCH 2/2] fsl/pci: The new pci suspend/resume implementati=
on
=20 =20 =20quoted
-----Original Message----- From: Rafael J. Wysocki [mailto:rjw@rjwysocki.net] Sent: Wednesday, January 08, 2014 4:42 AM To: Wang Dongsheng-B40534 Cc: bhelgaas@google.com; Wood Scott-B07421; galak@codeaurora.org; Zang =
Roy-
quoted
R61911; linux-pci@vger.kernel.org; linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 2/2] fsl/pci: The new pci suspend/resume implementa=
tion
quoted
On Tuesday, January 07, 2014 04:04:08 PM Dongsheng Wang wrote:quoted
From: Wang Dongsheng <redacted> The new suspend/resume implementation, send pme turnoff message in suspend, and send pme exit message in resume. Add a PME handler, to response PME & message interrupt. Change platform_driver->suspend/resume to syscore->suspend/resume.Can you please first describe the problem you're trying to address?If we do nothing in suspend/resume, some platform PCIe ip-block can't gua=
rantee
the link back to L0 state from sleep, then, when we read the EP device wi=
ll hang.
Only we send pme turnoff message in pci controller suspend, and send pme =
exit
message in resume, the link state will be normal. =20 When we send pme turnoff message in pci controller suspend, the links wil=
l into
l2/l3 ready, then, host cannot communicate with ep device, but pci-driver will =
call
back EP device to save them state. So we need to change platform_driver->suspend/=
resume
to syscore->suspend/resume. =20 Thanks, -Dongsheng _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev =20