[PATCH v6 04/11] USB: Pass PMSG_POWEROFF event to suspend_common() for poweroff with S4 flow

Mario Limonciello superm1 at kernel.org
Mon Aug 18 11:24:00 UTC 2025


On 8/18/25 5:50 AM, Oliver Neukum wrote:
> On 8/18/25 04:00, Mario Limonciello (AMD) wrote:
>> If powering off the system with the S4 flow USB wakeup sources should
>> be ignored. Add a new callback hcd_pci_poweroff() which will 
>> differentiate
>> whether target state is S5 and pass PMSG_POWEROFF as the message so that
>> suspend_common() will avoid doing wakeups.
> 
> Hi,
> 
> how will Wake-On-LAN work with this change?
> 
>      Regards
>          Oliver
> 

 From S5 using a USB dongle?  Is this a use case that is intended to 
work today?  Does it?

I had expected this only intended from S4, S3 and s2idle.


More information about the amd-gfx mailing list