On Wed, May 31, 2017 at 12:10:24PM +1000, Balbir Singh wrote: > On Wed, 24 May 2017 13:20:11 -0400 > Jérôme Glisse <jgli...@redhat.com> wrote: > > > HMM provides 3 separate types of functionality: > > - Mirroring: synchronize CPU page table and device page table > > - Device memory: allocating struct page for device memory > > - Migration: migrating regular memory to device memory > > > > This patch introduces some common helpers and definitions to all of > > those 3 functionality. > > > > Changed since v3: > > - Unconditionaly build hmm.c for static keys > > Changed since v2: > > - s/device unaddressable/device private > > Changed since v1: > > - Kconfig logic (depend on x86-64 and use ARCH_HAS pattern) > > > > Signed-off-by: Jérôme Glisse <jgli...@redhat.com> > > Signed-off-by: Evgeny Baskakov <ebaska...@nvidia.com> > > Signed-off-by: John Hubbard <jhubb...@nvidia.com> > > Signed-off-by: Mark Hairgrove <mhairgr...@nvidia.com> > > Signed-off-by: Sherry Cheung <sche...@nvidia.com> > > Signed-off-by: Subhash Gutti <sgu...@nvidia.com> > > --- > > It would be nice to explain a bit of how hmm_pfn_t bits work with pfn > and find out what we need from an arch to support HMM. >
This is only needed for HMM_MIRROR feature so you do not care about it for powerpc Jérôme