On 28/06/2023 08:46, Mika Westerberg wrote:
@Thomas, is there any particular reason you have this option in the
command line? There is possibility that S3 is not even fully validated
if the system advertises S0 low power sleep instead.
In fact, there is: Entering suspend-to-ram without setting
/sys/power/mem_sleep to "deep", my laptop consumes about the same power
as it would idling online. The manufacturer suggests setting that
commandline parameter:
<https://www.tuxedocomputers.com/en/Infos/Help-Support/Instructions/Fine-tuning-of-power-management-with-suspend-standby.tuxedo#>
I just retested your patch with setting mem_sleep to "s2idle", and it no
longer triggers the loss of PCI devices. I guess that could be the
indicator that Björn asked for.
I attached the output of dmidecode to the bugzilla entry mentioned
above: <https://bugzilla.kernel.org/attachment.cgi?id=304494>
Best regards,
Thomas