[PATCH 0/4] PCI: Add support and tests for FIXUP quirks in modules
Christoph Hellwig
hch at infradead.org
Mon Sep 15 06:48:22 PDT 2025
On Fri, Sep 12, 2025 at 03:59:31PM -0700, Brian Norris wrote:
> This series primarily adds support for DECLARE_PCI_FIXUP_*() in modules.
> There are a few drivers that already use this, and so they are
> presumably broken when built as modules.
That's a reall bad idea, because it allows random code to insert quirks
not even bound to the hardware they support.
So no, modules should not allow quirks, but the kernel should probably
be nice enough to fail compilation when someone is attemping that
instead of silently ignoring the quirks.
More information about the linux-um
mailing list