mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Lee Jones <lee@kernel.org>
Cc: Paul Menzel <pmenzel@molgen.mpg.de>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: `intel_lpss_pci_driver_init` takes 23.8 ms
Date: Thu, 8 Feb 2024 19:33:46 +0200	[thread overview]
Message-ID: <ZcUQen0nYAAtZVw8@smile.fi.intel.com> (raw)
In-Reply-To: <20240208085928.GB689448@google.com>

On Thu, Feb 08, 2024 at 08:59:28AM +0000, Lee Jones wrote:
> On Tue, 06 Feb 2024, Paul Menzel wrote:

> > On the Dell XPS 13 9360 and Linux 6.8-rc3+, `intel_lpss_pci_driver_init()`
> > takes 23.8 ms, making it one of Linux’ longer init functions on this device:

Does it mean on the previous releases it was different?
I mean is it a regression or always was like this?

> > 
> > ```
> > [    0.000000] Linux version 6.8.0-rc3
> > (build@bohemianrhapsody.molgen.mpg.de) (gcc (Debian 13.2.0-13) 13.2.0, GNU
> > ld (GNU Binutils for Debian) 2.42) #13 SMP PREEMPT_DYNAMIC Tue Feb 6
> > 08:07:48 CET 2024
> > [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.8.0-rc3
> > root=UUID=32e29882-d94d-4a92-9ee4-4d03002bfa29 ro quiet pci=noaer
> > mem_sleep_default=deep log_buf_len=8M cryptomgr.notests initcall_debug
> > […]
> > [    0.000000] DMI: Dell Inc. XPS 13 9360/0596KF, BIOS 2.21.0 06/02/2022
> > […]
> > [    0.785696] calling  intel_lpss_pci_driver_init+0x0/0xff0
> > [intel_lpss_pci] @ 153
> > [    0.785704] calling  crct10dif_intel_mod_init+0x0/0xff0
> > [crct10dif_pclmul] @ 163
> > [    0.785796] calling  drm_core_init+0x0/0xff0 [drm] @ 161
> > [    0.785880] ACPI: bus type drm_connector registered
> > [    0.785887] initcall drm_core_init+0x0/0xff0 [drm] returned 0 after 25
> > usecs
> > [    0.785936] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
> > [    0.786210] idma64 idma64.0: Found Intel integrated DMA 64-bit
> > [    0.786221] probe of idma64.0 returned 0 after 81 usecs
> > […]
> > [    0.801676] probe of i2c_designware.0 returned 0 after 15424 usecs
> > [    0.801691] probe of 0000:00:15.0 returned 0 after 15973 usecs
> > [    0.801870] intel-lpss 0000:00:15.1: enabling device (0000 -> 0002)
> > [    0.802116] idma64 idma64.1: Found Intel integrated DMA 64-bit
> > [    0.802123] probe of idma64.1 returned 0 after 55 usecs
> > [    0.819818] probe of i2c_designware.1 returned 0 after 17646 usecs
> > [    0.819832] probe of 0000:00:15.1 returned 0 after 18137 usecs
> > [    0.819852] initcall intel_lpss_pci_driver_init+0x0/0xff0
> > [intel_lpss_pci] returned 0 after 23842 usecs
> > ```
> > 
> > Is this expected, that probing
> > 
> >     00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise
> > Point-LP Serial IO I2C Controller #1 [8086:9d61] (rev 21)
> > 
> > takes 18 ms?

And it seems that the real culprit is the DesingWare driver itself, am I wrong?

-- 
With Best Regards,
Andy Shevchenko



  reply	other threads:[~2024-02-08 17:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-06 21:08 Paul Menzel
2024-02-08  8:59 ` Lee Jones
2024-02-08 17:33   ` Andy Shevchenko [this message]
2024-02-11 19:38     ` Paul Menzel
2024-03-14 13:30       ` Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZcUQen0nYAAtZVw8@smile.fi.intel.com \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmenzel@molgen.mpg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®