[PATCH 0/8] x86/pci: consolidate x86-specific PCI quirks into arch/x86/pci/fixup.c
From: Rosen Penev
Date: Tue Jul 07 2026 - 18:18:32 EST
This series moves all x86-specific PCI quirks from the generic
drivers/pci/quirks.c into arch/x86/pci/fixup.c, where they
architecturally belong. This reduces the ifdef burden in the generic
quirk file and improves build granularity by gating the x86 fixups
behind CONFIG_PCI_QUIRKS.
The series is organized as a preparatory commit followed by one
commit per vendor/family, keeping each move reviewable.
Suggested by: https://lore.kernel.org/all/20161221142607.GA8594@xxxxxxxxxxxxx/
Rosen Penev (8):
x86/pci: gate arch fixups with CONFIG_PCI_QUIRKS
x86/pci: move Intel chipset quirks to arch/x86/pci/fixup.c
x86/pci: move VIA chipset quirks to arch/x86/pci/fixup.c
x86/pci: move SiS chipset quirks to arch/x86/pci/fixup.c
x86/pci: move ALi chipset quirks to arch/x86/pci/fixup.c
x86/pci: move AMD x86 chipset quirks to arch/x86/pci/fixup.c
x86/pci: move x86 ifdef-gated quirks to arch/x86/pci/fixup.c
x86/pci: move remaining x86-specific quirks to fixup.c
arch/x86/pci/Makefile | 2 +-
arch/x86/pci/fixup.c | 2284 ++++++++++++++++++++++++++++++++++++++++
drivers/pci/pci.h | 3 +
drivers/pci/quirks.c | 2330 +----------------------------------------
4 files changed, 2316 insertions(+), 2303 deletions(-)
--
2.55.0