mbox series

[v9,0/3] dwc general suspend/resume functionality

Message ID 20230804180637.462573-1-Frank.Li@nxp.com
Headers show
Series dwc general suspend/resume functionality | expand

Message

Frank Li Aug. 4, 2023, 6:06 p.m. UTC
Change log
 - Change from v8 to v9
   Reported-by: kernel test robot <lkp@intel.com>
   Closes: https://lore.kernel.org/oe-kbuild-all/202308042251.yGAFqeDw-lkp@intel.com/

 - Change from v7 to v8
   Add new patch to add common PCIE_PME_TO_L2_TIMEOUT_US define.
   timeout value using PCIE_PME_TO_L2_TIMEOUT_US.

 - Chnage from v6 to v7
   Remove local varible struct dw_pcie *pci = pcie->pci
   Change according to Manivannan's feedback
     remove unused lut_off and lut_base
     fixed  100 to 1000(for 1ms)
     using dev_err for timeout
     refine commit message
     fix sleep value 100 (should be 1000 for 1ms).
     use dev_err when timeout

 - Change from v5 to v6
   change to NOIRQ_SYSTEM_SLEEP_PM_OPS to remove #ifdef PM_CONFIG
   refine commit message
   change according to Manivannan's comments.
     remove reduncate step dw_pcie_set_dstate()
     return 0 when .pme_turn_off is zero
     call host_deinit() in suspend
     check .host_deinit and .host_init point before call.

 - Change from v4 to v5
   Closes: https://lore.kernel.org/oe-kbuild-all/202307211904.zExw4Q8H-lkp@intel.com/

 - Change from v3 to v4
   change according to Manivannan's comments.

 - change at v2 to v3
   Basic rewrite whole patch according rob herry suggestion.
   put common function into dwc, so more soc can share the same logic.


Frank Li (2):
  PCI: Add macro PCIE_PME_TO_L2_TIMEOUT_US
  PCI: dwc: Implement general suspend/resume functionality for L2/L3
    transitions

Hou Zhiqiang (1):
  PCI: layerscape: Add power management support for ls1028a

 drivers/pci/controller/dwc/pci-layerscape.c   | 130 ++++++++++++++++--
 .../pci/controller/dwc/pcie-designware-host.c |  76 ++++++++++
 drivers/pci/controller/dwc/pcie-designware.h  |  28 ++++
 drivers/pci/pci.h                             |   6 +
 4 files changed, 231 insertions(+), 9 deletions(-)

Comments

Frank Li Aug. 7, 2023, 4:20 p.m. UTC | #1
On Fri, Aug 04, 2023 at 02:06:34PM -0400, Frank Li wrote:
> Change log

Sorry, I forget change cover-letter subject. It should be v10.

Change log
 - Change from v9 to v10
   min change according to Mani's feedback
   Add Mani's ACK tag

Frank

>  - Change from v8 to v9
>    Reported-by: kernel test robot <lkp@intel.com>
>    Closes: https://lore.kernel.org/oe-kbuild-all/202308042251.yGAFqeDw-lkp@intel.com/
> 
>  - Change from v7 to v8
>    Add new patch to add common PCIE_PME_TO_L2_TIMEOUT_US define.
>    timeout value using PCIE_PME_TO_L2_TIMEOUT_US.
> 
>  - Chnage from v6 to v7
>    Remove local varible struct dw_pcie *pci = pcie->pci
>    Change according to Manivannan's feedback
>      remove unused lut_off and lut_base
>      fixed  100 to 1000(for 1ms)
>      using dev_err for timeout
>      refine commit message
>      fix sleep value 100 (should be 1000 for 1ms).
>      use dev_err when timeout
> 
>  - Change from v5 to v6
>    change to NOIRQ_SYSTEM_SLEEP_PM_OPS to remove #ifdef PM_CONFIG
>    refine commit message
>    change according to Manivannan's comments.
>      remove reduncate step dw_pcie_set_dstate()
>      return 0 when .pme_turn_off is zero
>      call host_deinit() in suspend
>      check .host_deinit and .host_init point before call.
> 
>  - Change from v4 to v5
>    Closes: https://lore.kernel.org/oe-kbuild-all/202307211904.zExw4Q8H-lkp@intel.com/
> 
>  - Change from v3 to v4
>    change according to Manivannan's comments.
> 
>  - change at v2 to v3
>    Basic rewrite whole patch according rob herry suggestion.
>    put common function into dwc, so more soc can share the same logic.
> 
> 
> Frank Li (2):
>   PCI: Add macro PCIE_PME_TO_L2_TIMEOUT_US
>   PCI: dwc: Implement general suspend/resume functionality for L2/L3
>     transitions
> 
> Hou Zhiqiang (1):
>   PCI: layerscape: Add power management support for ls1028a
> 
>  drivers/pci/controller/dwc/pci-layerscape.c   | 130 ++++++++++++++++--
>  .../pci/controller/dwc/pcie-designware-host.c |  76 ++++++++++
>  drivers/pci/controller/dwc/pcie-designware.h  |  28 ++++
>  drivers/pci/pci.h                             |   6 +
>  4 files changed, 231 insertions(+), 9 deletions(-)
> 
> -- 
> 2.34.1
>