]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: Add CONFIG_MMU dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 23 Apr 2025 20:16:32 +0000 (22:16 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 23 Apr 2025 20:40:30 +0000 (15:40 -0500)
commit8fe743b5eba0abfbee39fe27b12acfb0df9b8a2d
tree941b636cf4fbfa269f03739efda580bd4546b757
parenta2c6c1c23bed3506fd87e00c88540ac47832c867
PCI: Add CONFIG_MMU dependency

It turns out that there are no platforms that have PCI but don't have an
MMU, so adding a Kconfig dependency on CONFIG_PCI simplifies build testing
kernels for those platforms a lot, and avoids a lot of inadvertent build
regressions.

Add a dependency for CONFIG_PCI and remove all the ones for PCI specific
device drivers that are currently marked not having it.

There are a few platforms that have an optional MMU, but they usually
cannot have PCI at all. The one exception is Coldfire MCF54xx, but this is
mainly for historic reasons, and anyone using those chips should really use
the MMU these days.

Link: https://lore.kernel.org/lkml/a41f1b20-a76c-43d8-8c36-f12744327a54@app.fastmail.com/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> # SCSI
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patch.msgid.link/20250423202215.3315550-1-arnd@kernel.org
21 files changed:
drivers/accel/qaic/Kconfig
drivers/firewire/Kconfig
drivers/gpu/drm/Kconfig
drivers/gpu/drm/amd/amdgpu/Kconfig
drivers/gpu/drm/ast/Kconfig
drivers/gpu/drm/gma500/Kconfig
drivers/gpu/drm/hisilicon/hibmc/Kconfig
drivers/gpu/drm/loongson/Kconfig
drivers/gpu/drm/mgag200/Kconfig
drivers/gpu/drm/nouveau/Kconfig
drivers/gpu/drm/qxl/Kconfig
drivers/gpu/drm/radeon/Kconfig
drivers/gpu/drm/tiny/Kconfig
drivers/gpu/drm/vmwgfx/Kconfig
drivers/gpu/drm/xe/Kconfig
drivers/net/ethernet/broadcom/Kconfig
drivers/pci/Kconfig
drivers/pci/pci.c
drivers/scsi/bnx2fc/Kconfig
drivers/scsi/bnx2i/Kconfig
drivers/vfio/pci/Kconfig