1. 20 3月, 2014 1 次提交
    • W
      fsl/pci: The new pci suspend/resume implementation · 48b16180
      Wang Dongsheng 提交于
      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: NWang Dongsheng <dongsheng.wang@freescale.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      48b16180
  2. 16 2月, 2013 1 次提交
  3. 13 9月, 2012 2 次提交
  4. 11 7月, 2012 1 次提交
    • S
      powerpc/e500: add paravirt QEMU platform · 9653018b
      Scott Wood 提交于
      This gives the kernel a paravirtualized machine to target, without
      requiring both sides to pretend to be targeting a specific board
      that likely has little to do with the host in KVM scenarios.  This
      avoids the need to add new boards to QEMU just to be able to
      run KVM on new CPUs.
      
      As this is the first platform that can run with either e500v2 or
      e500mc, CONFIG_PPC_E500MC is now a legitimately user configurable
      option, so add a help text.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
      9653018b