From: Kenneth Crudup <kenny@panix.com>
To: Mika Westerberg <mika.westerberg@linux.intel.com>, Me <kenny@panix.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: So, I had to revert d6d458d42e1 ("Handle DisplayPort tunnel activation asynchronously") too, to stop my resume crashes
Date: Mon, 3 Mar 2025 03:02:30 -0800 [thread overview]
Message-ID: <f31309e4-6ce5-48cf-910e-cd74f818aac8@panix.com> (raw)
In-Reply-To: <20250303104618.GP3713119@black.fi.intel.com>
On 3/3/25 02:46, Mika Westerberg wrote:
> Like discussed, let's deal one issue at the time.
Understood, but when my machine keeps locking up after a resume from
suspend/hibernate under normal use-cases I really need(ed) to get to the
bottom of things, as it was beginning to interfere with my workflow.
OK, so first:
> 1) Hang/crash during resume when dock + NVMe is disconnected before resume.
> For the first is this now solved if you revert
> 9d573d19547b3fae0c1d4e5fce52bdad3fda3664 ?
Yes, and thank you for that.
> You can "isolate" this to PCIe side completely by doing the steps with the
> commit but don't connect any monitors.
Yeah, that's how I'd started to verify that, as the DP tunnel crashing
issue was getting in the way of testing.
> If this gets solved by the revert then that's one issue nailed, good.
After several cycles this appears to be the case.
Now I'd like to help you guys figure out what was causing the panics.
> For the second issue, I'm not sure I know the steps but since you mention
> reverting d6d458d42e1e ("thunderbolt: Handle DisplayPort tunnel activation
> asynchronously"), it should trigger pretty much any time you plug in
> monitor so we can follow different and hopefully simpler steps:
>
> 1. Boot the system up, nothing connected.
> 2. Connect TBT 4 dock to the system.
> 3. Connect monitor to the TBT 4 dock.
>
> Expectation: Monitor shows the screen properly.
> Actual result: Blank screen.
Actually, what was happening was connecting a monitor at any time worked
as expected. The issue was approximately most of the time after a resume
from suspend/hibernate, if I had an external (DP tunneled) monitor
connected, I'd get OOPSes in the line mentioned in my first E-mail,
which appeared from tracing to come from trying to write to a TB
tunnel(?) which no longer existed; my (totally wild) guess was that some
race condition between: resuming the machine and reenumerating the
tunnels, my monitors taking their time coming out of sleep, and
"something" happening with the async tunnel activation means it was
hitting an NPE somewhere.
Bottom line is I've done quite a bit of testing with these reverts and
have yet to get any resume from S/H failures since.
... and as with 9d573d19, I'd like to help fix this underlying issue, as
maybe there's something unique to my laptop's chipset(?) (as I have
different docks and monitors at home and when on the road but it happens
in both scenarios).
-Kenny
next prev parent reply other threads:[~2025-03-03 11:02 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-02 4:57 So, I had to revert d6d458d42e1 ("Handle DisplayPort tunnel activation asynchronously") too, to stop my resume crashes Kenneth Crudup
2025-03-02 5:36 ` Kenneth Crudup
2025-03-02 16:26 ` Kenneth Crudup
2025-03-02 16:30 ` Kenneth Crudup
2025-03-03 10:46 ` Mika Westerberg
2025-03-03 11:02 ` Kenneth Crudup [this message]
2025-03-03 11:21 ` Mika Westerberg
2025-03-03 11:38 ` Kenneth Crudup
2025-03-03 11:45 ` Kenneth Crudup
2025-03-03 11:55 ` Mika Westerberg
2025-03-03 12:39 ` Kenneth Crudup
2025-03-03 12:51 ` Kenneth Crudup
2025-03-03 11:53 ` Mika Westerberg
2025-03-03 12:33 ` Kenneth Crudup
2025-03-03 13:13 ` Mika Westerberg
2025-03-03 13:19 ` Kenneth Crudup
2025-03-03 13:23 ` Mika Westerberg
2025-03-03 13:46 ` Mika Westerberg
2025-03-03 13:53 ` Kenneth Crudup
2025-03-03 14:01 ` Mika Westerberg
2025-03-03 14:10 ` Kenneth Crudup
2025-03-03 14:20 ` Mika Westerberg
2025-03-03 14:33 ` Kenneth Crudup
2025-03-03 17:58 ` Mika Westerberg
2025-03-03 18:20 ` Kenneth Crudup
2025-03-03 19:44 ` Kenneth Crudup
2025-03-04 8:27 ` Mika Westerberg
2025-03-04 12:52 ` Kenneth Crudup
2025-03-04 13:40 ` Mika Westerberg
2025-03-04 13:48 ` Kenneth Crudup
2025-03-04 13:51 ` Mika Westerberg
2025-03-04 17:29 ` Kenneth Crudup
2025-03-05 8:31 ` Mika Westerberg
2025-03-03 14:17 ` 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=f31309e4-6ce5-48cf-910e-cd74f818aac8@panix.com \
--to=kenny@panix.com \
--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