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.