[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AM6PR04MB48383AB3FD2062334ECB66EB88759@AM6PR04MB4838.eurprd04.prod.outlook.com>
Date: Fri, 12 May 2023 14:47:46 +0000
From: Frank Li <frank.li@....com>
To: "helgaas@...nel.org" <helgaas@...nel.org>
CC: "imx@...ts.linux.dev" <imx@...ts.linux.dev>,
"bhelgaas@...gle.com" <bhelgaas@...gle.com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"gustavo.pimentel@...opsys.com" <gustavo.pimentel@...opsys.com>,
"kw@...ux.com" <kw@...ux.com>, Leo Li <leoyang.li@....com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
dl-linux-imx <linux-imx@....com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"lorenzo.pieralisi@....com" <lorenzo.pieralisi@....com>,
"M.H. Lian" <minghuan.lian@....com>,
Mingkai Hu <mingkai.hu@....com>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
Roy Zang <roy.zang@....com>,
"shawnguo@...nel.org" <shawnguo@...nel.org>,
"Z.Q. Hou" <zhiqiang.hou@....com>
Subject: RE: [PATCH v3 1/2] PCI: dwc: Implement general suspend/resume
functionality for L2/L3 transitions
>
> Introduced helper function dw_pcie_get_ltssm to retrieve
> SMLH_LTSS_STATE.
> Added API pme_turn_off and exit_from_l2 for managing L2/L3 state
> transitions.
>
> Typical L2 entry workflow:
>
> 1. Transmit PME turn off signal to PCI devices.
> 2. Await link entering L2_IDLE state.
> 3. Transition Root complex to D3 state.
>
> Typical L2 exit workflow:
>
> 1. Transition Root complex to D0 state.
> 2. Issue exit from L2 command.
> 3. Reinitialize PCI host.
> 4. Wait for link to become active.
>
> Signed-off-by: Frank Li <Frank.Li@....com>
> ---
Ping
> Change from v2 to v3:
> - Basic rewrite whole patch according rob herry suggestion.
> put common function into dwc, so more soc can share the same logic.
>
Powered by blists - more mailing lists