Re: [PATCH 2/3] PCI: dwc: qcom: Set suspend_poweroff flag for SC7280

From: Christoph Hellwig
Date: Wed May 18 2022 - 04:44:09 EST


On Mon, May 16, 2022 at 03:19:50PM -0500, Bjorn Helgaas wrote:
> No doubt "power ... will be taken off during system suspend" is true,
> but this isn't very informative. Is this a property of SC7280? A
> choice made by the SC7280 driver? Why is this not applicable to other
> systems?

This is really braindamage inflicted by microsoft with the StorageD3
property on ACPI systems. It is in general a really, really bad idea
as it saves a little power but massively wears out the flash. It seems
like Chromebooks and DT just want to keep up with the Jones.

Which is a reminder that we should probably integrate the StorageD3
handling into this framework.