Verified on GB200 NVL4 and GB300, Ubuntu 24.04, comparing
6.8.0-1067-nvidia-64k (noble-updates) vs 6.8.0-1068-nvidia-64k (noble-
proposed).

Both platforms: on 1067, parents of zero-size bridge windows (empty hotplug 
port 05:08.0, and 05:0c.0 whose NVMe has no prefetchable BAR) are charged 1M 
per zero-size window. On 1068 they size to zero:
  04:00.0 / 02:03.0 (02:01.0) pref required:  2M -> 0
  01:00.0 pref required:  GB200 160M -> 128M, GB300 64M -> 32M

Unclaimed space under PCI Bus xxxx:05 is gone on 1068 on segments
0000/0002/0010/0012/0016 (pref 2M/4M and non-pref 1M/2M/4M gaps
removed).

No regressions on either platform: identical lspci -tv, same device
count (GB200 108, GB300 94), all BAR/window assignments succeed (213 /
175), no "can't assign"/"failed to assign"/oops.

Note: unclaimed space remains at the top of PCI Bus xxxx:02 (GB200 288M
window: 26M -> 28M; GB300 96M window: 26M -> 28M; 0016:02 4M -> 8M). It
comes from the 32M add_align rounding of the downstream port's hotplug
reservation, not from zero-size windows; the parent window size is
unchanged by this patch.

Changing tag to verification-done-noble-linux-nvidia

** Tags removed: verification-needed-noble-linux-nvidia
** Tags added: verification-done-noble-linux-nvidia

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2172847

Title:
  Prevent charging zero-size bridge windows to required size

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia/+bug/2172847/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to