All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josh Triplett <josh@joshtriplett.org>
To: Matthew Wilcox <willy@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>,
	Bjorn Helgaas <bhelgaas@google.com>,
	Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Thomas Gleixner <tglx@kernel.org>, Ingo Molnar <mingo@redhat.com>,
	Dave Hansen <dave.hansen@linux.intel.com>,
	"H. Peter Anvin" <hpa@zytor.com>,
	linux-pci@vger.kernel.org, x86@kernel.org,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] pci: Prefer MMCONFIG for all config space accesses if available
Date: Tue, 1 Dec 2026 22:49:10 -0800	[thread overview]
Message-ID: <aw-_Znnqcrv53WKd@localhost> (raw)
In-Reply-To: <aw9vbgMPcrTMU2Uh@casper.infradead.org>

On Wed, Dec 02, 2026 at 01:07:58AM +0000, Matthew Wilcox wrote:
> 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.

On which systems, specifically? We have systems with a lot more devices
than we did 20 years ago, and accessing them via IO and a lock is a
bottleneck. I'd be happy to either extend the denylist (if you can
characterize the systems where it was a problem) or if we *have* to, we
can make it a broad allowlist.

      reply	other threads:[~2026-12-02  6:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01  5:35 [PATCH v2] pci: Prefer MMCONFIG for all config space accesses if available Josh Triplett
2026-12-01  5:49 ` sashiko-bot
2026-12-02  1:07 ` Matthew Wilcox
2026-12-02  6:49   ` Josh Triplett [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=aw-_Znnqcrv53WKd@localhost \
    --to=josh@joshtriplett.org \
    --cc=bhelgaas@google.com \
    --cc=bp@alien8.de \
    --cc=corbet@lwn.net \
    --cc=dave.hansen@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=skhan@linuxfoundation.org \
    --cc=tglx@kernel.org \
    --cc=willy@infradead.org \
    --cc=x86@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.