Created attachment 282307 [details] dell-XPS-13-9380_freeze.html The pcieport device takes almost 2 seconds to suspend and 1.5 seconds to resume on the Dell XPS 13 9380. The time is taken executing the ON/OFF code for this BIOS function: Suspend: acpi_ps_execute_method(fullpath=\_SB.PCI0.RP09.PXP._OFF) ret=0x4001 (2076.271ms) Resume: acpi_ps_execute_method(fullpath=\_SB.PCI0.RP09.PXP._ON) ret=0x4001 (1582.116ms) See the attached timeline. BIOS info: bios-release-date : 06/21/2018 bios-vendor : Dell Inc. bios-version : 99.2.10[W10]
please attach the output of lspci -tv and this can show what the pcieport actually connects.
Created attachment 282411 [details] dell-XPS-13-9380_mem.html Here's a timeline from 5.1.0-rc4 where the _ON call happens in usb4 and took 1.6 Sec.
Created attachment 282533 [details] issue.def
Created attachment 282697 [details] issue.def applies to more than dell machines
Created attachment 282701 [details] issue.def applies to more than dell machines, changing the maximum time to 100ms
need to see how the things are going in the latest suspend stress test.
For 100ms criteria: # function call time more than N ms calltime: acpi_ps_execute_method(fullpath=\\_SB\.PCI0\.RP09\.PXP\._O[NF]*) > 100 We see this on these machines in 5.3.0: 5.3.0+ otcpl-dell-7390-cmlu freeze-x2618 2618 100.00% 5.3.0+ otcpl-whl-u mem-x2497 2497 100.00% 5.3.0+ otcpl-dell-9380-cfl freeze-x2441 2441 100.00% 5.3.0+ otcpl-dell-7390-cmlu mem-x2386 2386 100.00% 5.3.0+ otcpl-dell-9380-cfl mem-x2053 2053 100.00% 5.3.0+ otcpl-icl-u-2 mem-x2571 2 0.08%