Bug 199941
Summary: | system freeze the third time suspending (with custom udev rules) | ||
---|---|---|---|
Product: | Power Management | Reporter: | n0000b.n000b |
Component: | Hibernation/Suspend | Assignee: | Rafael J. Wysocki (rjw) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | CC: | mika.westerberg |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 4.16.13 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
lspci
lspci lspci -vvv sudo lspci -vvv PCI / PM: Resume parallel bridges on system suspend PCI / ACPI / PM: Resume bridges on system suspend PCI / ACPI / PM: Resume bridges w/o drivers on suspend-to-RAM |
Description
n0000b.n000b
2018-06-06 07:47:01 UTC
Please attach the output of lspci from this machine. Created attachment 276351 [details]
lspci
here is lspci again
0000:00:14.4 is a bridge, so the commit you have reverted effectively enables the direct_complete optimization for it and that leads to problems. It looks like disabling direct_complete for it explicitly should help, but please attach the output of "lspci -vvv" so we can see more details. Created attachment 276361 [details]
lspci -vvv
here it is
But can you call it as root, please? Created attachment 276367 [details]
sudo lspci -vvv
ok
do you need any other info? Created attachment 276701 [details]
PCI / PM: Resume parallel bridges on system suspend
Does this patch help?
Created attachment 276703 [details]
PCI / ACPI / PM: Resume bridges on system suspend
Please test this patch too
with the patch of comment 8 i can suspend and resume multiple times with kernel 4.17.2. I couldn't apply the patch on comment 9, on top of what kernel version should it be applied? The patch from comment #9 applies on top of the mainline 4.18-rc2 without any modifications (for me at least). Please test it on top of that kernel. patches applied on top of 4.18-rc1, can suspend more than 3 times now, haven't seen any negative effects. Will continue testing. Thanks! OK, thanks for testing! I'll submit the patch from comment #9 for inclusion. Patch submitted: https://patchwork.kernel.org/patch/10488563/ BTW, please test the patch from comment #9 without the patch from comment #8 too (that might have been unclear). ok will test the patch from #9 alone and will report back With only the patch of comment 9 in top of 4.18-rc1 the system CAN'T suspend multiple times. In resume: patch from comment 8 alone WORKS patch from comment 9 alone DOESN'T WORKS both patches applied WORKS OK, thanks! I'll send more patches to test in the next few days. Created attachment 276907 [details] PCI / ACPI / PM: Resume bridges w/o drivers on suspend-to-RAM This is a replacement for both the patches from comment #9 and from comment #9. Please test this one. I mean the patches from comment #8 and from comment #9, of course. That is, please test the patch from comment #19 alone. The patch in comment 19 WORKS, I can now suspend multiple times. Thanks a lot Cool, thanks for the confirmation! |