Re: [PATCH v2] pci: Prefer MMCONFIG for all config space accesses if available
From: Matthew Wilcox
Date: Tue Dec 01 2026 - 20:08:11 EST
On Mon, Nov 30, 2026 at 09:35:51PM -0800, Josh Triplett wrote:
> Even when MMCONFIG is available, PCIe currently defaults to IO-based
> accesses for the first 256 bytes of config space.
Yes; did we fail to document why? It's been 20 years since I looked at
it, but there was always funkiness on Intel systems when the MMCONFIG
regin aliased the builtin GFX BAR, which happens during BAR sizing.
I recall we tried a lot of different things, and just gave up on
MMCONFIG for the low 256 bytes.