Skip to content

Commit 8fe743b

Browse files
arndbbjorn-helgaas
authored andcommitted
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/[email protected]/ Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Martin K. Petersen <[email protected]> # SCSI Reviewed-by: Thomas Zimmermann <[email protected]> Acked-by: Alex Deucher <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent a2c6c1c commit 8fe743b

File tree

21 files changed

+17
-23
lines changed

21 files changed

+17
-23
lines changed

drivers/accel/qaic/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ config DRM_ACCEL_QAIC
88
depends on DRM_ACCEL
99
depends on PCI && HAS_IOMEM
1010
depends on MHI_BUS
11-
depends on MMU
1211
select CRC32
1312
help
1413
Enables driver for Qualcomm's Cloud AI accelerator PCIe cards that are

drivers/firewire/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ config FIREWIRE_KUNIT_SELF_ID_SEQUENCE_HELPER_TEST
8383

8484
config FIREWIRE_OHCI
8585
tristate "OHCI-1394 controllers"
86-
depends on PCI && FIREWIRE && MMU
86+
depends on PCI && FIREWIRE
8787
help
8888
Enable this driver if you have a FireWire controller based
8989
on the OHCI specification. For all practical purposes, this

drivers/gpu/drm/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ source "drivers/gpu/drm/imagination/Kconfig"
462462

463463
config DRM_HYPERV
464464
tristate "DRM Support for Hyper-V synthetic video device"
465-
depends on DRM && PCI && MMU && HYPERV
465+
depends on DRM && PCI && HYPERV
466466
select DRM_CLIENT_SELECTION
467467
select DRM_KMS_HELPER
468468
select DRM_GEM_SHMEM_HELPER

drivers/gpu/drm/amd/amdgpu/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
config DRM_AMDGPU
44
tristate "AMD GPU"
5-
depends on DRM && PCI && MMU
5+
depends on DRM && PCI
66
depends on !UML
77
select FW_LOADER
88
select DRM_CLIENT
@@ -68,7 +68,6 @@ config DRM_AMDGPU_CIK
6868
config DRM_AMDGPU_USERPTR
6969
bool "Always enable userptr write support"
7070
depends on DRM_AMDGPU
71-
depends on MMU
7271
select HMM_MIRROR
7372
select MMU_NOTIFIER
7473
help

drivers/gpu/drm/ast/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
config DRM_AST
33
tristate "AST server chips"
4-
depends on DRM && PCI && MMU
4+
depends on DRM && PCI
55
select DRM_CLIENT_SELECTION
66
select DRM_GEM_SHMEM_HELPER
77
select DRM_KMS_HELPER

drivers/gpu/drm/gma500/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
config DRM_GMA500
33
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
55
select DRM_CLIENT_SELECTION
66
select DRM_KMS_HELPER
77
select FB_IOMEM_HELPERS if DRM_FBDEV_EMULATION

drivers/gpu/drm/hisilicon/hibmc/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
config DRM_HISI_HIBMC
33
tristate "DRM Support for Hisilicon Hibmc"
44
depends on DRM && PCI
5-
depends on MMU
65
select DRM_CLIENT_SELECTION
76
select DRM_DISPLAY_HELPER
87
select DRM_DISPLAY_DP_HELPER

drivers/gpu/drm/loongson/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
config DRM_LOONGSON
44
tristate "DRM support for Loongson Graphics"
5-
depends on DRM && PCI && MMU
5+
depends on DRM && PCI
66
depends on LOONGARCH || MIPS || COMPILE_TEST
77
select DRM_CLIENT_SELECTION
88
select DRM_KMS_HELPER

drivers/gpu/drm/mgag200/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
config DRM_MGAG200
33
tristate "Matrox G200"
4-
depends on DRM && PCI && MMU
4+
depends on DRM && PCI
55
select DRM_CLIENT_SELECTION
66
select DRM_GEM_SHMEM_HELPER
77
select DRM_KMS_HELPER

drivers/gpu/drm/nouveau/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
config DRM_NOUVEAU
33
tristate "Nouveau (NVIDIA) cards"
4-
depends on DRM && PCI && MMU
4+
depends on DRM && PCI
55
select IOMMU_API
66
select FW_LOADER
77
select FW_CACHE if PM_SLEEP
@@ -94,7 +94,6 @@ config DRM_NOUVEAU_SVM
9494
bool "(EXPERIMENTAL) Enable SVM (Shared Virtual Memory) support"
9595
depends on DEVICE_PRIVATE
9696
depends on DRM_NOUVEAU
97-
depends on MMU
9897
depends on STAGING
9998
select HMM_MIRROR
10099
select MMU_NOTIFIER

0 commit comments

Comments
 (0)