Re: [PATCH 14/14] mm/hmm: use device driver encoding for HMM pfn

2018-03-19 Thread John Hubbard
On 03/16/2018 01:35 PM, jgli...@redhat.com wrote: > From: Jérôme Glisse > > User of hmm_vma_fault() and hmm_vma_get_pfns() provide a flags array > and pfn shift value allowing them to define their own encoding for HMM > pfn that are fill inside the pfns array of the hmm_range

Re: [PATCH 14/14] mm/hmm: use device driver encoding for HMM pfn

2018-03-19 Thread John Hubbard
On 03/16/2018 01:35 PM, jgli...@redhat.com wrote: > From: Jérôme Glisse > > User of hmm_vma_fault() and hmm_vma_get_pfns() provide a flags array > and pfn shift value allowing them to define their own encoding for HMM > pfn that are fill inside the pfns array of the hmm_range struct. With > this

[PATCH 14/14] mm/hmm: use device driver encoding for HMM pfn

2018-03-16 Thread jglisse
From: Jérôme Glisse User of hmm_vma_fault() and hmm_vma_get_pfns() provide a flags array and pfn shift value allowing them to define their own encoding for HMM pfn that are fill inside the pfns array of the hmm_range struct. With this device driver can get pfn that match

[PATCH 14/14] mm/hmm: use device driver encoding for HMM pfn

2018-03-16 Thread jglisse
From: Jérôme Glisse User of hmm_vma_fault() and hmm_vma_get_pfns() provide a flags array and pfn shift value allowing them to define their own encoding for HMM pfn that are fill inside the pfns array of the hmm_range struct. With this device driver can get pfn that match their own private