Created attachment 274719 [details] Output of `sudo dmesg` [Follow up on https://marc.info/?l=linux-pm&m=152101275029263&w=2.] Booting the Dell XPS 13 9370 with Linux 4.16-rc4+ and `initcall_debug`, shows it is shown that int3403_driver_init needs over 330 ms to run. [ 2.524839] initcall int3403_driver_init+0x0/0x1000 [int3403_thermal] returned 0 after 333972 usecs The time should be drastically reduced. Please find all Linux messages attached.
Created attachment 274721 [details] sudo acpidump -o 20180314–dell_xps_13_9370–acpidump.txt
there are 6 INT3403 device on this platform, and all of them are sensors. I'm not sure which piece of the code takes such a long time. hmmm, can you please try load the driver at runtime and check if we still need such a long time? if yes, then please ftrace int3403_add to see where the time is spent?
ping...
ping after another 2 weeks..
Sorry for the late reply. The device is in active use. I’ll try to contact the user, but I thought your division has access to such a device. If not, it was my understanding that you could get such a device over Dell’s business channels.
With Linux 4.16.12 from Debian Sid/unstable, after unloading the module `int3403_thermal`, according to `initcall_debug` the loading takes 17700 us, that means 17 ms. So no idea, why it takes so long during startup.
On our Dell XPS 9370, this is what I get from dmesg with 5.8.0-rc3 kernel. ~$ dmesg | grep int3403_thermal [ 2.984549] calling int3403_driver_init+0x0/0x1000 [int3403_thermal] @ 337 [ 3.089154] initcall int3403_driver_init+0x0/0x1000 [int3403_thermal] returned 0 after 53599 usecs @Paul Menzel, can you please confirm if the problem still exists in the latest upstream kernel?
Let's close this so far as I didn't observe the problem on the ELL 9370 I can access. please feel free to re-open it if you can still reproduce the problem with latest upstream kernel.
I am going to try to get access to the device again. For the archive, could you please add the system UEFI firmware version and the Linux kernel version you tested this with in your last comment?
let me re-do the check this week and record down the necessary information.