On Tue, Jan 30, 2018 at 10:54:10AM +0530, Manikanta Maddireddy wrote: > Per PCIe r3.0, sec 5.3.3.2.1, PCIe root port shoould broadcast PME_Turn_Off > message before PCIe link goes to L2. PME_Turn_Off broadcast mechanism is > implemented in AFI module. Each Tegra PCIe root port has its own > PME_Turn_Off and PME_TO_Ack bitmap in AFI_PME register, program this > register to broadcast PME_Turn_Off message. > > Signed-off-by: Manikanta Maddireddy <mmaddireddy@xxxxxxxxxx> > --- > V2: > * no change in this patch > V3: > * add PME bitmap in soc data instead of using compatible string > * replace while loop with readl_poll_timeout() for polling > * commit log correction > V4: > * no change in this patch > V5: > * Rebased on linux-next > V6: > * no change in this patch > V7: > * Per port soc data is added for pme bits > * list_for_each_entry_safe is changed to list_for_each_entry for pme turnoff > > drivers/pci/host/pci-tegra.c | 64 ++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 64 insertions(+) Acked-by: Thierry Reding <treding@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature