Re: [PATCH 0/2] Add support for StorageD3Enable _DSD property

From: Christoph Hellwig
Date: Tue Apr 28 2020 - 10:22:59 EST


On Tue, Apr 28, 2020 at 07:09:59AM -0700, David E. Box wrote:
> > I'm not sure who came up with the idea to put this into ACPI, but it
> > belongs into NVMe. Please talk to the NVMe technical working group
> > instead of trying to overrules them in an unrelated group that
> > doesn't
> > apply to all of PCIe.
>
> Agreed that this is not ideal since it does not apply to all of PCIe.
> But as the property already exists on shipping systems, we need to be
> able to read it in the NVMe driver and the patch is consitent with the
> way properties under PCI ports are read.

The point is that it is not the BIOSes job do decide how Linux does
power management. For example D3 has really horrible entry and exit
latencies in many cases, and will lead to higher power usage.