On Thu, Apr 11, 2019 at 02:03:26PM -0400, jglisse@xxxxxxxxxx wrote: > From: Jérôme Glisse <jglisse@xxxxxxxxxx> > > To allow building device driver that only care about address space > mirroring (like RDMA ODP) on platform that do not have all the pre- > requisite for HMM device memory (like ZONE_DEVICE on ARM) split the > HMM_MIRROR option dependency from the HMM_DEVICE dependency. > > Signed-off-by: Jérôme Glisse <jglisse@xxxxxxxxxx> > Cc: Leon Romanovsky <leonro@xxxxxxxxxxxx> > Cc: Jason Gunthorpe <jgg@xxxxxxxxxxxx> > Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > Cc: Ralph Campbell <rcampbell@xxxxxxxxxx> > Cc: John Hubbard <jhubbard@xxxxxxxxxx> > Tested-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> In case it hasn't been reported already: mm/hmm.c: In function 'hmm_vma_handle_pmd': mm/hmm.c:537:8: error: implicit declaration of function 'pmd_pfn'; did you mean 'pte_pfn'? and similar errors when building alpha:allmodconfig (and maybe others). Guenter