]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm: don't select MIGRATE_VMA_HELPER from HMM_MIRROR
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Jun 2019 12:27:24 +0000 (14:27 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 2 Jul 2019 17:32:45 +0000 (14:32 -0300)
The migrate_vma helper is only used by noveau to migrate device private
pages around.  Other HMM_MIRROR users like amdgpu or infiniband don't
need it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/gpu/drm/nouveau/Kconfig
mm/Kconfig

index 66c839d8e9d16c5924c4af1db8b0bbcdf20d8442..96b9814e6d063c881c476327ea6a854e973f7a93 100644 (file)
@@ -88,6 +88,7 @@ config DRM_NOUVEAU_SVM
        depends on DRM_NOUVEAU
        depends on HMM_MIRROR
        depends on STAGING
+       select MIGRATE_VMA_HELPER
        default n
        help
          Say Y here if you want to enable experimental support for
index 1e426c26b1d6508933333b96918f11d46a8d3775..40cf0562412db60e1651be6b7c61a22dbc23ad79 100644 (file)
@@ -680,7 +680,6 @@ config HMM_MIRROR
        depends on (X86_64 || PPC64)
        depends on MMU && 64BIT
        select MMU_NOTIFIER
-       select MIGRATE_VMA_HELPER
        help
          Select HMM_MIRROR if you want to mirror range of the CPU page table of a
          process into a device page table. Here, mirror means "keep synchronized".