Displaying 4 results from an estimated 4 matches for "73676cb4693f".
2019 Jun 13
0
[PATCH 22/22] mm: don't select MIGRATE_VMA_HELPER from HMM_MIRROR
...++ b/drivers/gpu/drm/nouveau/Kconfig
@@ -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
diff --git a/mm/Kconfig b/mm/Kconfig
index 73676cb4693f..eca88679b624 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -679,7 +679,6 @@ config HMM_MIRROR
bool "HMM mirror CPU page table into a device page table"
depends on MMU
select MMU_NOTIFIER
- select MIGRATE_VMA_HELPER
help
Select HMM_MIRROR if you want to mirror range of the CPU p...
2019 Jun 14
1
[PATCH 22/22] mm: don't select MIGRATE_VMA_HELPER from HMM_MIRROR
...+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
> diff --git a/mm/Kconfig b/mm/Kconfig
> index 73676cb4693f..eca88679b624 100644
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -679,7 +679,6 @@ config HMM_MIRROR
> bool "HMM mirror CPU page table into a device page table"
> depends on MMU
> select MMU_NOTIFIER
> - select MIGRATE_VMA_HELPER
> help
> Select HMM_MI...
2019 Jun 13
0
[PATCH 21/22] mm: remove the HMM config option
.../include/linux/mm_types.h
@@ -501,7 +501,7 @@ struct mm_struct {
#endif
struct work_struct async_put_work;
-#if IS_ENABLED(CONFIG_HMM)
+#ifdef CONFIG_HMM_MIRROR
/* HMM needs to track a few things per mm */
struct hmm *hmm;
#endif
diff --git a/mm/Kconfig b/mm/Kconfig
index 4dbd718c8cf4..73676cb4693f 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -669,37 +669,17 @@ config ZONE_DEVICE
If FS_DAX is enabled, then say Y.
-config ARCH_HAS_HMM_MIRROR
- bool
- default y
- depends on (X86_64 || PPC64)
- depends on MMU && 64BIT
-
-config ARCH_HAS_HMM
- bool
- depends on (X86_64 || PPC64)
-...
2019 Jun 13
57
dev_pagemap related cleanups
Hi Dan, Jérôme and Jason,
below is a series that cleans up the dev_pagemap interface so that
it is more easily usable, which removes the need to wrap it in hmm
and thus allowing to kill a lot of code
Diffstat:
22 files changed, 245 insertions(+), 802 deletions(-)
Git tree:
git://git.infradead.org/users/hch/misc.git hmm-devmem-cleanup
Gitweb: