Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Arnd Bergmann and committed by
Bjorn Helgaas
8fe743b5 a2c6c1c2

+17 -23
-1
drivers/accel/qaic/Kconfig
··· 8 8 depends on DRM_ACCEL 9 9 depends on PCI && HAS_IOMEM 10 10 depends on MHI_BUS 11 - depends on MMU 12 11 select CRC32 13 12 help 14 13 Enables driver for Qualcomm's Cloud AI accelerator PCIe cards that are
+1 -1
drivers/firewire/Kconfig
··· 83 83 84 84 config FIREWIRE_OHCI 85 85 tristate "OHCI-1394 controllers" 86 - depends on PCI && FIREWIRE && MMU 86 + depends on PCI && FIREWIRE 87 87 help 88 88 Enable this driver if you have a FireWire controller based 89 89 on the OHCI specification. For all practical purposes, this
+1 -1
drivers/gpu/drm/Kconfig
··· 462 462 463 463 config DRM_HYPERV 464 464 tristate "DRM Support for Hyper-V synthetic video device" 465 - depends on DRM && PCI && MMU && HYPERV 465 + depends on DRM && PCI && HYPERV 466 466 select DRM_CLIENT_SELECTION 467 467 select DRM_KMS_HELPER 468 468 select DRM_GEM_SHMEM_HELPER
+1 -2
drivers/gpu/drm/amd/amdgpu/Kconfig
··· 2 2 3 3 config DRM_AMDGPU 4 4 tristate "AMD GPU" 5 - depends on DRM && PCI && MMU 5 + depends on DRM && PCI 6 6 depends on !UML 7 7 select FW_LOADER 8 8 select DRM_CLIENT ··· 68 68 config DRM_AMDGPU_USERPTR 69 69 bool "Always enable userptr write support" 70 70 depends on DRM_AMDGPU 71 - depends on MMU 72 71 select HMM_MIRROR 73 72 select MMU_NOTIFIER 74 73 help
+1 -1
drivers/gpu/drm/ast/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config DRM_AST 3 3 tristate "AST server chips" 4 - depends on DRM && PCI && MMU 4 + depends on DRM && PCI 5 5 select DRM_CLIENT_SELECTION 6 6 select DRM_GEM_SHMEM_HELPER 7 7 select DRM_KMS_HELPER
+1 -1
drivers/gpu/drm/gma500/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config DRM_GMA500 3 3 tristate "Intel GMA500/600/3600/3650 KMS Framebuffer" 4 - depends on DRM && PCI && X86 && MMU && HAS_IOPORT 4 + depends on DRM && PCI && X86 && HAS_IOPORT 5 5 select DRM_CLIENT_SELECTION 6 6 select DRM_KMS_HELPER 7 7 select FB_IOMEM_HELPERS if DRM_FBDEV_EMULATION
-1
drivers/gpu/drm/hisilicon/hibmc/Kconfig
··· 2 2 config DRM_HISI_HIBMC 3 3 tristate "DRM Support for Hisilicon Hibmc" 4 4 depends on DRM && PCI 5 - depends on MMU 6 5 select DRM_CLIENT_SELECTION 7 6 select DRM_DISPLAY_HELPER 8 7 select DRM_DISPLAY_DP_HELPER
+1 -1
drivers/gpu/drm/loongson/Kconfig
··· 2 2 3 3 config DRM_LOONGSON 4 4 tristate "DRM support for Loongson Graphics" 5 - depends on DRM && PCI && MMU 5 + depends on DRM && PCI 6 6 depends on LOONGARCH || MIPS || COMPILE_TEST 7 7 select DRM_CLIENT_SELECTION 8 8 select DRM_KMS_HELPER
+1 -1
drivers/gpu/drm/mgag200/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config DRM_MGAG200 3 3 tristate "Matrox G200" 4 - depends on DRM && PCI && MMU 4 + depends on DRM && PCI 5 5 select DRM_CLIENT_SELECTION 6 6 select DRM_GEM_SHMEM_HELPER 7 7 select DRM_KMS_HELPER
+1 -2
drivers/gpu/drm/nouveau/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config DRM_NOUVEAU 3 3 tristate "Nouveau (NVIDIA) cards" 4 - depends on DRM && PCI && MMU 4 + depends on DRM && PCI 5 5 select IOMMU_API 6 6 select FW_LOADER 7 7 select FW_CACHE if PM_SLEEP ··· 94 94 bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support" 95 95 depends on DEVICE_PRIVATE 96 96 depends on DRM_NOUVEAU 97 - depends on MMU 98 97 depends on STAGING 99 98 select HMM_MIRROR 100 99 select MMU_NOTIFIER
+1 -1
drivers/gpu/drm/qxl/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config DRM_QXL 3 3 tristate "QXL virtual GPU" 4 - depends on DRM && PCI && MMU && HAS_IOPORT 4 + depends on DRM && PCI && HAS_IOPORT 5 5 select DRM_CLIENT_SELECTION 6 6 select DRM_KMS_HELPER 7 7 select DRM_TTM
+1 -1
drivers/gpu/drm/radeon/Kconfig
··· 2 2 3 3 config DRM_RADEON 4 4 tristate "ATI Radeon" 5 - depends on DRM && PCI && MMU 5 + depends on DRM && PCI 6 6 depends on AGP || !AGP 7 7 select FW_LOADER 8 8 select DRM_CLIENT_SELECTION
+1 -1
drivers/gpu/drm/tiny/Kconfig
··· 37 37 38 38 config DRM_CIRRUS_QEMU 39 39 tristate "Cirrus driver for QEMU emulated device" 40 - depends on DRM && PCI && MMU 40 + depends on DRM && PCI 41 41 select DRM_CLIENT_SELECTION 42 42 select DRM_KMS_HELPER 43 43 select DRM_GEM_SHMEM_HELPER
+1 -1
drivers/gpu/drm/vmwgfx/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 config DRM_VMWGFX 3 3 tristate "DRM driver for VMware Virtual GPU" 4 - depends on DRM && PCI && MMU 4 + depends on DRM && PCI 5 5 depends on (X86 && HYPERVISOR_GUEST) || ARM64 6 6 select DRM_CLIENT_SELECTION 7 7 select DRM_TTM
+1 -1
drivers/gpu/drm/xe/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 config DRM_XE 3 3 tristate "Intel Xe Graphics" 4 - depends on DRM && PCI && MMU && (m || (y && KUNIT=y)) 4 + depends on DRM && PCI && (m || (y && KUNIT=y)) 5 5 select INTERVAL_TREE 6 6 # we need shmfs for the swappable backing store, and in particular 7 7 # the shmem_readpage() which depends upon tmpfs
-1
drivers/net/ethernet/broadcom/Kconfig
··· 96 96 config CNIC 97 97 tristate "QLogic CNIC support" 98 98 depends on PCI && (IPV6 || IPV6=n) 99 - depends on MMU 100 99 select BNX2 101 100 select UIO 102 101 help
+1
drivers/pci/Kconfig
··· 21 21 menuconfig PCI 22 22 bool "PCI support" 23 23 depends on HAVE_PCI 24 + depends on MMU 24 25 help 25 26 This option enables support for the PCI local bus, including 26 27 support for PCI-X and the foundations for PCI Express support.
+2 -2
drivers/pci/pci.c
··· 4257 4257 #ifndef pci_remap_iospace 4258 4258 int pci_remap_iospace(const struct resource *res, phys_addr_t phys_addr) 4259 4259 { 4260 - #if defined(PCI_IOBASE) && defined(CONFIG_MMU) 4260 + #if defined(PCI_IOBASE) 4261 4261 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; 4262 4262 4263 4263 if (!(res->flags & IORESOURCE_IO)) ··· 4290 4290 */ 4291 4291 void pci_unmap_iospace(struct resource *res) 4292 4292 { 4293 - #if defined(PCI_IOBASE) && defined(CONFIG_MMU) 4293 + #if defined(PCI_IOBASE) 4294 4294 unsigned long vaddr = (unsigned long)PCI_IOBASE + res->start; 4295 4295 4296 4296 vunmap_range(vaddr, vaddr + resource_size(res));
-1
drivers/scsi/bnx2fc/Kconfig
··· 5 5 depends on (IPV6 || IPV6=n) 6 6 depends on LIBFC 7 7 depends on LIBFCOE 8 - depends on MMU 9 8 select NETDEVICES 10 9 select ETHERNET 11 10 select NET_VENDOR_BROADCOM
-1
drivers/scsi/bnx2i/Kconfig
··· 4 4 depends on NET 5 5 depends on PCI 6 6 depends on (IPV6 || IPV6=n) 7 - depends on MMU 8 7 select SCSI_ISCSI_ATTRS 9 8 select NETDEVICES 10 9 select ETHERNET
+1 -1
drivers/vfio/pci/Kconfig
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 menu "VFIO support for PCI devices" 3 - depends on PCI && MMU 3 + depends on PCI 4 4 5 5 config VFIO_PCI_CORE 6 6 tristate