On Thu, Apr 23, 2020 at 03:52:17PM -0400, Alex Deucher wrote: > On Wed, Apr 1, 2020 at 10:54 AM Alex Deucher <alexdeucher@xxxxxxxxx> wrote: > > I would like to be able to use the runtime pm infrastructure to > > support additional power savings at runtime for a PCIe device, but for > > various reasons, I need to keep the device in D0. I don't want the > > PCI or platform subsystem to put the device into D3hot/cold. Is this > > possible? If so how? I'd like to avoid spinning my own variant of > > runtime pm just to support this feature. If you clear pdev->pm_cap as in 434fdb51513b ("drm/nouveau: workaround runpm fail by disabling PCI power management on certain intel bridges"), we'll assume the device doesn't support any PCI power management, which means the PCI core should leave the device in D0. D3cold is handled by ACPI or other platform means. I don't know how to disable that part. Bjorn