Re: [PATCH] thunderbolt: handle runtime pm for tunnelled pci root port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, Mar 07, 2022 at 08:00:46PM +0530, Sanjay R Mehta wrote:
> 
> 
> On 3/7/2022 7:05 PM, Mika Westerberg wrote:
> > Hi Sanjay,
> > 
> > On Mon, Mar 07, 2022 at 07:05:19AM -0600, Sanjay R Mehta wrote:
> >> From: Sanjay R Mehta <sanju.mehta@xxxxxxx>
> >>
> >> Carry out runtime-resume of PCI tunnelled root port to handle
> >> hotplug interrupts synchronously.
> > 
> > What problem does this solve?
> > 
> > Typically the root ports should be able to wake from D3 when the PCIe
> > tunnel gets established. Is it not the case here?
> 
> Yes Mika, its not waking from D3 in this case on our hardware.
> 
> Hence I have kept a check to execute this code only if root port still
> in D3 after PCIe tunnel is setup.

OK, I see.

> Do you think should this patch go as a quirk?

I think in that case we should prevent the port from entering D3.  Does
it have the ACPI "HotPlugSupportInD3" property:

  https://docs.microsoft.com/en-us/windows-hardware/drivers/pci/dsd-for-pcie-root-ports#identifying-pcie-root-ports-supporting-hot-plug-in-d3

If yes, then simply removing that should work.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux