From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: "Jonas Höglund" <firefly@firefly.nu>
Cc: Thorsten Leemhuis <regressions@leemhuis.info>,
Bjorn Helgaas <bhelgaas@google.com>,
linux-pci@vger.kernel.org, regressions@lists.linux.dev
Subject: Re: [REGRESSION] amdgpu with Thunderbolt eGPU bracket fails since new bridge window alignment calculation code
Date: Wed, 8 Apr 2026 13:43:33 +0300 (EEST) [thread overview]
Message-ID: <19d6f7e4-25e1-c5a4-fa42-73bbba4741ab@linux.intel.com> (raw)
In-Reply-To: <6be0aaae-2ade-46cb-b7fc-f03cee21d260@app.fastmail.com>
[-- Attachment #1: Type: text/plain, Size: 3099 bytes --]
On Wed, 8 Apr 2026, Jonas Höglund wrote:
> On Tue, 7 Apr 2026, at 07:26, Ilpo Järvinen wrote:
> >>
> >> Here are dmesg logs (with the appropriate dyndbg cmdline flag) for both
> >> cases, in case it's useful:
> >>
> >> https://up.firefly.nu/pub/amdgpu-egpu-crash-7.0.0-rc6.dmesg.txt
> >> https://up.firefly.nu/pub/amdgpu-egpu-good-pci-resource.dmesg.txt
> >>
> >>
> >> That's good enough on my end, knowing the issue is addressed already
> >> upstream and slated for 7.1. I'm happy to test anything else if it'd
> >> be useful (for eventual backports or so), but otherwise I think I'll
> >> just pick thoes patches from the pci/resource tree for now.
> >
> > Hi,
> >
> > Thanks. It certainly looks the commit dc4b4d04e1ca ("PCI: Prevent
> > shrinking bridge window from its required size") I referred to above might
> > indeed help here (For Thorsten's convinience: as mentioned above, it is
> > currently in the pci/resource branch slated for 7.1).
> >
> > With the extra debug enabled, "shrunken by" lines appear in the log which
> > indicates the hotplug memory distribution algorithm goes to mess with the
> > calculated bridge window sizes in between resource sizing and resource
> > assignment and my fix aims to prevent that from happening.
> >
>
> Sorry, I'm slightly unsure what I should be building and testing here.
> Is it fine to check out the pci/resource branch as it is and test that,
> or should I make sure to pick the patches from that branch atop e.g.
> 7.0-rc6?
The latter is better because pci/resources is based at 7.0-rc1 and since
then, there have been two fixes that went through -rc series (I'm not sure
if either is relevant for your usecase, probably not but to be on safe
side it's better to include them as well).
BUT, it's easier to just merge pci/resource on top of -rc6 so you don't
need to pick the patches by hand). I think the merge should go cleanly.
> > If that fix does not help or does not fully solve the issue, please do
> > take a new log with that patch included into the kernel (preferrably with
> > all the fixes that are currently in the pci/resource branch so we don't
> > hit yet another issue that already has a fix). If you need to take more
> > logs, please include also /proc/iomem dump (as figuring the iomem layout
> > from dmesg is pretty tedious and error prone).
> >
>
> Will include /pro/iomem with future dumps.
>
>
> > Also if you see this line, it's worth to posting the log (even if things
> > would appear as working):
> >
> > amdgpu 0000:3e:00.0: Not enough PCI address space for a large BAR.
> >
> > ...I'll see if I can somehow improve that as well (not a guarantee but
> > it's still worth taking a look, it appears also in the case you labeled
> > "good").
> >
>
> Ok. Yeah, "good" was a bit of a misnomer, was simply meant as short for
> "docks successfully" (as far as the visual feedback as a user goes).
>
>
> I'll get to building and testing after confirmation what I should build.
>
> Thanks,
> Jonas
>
--
i.
next prev parent reply other threads:[~2026-04-08 10:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-27 23:02 [REGRESSION] amdgpu with Thunderbolt eGPU bracket fails since new bridge window alignment calculation code Jonas Höglund
2026-03-28 8:46 ` Thorsten Leemhuis
2026-03-28 16:09 ` Jonas Höglund
2026-03-30 7:21 ` Thorsten Leemhuis
2026-03-30 14:33 ` Ilpo Järvinen
2026-03-30 15:50 ` Jonas Höglund
2026-03-30 16:32 ` Ilpo Järvinen
2026-04-02 16:51 ` Jonas Höglund
2026-04-02 16:56 ` Jonas Höglund
2026-04-07 7:37 ` Ilpo Järvinen
2026-04-07 7:26 ` Ilpo Järvinen
2026-04-08 10:25 ` Jonas Höglund
2026-04-08 10:43 ` Ilpo Järvinen [this message]
2026-04-10 11:41 ` Jonas Höglund
2026-04-10 12:09 ` Ilpo Järvinen
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=19d6f7e4-25e1-c5a4-fa42-73bbba4741ab@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=bhelgaas@google.com \
--cc=firefly@firefly.nu \
--cc=linux-pci@vger.kernel.org \
--cc=regressions@leemhuis.info \
--cc=regressions@lists.linux.dev \
/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