From: Zdenek Kabelac <zkabelac@redhat.com>
To: imre.deak@intel.com
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: UBSAN: shift-out-of-bounds in drivers/gpu/drm/display/drm_dp_mst_topology.c:4575:36
Date: Sat, 13 Dec 2025 21:18:10 +0100 [thread overview]
Message-ID: <1f8a360d-89ea-4621-9e48-a20e2c42193b@redhat.com> (raw)
In-Reply-To: <aTxppYJv4D6tA9Ux@ideak-desk>
Dne 12. 12. 25 v 20:14 Imre Deak napsal(a):
> Hi,
>
> On Fri, Dec 12, 2025 at 07:55:12PM +0100, Zdenek Kabelac wrote:
>> Hi
>>
>> I've noticed this in my message log while suspending my P1 machine
>> (and unplugging it from my docking station).
>>
>> ----
>> kernel: UBSAN: shift-out-of-bounds in
>> drivers/gpu/drm/display/drm_dp_mst_topology.c:4575:36
>> kernel: shift exponent -1 is negative
>>
>> My laptop: ThinkPad P16v Gen 1, 64G RAM, 16 AMD Cores
>
> The WARN itself should be removed by
> https://lore.kernel.org/all/20251119094650.799135-1-suraj.kandpal@intel.com
>
> however, the above fix doesn't have other effects besides removing the
> WARN message/stack trace, so the slow-down you describe must have a
> differrent root cause than using a -1 as a shift value above. A wild
> guess is that it's some timeout trying to access the sink (which is
> inaccissible because the sink was unplugged) and the corresponding MST
> timeout being rather long (up to 4 sec per MST programming step).
>
> I'd suggest opening an AMD DRM driver ticket to get a better idea,
> attaching there a dmesg log taken after booting with debug enabled (at
> least adding the drm.debug=0x15e kernel param) and reproducing the
> problem.
Ok - I think I've found matching symptoms in this thread:
https://discussion.fedoraproject.org/t/f41-is-sluggish-after-resuming-from-suspend-fixed-by-a-restart/147352/2
I guess I need to start to 'think' when I plug & unplug cables from the laptop
before suspend...
Regards
Zdenek
prev parent reply other threads:[~2025-12-13 20:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-12 18:55 Zdenek Kabelac
2025-12-12 19:14 ` Imre Deak
2025-12-13 20:18 ` Zdenek Kabelac [this message]
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=1f8a360d-89ea-4621-9e48-a20e2c42193b@redhat.com \
--to=zkabelac@redhat.com \
--cc=imre.deak@intel.com \
--cc=linux-kernel@vger.kernel.org \
/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®