mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: Brad Campbell <lists2009@fnarfbargle.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Apple Thunderbolt Display chaining
Date: Fri, 5 Aug 2022 14:30:11 +0300	[thread overview]
Message-ID: <Yuz/Q3MTVIhCZU+0@lahna> (raw)
In-Reply-To: <49183e52-2e73-b32f-11ad-6036b1040d7c@fnarfbargle.com>

Hi,

On Fri, Aug 05, 2022 at 03:41:14PM +0800, Brad Campbell wrote:
> [  620.072070] pcieport 0000:2a:05.0: can't change power state from D3cold to D0 (config space inaccessible)
> [  620.676124] pcieport 0000:2a:05.0: pciehp: pcie_do_write_cmd: no response from device
> [  621.903381] hrtimer: interrupt took 604006559 ns
> [  622.296070] pcieport 0000:2a:05.0: pciehp: pcie_do_write_cmd: no response from device
> [  622.698769] pcieport 0000:31:05.0: can't change power state from D3cold to D0 (config space inaccessible)
> [  623.302796] pcieport 0000:31:05.0: pciehp: pcie_do_write_cmd: no response from device
> [  623.906840] pcieport 0000:31:04.0: can't change power state from D3cold to D0 (config space inaccessible)
> [  624.511090] pcieport 0000:31:04.0: pciehp: pcie_do_write_cmd: no response from device
> [  625.115091] pcieport 0000:04:01.0: can't change power state from D3cold to D0 (config space inaccessible)
> [  625.719304] pcieport 0000:04:01.0: pciehp: pcie_do_write_cmd: no response from device
> [  625.920747] thunderbolt 0000:05:00.0: 303: timeout writing config space 2 to 0x28
> [  625.920752] thunderbolt 0-303: reading DROM failed: -5
> [  625.920753] thunderbolt 0000:05:00.0: 303: uid: 0x0
> [  626.524964] pcieport 0000:31:05.0: pciehp: pcie_do_write_cmd: no response from device
> [  626.726306] pcieport 0000:31:04.0: pciehp: pcie_do_write_cmd: no response from device
> [  626.927661] pcieport 0000:04:01.0: pciehp: pcie_do_write_cmd: no response from device
> [  627.330332] pcieport 0000:04:02.0: can't change power state from D3cold to D0 (config space inaccessible)
> [  627.837000] thunderbolt 0000:05:00.0: 303: timeout reading config space 1 from 0x0
> [  627.837005] thunderbolt 0-303: failed to initialize port 1
> [  628.277015] thunderbolt 0000:05:00.0: 3: timeout reading config space 1 from 0x3b
> [  628.716825] thunderbolt 0000:05:00.0: 0: timeout reading config space 1 from 0x3b
> [  629.156976] thunderbolt 0000:05:00.0: 0: timeout reading config space 1 from 0x3b
> [  629.597002] thunderbolt 0000:05:00.0: 0: timeout reading config space 1 from 0x39
> [  630.037013] thunderbolt 0000:05:00.0: 0: timeout reading config space 1 from 0x39
> [  630.477032] thunderbolt 0000:05:00.0: 0: timeout reading config space 1 from 0x39
> [  630.916994] thunderbolt 0000:05:00.0: 0: timeout reading config space 1 from 0x39
> [  631.356836] thunderbolt 0000:05:00.0: 3: timeout reading config space 1 from 0x39
> [  631.806792] thunderbolt 0000:05:00.0: 3: timeout reading config space 1 from 0x39
> [  632.246828] thunderbolt 0000:05:00.0: 0: timeout reading config space 2 from 0x10f
> [  632.686977] thunderbolt 0000:05:00.0: 0: timeout reading config space 2 from 0x10f
> 
> I'm dangerously *assuming* that when trying to configure an already configured system the thunderbolt
> driver is getting stuck because booting without trying to load the driver works fine.
> 
> If I try and warm boot when its in this state, the machine doesn't reach the EFI and I have to
> hard reset or power cycle.
> 
> My questions are :
> A) Since I have a viable but hacky work-around, is this something
> you'd be interested in helping chase down?

I can try yes.

> B) If so, what debugging information can I supply?

Well can you try so that you disable PCIe PM for starters? Pass
"pcie_port_pm=off" in the command line and see if anything changes. Of
course this prevents low power states.

  reply	other threads:[~2022-08-05 11:30 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <acbb3a86-ea15-47ec-90fa-72fbd94921b1@fnarfbargle.com>
2022-03-29 11:31 ` Mika Westerberg
2022-03-29 12:35   ` Brad Campbell
2022-03-29 13:00     ` Mika Westerberg
2022-03-29 14:06       ` Brad Campbell
2022-03-30 10:18         ` Mika Westerberg
2022-03-30 13:19           ` Brad Campbell
2022-03-30 13:43             ` Mika Westerberg
2022-03-30 14:24               ` Brad Campbell
2022-03-30 14:47                 ` Mika Westerberg
2022-03-31  9:02                   ` Brad Campbell
2022-03-31 16:36                     ` Mika Westerberg
2022-04-01  5:48                       ` Brad Campbell
2022-04-01 14:30                         ` Mika Westerberg
2022-04-01 15:05                           ` Brad Campbell
2022-04-04 10:10                             ` Mika Westerberg
2022-04-04 11:38                               ` Brad Campbell
2022-04-04 12:53                                 ` Mika Westerberg
2022-04-06  2:51                                   ` Brad Campbell
2022-04-06 14:56                                     ` Mika Westerberg
2022-08-05  7:41                                       ` Brad Campbell
2022-08-05 11:30                                         ` Mika Westerberg [this message]
2022-08-05 12:43                                           ` Brad Campbell
2022-08-05 13:01                                             ` Mika Westerberg
2022-08-05 14:13                                               ` Brad Campbell
2022-08-05 14:21                                                 ` Mika Westerberg
2022-08-05 14:43                                                   ` Brad Campbell
2022-08-06  6:13                                                     ` Mika Westerberg
2022-08-06  9:41                                                       ` Brad Campbell
2022-08-08  9:51                                                         ` Mika Westerberg
2022-08-08 11:55                                                           ` Brad Campbell
2022-08-08 12:25                                                             ` Brad Campbell
2022-08-08 12:46                                                               ` Mika Westerberg
2022-08-08 13:27                                                                 ` Brad Campbell
2022-08-09 10:23                                                                   ` Mika Westerberg
2022-08-09 10:40                                                                     ` Brad Campbell
2022-08-09 10:55                                                                       ` Mika Westerberg
2022-08-09 11:03                                                                         ` Brad Campbell
2022-08-09 11:08                                                                         ` Brad Campbell
2022-08-09 14:42                                                                           ` Mika Westerberg
2022-08-09 15:16                                                                             ` Brad Campbell
2022-08-09 15:50                                                                               ` Mika Westerberg
2022-08-10  7:40                                                                                 ` Brad Campbell
2022-08-11  9:50                                                                                   ` Mika Westerberg
2022-08-11 14:17                                                                                     ` Brad Campbell
2022-08-12  9:35                                                                                       ` Mika Westerberg
2022-08-12 10:16                                                                                         ` Brad Campbell
2022-08-08 12:42                                                             ` Mika Westerberg

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=Yuz/Q3MTVIhCZU+0@lahna \
    --to=mika.westerberg@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lists2009@fnarfbargle.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

all inboxes | Powered by JetHome®