Re: [RFC 1/3] PCI/PM: Fix kexec for D3cold and bridge suspending

2012-09-21 Thread Rafael J. Wysocki
On Friday, September 21, 2012, Huang Ying wrote: > On Thu, 2012-09-20 at 21:20 +0200, Rafael J. Wysocki wrote: > > On Monday, September 17, 2012, Bjorn Helgaas wrote: > > > +cc Eric and kexec list > > > > > > On Mon, Sep 17, 2012 at 2:54 AM, Huang Ying wrote: > > > > If PCI devices are put into D

Re: [RFC 1/3] PCI/PM: Fix kexec for D3cold and bridge suspending

2012-09-20 Thread Huang Ying
On Thu, 2012-09-20 at 21:20 +0200, Rafael J. Wysocki wrote: > On Monday, September 17, 2012, Bjorn Helgaas wrote: > > +cc Eric and kexec list > > > > On Mon, Sep 17, 2012 at 2:54 AM, Huang Ying wrote: > > > If PCI devices are put into D3cold before kexec, because the > > > configuration registers

Re: [RFC 1/3] PCI/PM: Fix kexec for D3cold and bridge suspending

2012-09-20 Thread Rafael J. Wysocki
On Monday, September 17, 2012, Bjorn Helgaas wrote: > +cc Eric and kexec list > > On Mon, Sep 17, 2012 at 2:54 AM, Huang Ying wrote: > > If PCI devices are put into D3cold before kexec, because the > > configuration registers of PCI devices in D3cold are not accessible. > > > > And if PCI bridges

Re: [RFC 1/3] PCI/PM: Fix kexec for D3cold and bridge suspending

2012-09-20 Thread Eric W. Biederman
Huang Ying writes: > On Thu, 2012-09-20 at 00:38 -0700, Eric W. Biederman wrote: >> Bjorn Helgaas writes: >> >> > +cc Eric and kexec list >> > >> > On Mon, Sep 17, 2012 at 2:54 AM, Huang Ying wrote: >> >> If PCI devices are put into D3cold before kexec, because the >> >> configuration register

Re: [RFC 1/3] PCI/PM: Fix kexec for D3cold and bridge suspending

2012-09-20 Thread Huang Ying
On Thu, 2012-09-20 at 00:38 -0700, Eric W. Biederman wrote: > Bjorn Helgaas writes: > > > +cc Eric and kexec list > > > > On Mon, Sep 17, 2012 at 2:54 AM, Huang Ying wrote: > >> If PCI devices are put into D3cold before kexec, because the > >> configuration registers of PCI devices in D3cold are

Re: [RFC 1/3] PCI/PM: Fix kexec for D3cold and bridge suspending

2012-09-20 Thread Eric W. Biederman
Bjorn Helgaas writes: > +cc Eric and kexec list > > On Mon, Sep 17, 2012 at 2:54 AM, Huang Ying wrote: >> If PCI devices are put into D3cold before kexec, because the >> configuration registers of PCI devices in D3cold are not accessible. >> >> And if PCI bridges are put into low power state bef

Re: [RFC 1/3] PCI/PM: Fix kexec for D3cold and bridge suspending

2012-09-17 Thread Bjorn Helgaas
+cc Eric and kexec list On Mon, Sep 17, 2012 at 2:54 AM, Huang Ying wrote: > If PCI devices are put into D3cold before kexec, because the > configuration registers of PCI devices in D3cold are not accessible. > > And if PCI bridges are put into low power state before kexec, > configuration regist

[RFC 1/3] PCI/PM: Fix kexec for D3cold and bridge suspending

2012-09-17 Thread Huang Ying
If PCI devices are put into D3cold before kexec, because the configuration registers of PCI devices in D3cold are not accessible. And if PCI bridges are put into low power state before kexec, configuration registers of PCI devices underneath the PCI bridges are not accessible too. These will make