linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lukas Wunner <lukas@wunner.de>
To: Kenneth Crudup <kenny@panix.com>,
	Mika Westerberg <mika.westerberg@linux.intel.com>,
	linux-usb@vger.kernel.org
Cc: "linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
	linux-usb@vger.kernel.org
Subject: Re: My Dell XPS-9320 (kernel 6.10.x, et al.) doesn't detect Thunderbolt additions when coming out of suspend or hibernate
Date: Mon, 26 Aug 2024 05:06:47 +0200	[thread overview]
Message-ID: <ZsvxR-dQAZtwNi0g@wunner.de> (raw)
In-Reply-To: <c9feac08-a1fd-4e03-a708-1046793443db@panix.com>

[cc += Mika, linux-usb]

On Wed, Aug 21, 2024 at 03:05:59PM -0700, Kenneth Crudup wrote:
> Subject says it all, but to recap my laptop doesn't detect Thunderbolt
> topology changes when resuming or coming out of hibernate; i.e., the only
> time a TB topology change happens is if a TB cable is disconnected while
> suspended or hibernated, but if one is connected, or a different TB setup
> altogether is connected when the system resumes it doesn't notice the
> topology change until I disconnect and reconnect.
> 
> I'm currently running 6.10.6, but this has been going on for a while.
> 
> [    0.000000] DMI: Dell Inc. XPS 9320/0KNXGD, BIOS 2.12.0 04/11/2024
> ...
> [    0.136807] smpboot: CPU0: 12th Gen Intel(R) Core(TM) i7-1280P (family:
> 0x6, model: 0x9a, stepping: 0x3)

This commit went into v6.11-rc1 and will at least detect replacement
of PCI devices (to a certain extent):

https://git.kernel.org/linus/9d573d19547b

However PCI is layered on top of (tunneled through) the Thunderbolt
switching fabric and that's where the real problem likely is here.

Maybe you can open a bug at bugzilla.kernel.org and attach full dmesg
and lspci -vvv output in the working case (device attachment at runtime)
and the non-working case (device attachment during system sleep).

Does the machine wake up if you attach devices during system sleep?
Are you suspending to ACPI S0ix, S3 or S4?

Thanks,

Lukas

  reply	other threads:[~2024-08-26  3:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-21 22:05 My Dell XPS-9320 (kernel 6.10.x, et al.) doesn't detect Thunderbolt additions when coming out of suspend or hibernate Kenneth Crudup
2024-08-26  3:06 ` Lukas Wunner [this message]
2024-08-30 19:52   ` Kenneth Crudup
2024-09-04  6:10     ` Kenneth Crudup
2024-09-04 12:28       ` Mika Westerberg
2024-09-09  7:51         ` Kenneth Crudup
2024-09-09  9:01           ` Mika Westerberg
2024-09-12 21:12           ` Kenneth Crudup
2024-09-13  5:25             ` Mika Westerberg
2024-09-13  6:11               ` Kenneth Crudup
2024-09-13 21:59                 ` Kenneth Crudup
2024-09-16  0:14                   ` Kenneth Crudup
2024-09-25 16:55                     ` Kenneth Crudup

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=ZsvxR-dQAZtwNi0g@wunner.de \
    --to=lukas@wunner.de \
    --cc=kenny@panix.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mika.westerberg@linux.intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).