Bug 28495 - [devel-5.10] USB: core: Disable remote wakeup for freeze/quiesce
Summary: [devel-5.10] USB: core: Disable remote wakeup for freeze/quiesce
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-24 16:42 UTC by LeoLiu-oc
Modified: 2025-12-24 16:44 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LeoLiu-oc zhaoxin_group 2025-12-24 16:42:15 UTC
commit 9671d55037065e9b83f84f1943bf65fc31036439 upstream.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9671d55037065e9b83f84f1943bf65fc31036439

The PM_EVENT_FREEZE and PM_EVENT_QUIESCE messages should cause the
device to stop generating interrupts. USB core was previously allowing
devices that were already runtime suspended to keep remote wakeup
enabled if they had gone down that way. This violates the contract with
pm, and can potentially cause MSI interrupts to be lost.

Change that so that if a device is runtime suspended with remote wakeups
enabled, it will be resumed to ensure remote wakeup is always disabled
across a freeze.
Comment 1 小龙 admin 2025-12-24 16:44:26 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/6260