Thread (6 messages) 6 messages, 3 authors, 2018-04-05

Re: [PATCH V3] PM / core: fix deferred probe breaking suspend resume order

From: Bjorn Helgaas <helgaas@kernel.org>
Date: 2018-03-30 22:50:24
Also in: linux-arm-kernel, linux-pci

On Thu, Mar 15, 2018 at 11:41:33AM -0700, Feng Kan wrote:
On Mon, Mar 5, 2018 at 10:29 AM, Feng Kan [off-list ref] wrote:
quoted
When bridge and its endpoint is enumerated the devices are added to the
dpm list. Afterward, the bridge defers probe when IOMMU is not ready.
This causes the bridge to be moved to the end of the dpm list when
deferred probe kicks in. The order of the dpm list for bridge and
endpoint is reversed.

Add reordering code to move the bridge and its children and consumers to
the end of the pm list so the order for suspend and resume is not altered.
The code also move device and its children and consumers to the tail of
device_kset list if it is registered.

Signed-off-by: Feng Kan <redacted>
Signed-off-by: Toan Le <redacted>
...
Hi, just wanted to check if there is anything else I need to change on
this. Thanks.
I'm assuming Rafael will handle this.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help