Re: [PATCH] PCI: Don't move a window's start when it holds a non-power-of-2 resource
From: Greg Lamberson
Date: Fri Dec 04 2026 - 23:21:51 EST
On Wed, 2 Dec 2026, Ilpo Järvinen wrote:
> Have you tested if the PCI resource placement generalization series v5
> fixes your problem:
>
> https://lore.kernel.org/linux-pci/20261106134341.39493-1-ilpo.jarvinen@xxxxxxxxxxxxxxx/
Yes, it fixes it. I applied all 14 patches of v5 to Proxmox's 7.3.5
kernel in place of my patch and booted it on the same machine. All five
VFs come up, VF BAR 2 is assigned at 0x9a00000000-0xa7ffffffff, and the
"not enough MMIO resources" line is gone. The B60's windows now sit at
the top of the 64-bit root window rather than where v7.0 puts them. The
other devices on the board bind as they do on v7.0, and the log shows
no new device errors.
The Genoa report in bugzilla 222074 made me check one more thing. This
board's firmware marks 0x1860000000-0x18801fffff, at the bottom of the
same root window, as EfiMemoryMappedIO. Nothing was placed in it.
There's one thing I can't explain yet. The first boot of this kernel,
a warm reboot from v7.0, hung for several minutes at GRUB's "Loading
initial ramdisk" message with a frozen cursor and left nothing in the
journal or in pstore. A power cycle then booted the same kernel
normally. The command line has "quiet", so I can't tell whether it
stopped in GRUB or early in the kernel. I haven't tried to reproduce
it. I'm mentioning it in case it matches something you've
seen.
Tested-by: Greg Lamberson <greg@xxxxxxxx>
If your series goes in, my patch isn't needed. Are patches 8, 9 and 13
meant for the v7.1+ stable kernels? If they aren't, my patch may still
be useful there as a smaller fix.
I used Claude (claude-opus-5-5) to build the test kernel and check the
results.
--
Greg