1 From c0d9e0bfe88c10f2d08d670d05e0919320df5133 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Glisse?= <jglisse@redhat.com>
3 Date: Mon, 13 May 2019 17:19:45 -0700
4 Subject: mm/hmm: select mmu notifier when selecting HMM
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 [ Upstream commit 734fb89968900b5c5f8edd5038bd4cdeab8c61d2 ]
11 To avoid random config build issue, select mmu notifier when HMM is
12 selected. In any cases when HMM get selected it will be by users that
13 will also wants the mmu notifier.
15 Link: http://lkml.kernel.org/r/20190403193318.16478-2-jglisse@redhat.com
16 Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
17 Acked-by: Balbir Singh <bsingharora@gmail.com>
18 Cc: Ralph Campbell <rcampbell@nvidia.com>
19 Cc: John Hubbard <jhubbard@nvidia.com>
20 Cc: Dan Williams <dan.j.williams@intel.com>
21 Cc: Arnd Bergmann <arnd@arndb.de>
22 Cc: Dan Carpenter <dan.carpenter@oracle.com>
23 Cc: Ira Weiny <ira.weiny@intel.com>
24 Cc: Matthew Wilcox <willy@infradead.org>
25 Cc: Souptick Joarder <jrdr.linux@gmail.com>
26 Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
27 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
28 Signed-off-by: Sasha Levin <sashal@kernel.org>
31 1 file changed, 1 insertion(+), 1 deletion(-)
33 diff --git a/mm/Kconfig b/mm/Kconfig
34 index 59efbd3337e0..cc4d633947bf 100644
37 @@ -708,12 +708,12 @@ config MIGRATE_VMA_HELPER
42 select MIGRATE_VMA_HELPER
45 bool "HMM mirror CPU page table into a device page table"
46 depends on ARCH_HAS_HMM
50 Select HMM_MIRROR if you want to mirror range of the CPU page table of a