kernel_optimize_test/arch/powerpc/platforms/85xx
Wang Dongsheng 48b16180d0 fsl/pci: The new pci suspend/resume implementation
If we do nothing in suspend/resume, some platform PCIe ip-block
can't guarantee the link back to L0 state from sleep, then, when
we read the EP device will hang. Only we send pme turnoff message
in pci controller suspend, and send pme exit message in resume, the
link state will be normal.

When we send pme turnoff message in pci controller suspend, the
links will 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.

So the new suspend/resume implementation, send pme turnoff message
in suspend, and send pme exit message in resume. And add a PME handler,
to response PME & message interrupt.

Change platform_driver->suspend/resume to syscore->suspend/resume.
pci-driver will call back EP device, to save EP state in
pci_pm_suspend_noirq, so we need to keep the link, until
pci_pm_suspend_noirq finish.

Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
2014-03-19 22:37:44 -05:00
..
bsc913x_rdb.c
c293pcie.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
common.c QE: split function mpc85xx_qe_init() into two functions. 2014-03-19 19:37:31 -05:00
corenet_generic.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
ge_imp3a.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
Kconfig powerpc/85xx: Add TWR-P1025 board support 2014-01-07 19:09:29 -06:00
ksi8560.c
Makefile powerpc/85xx: Add TWR-P1025 board support 2014-01-07 19:09:29 -06:00
mpc85xx_ads.c
mpc85xx_cds.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
mpc85xx_ds.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
mpc85xx_mds.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
mpc85xx_rdb.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
mpc85xx.h QE: split function mpc85xx_qe_init() into two functions. 2014-03-19 19:37:31 -05:00
mpc8536_ds.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
p1010rdb.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
p1022_ds.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
p1022_rdk.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
p1023_rds.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
ppa8548.c powerpc: add missing explicit OF includes for ppc 2013-11-11 09:10:50 -06:00
qemu_e500.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
sbc8548.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00
sgy_cts1000.c powerpc: Delete non-required instances of include <linux/init.h> 2014-01-15 13:46:44 +11:00
smp.c powerpc/85xx: don't init the mpic ipi for the SoC which has doorbell support 2014-01-07 19:06:03 -06:00
smp.h
socrates_fpga_pic.c powerpc: add explicit OF includes 2013-10-09 20:04:11 -05:00
socrates_fpga_pic.h
socrates.c
stx_gp3.c
tqm85xx.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
twr_p102x.c QE: split function mpc85xx_qe_init() into two functions. 2014-03-19 19:37:31 -05:00
xes_mpc85xx.c fsl/pci: The new pci suspend/resume implementation 2014-03-19 22:37:44 -05:00