Re: [Nouveau] [PATCH v3 0/5] mm/hmm/nouveau: add PMD system memory mapping

2020-07-23 Thread Jason Gunthorpe
On Wed, Jul 01, 2020 at 03:53:47PM -0700, Ralph Campbell wrote: > The goal for this series is to introduce the hmm_pfn_to_map_order() > function. This allows a device driver to know that a given 4K PFN is > actually mapped by the CPU using a larger sized CPU page table entry and > therefore the

Re: [Nouveau] [PATCH v3 0/5] mm/hmm/nouveau: add PMD system memory mapping

2020-07-10 Thread Ralph Campbell
On 7/10/20 12:27 PM, Jason Gunthorpe wrote: On Wed, Jul 01, 2020 at 03:53:47PM -0700, Ralph Campbell wrote: The goal for this series is to introduce the hmm_pfn_to_map_order() function. This allows a device driver to know that a given 4K PFN is actually mapped by the CPU using a larger sized

[Nouveau] [PATCH v3 0/5] mm/hmm/nouveau: add PMD system memory mapping

2020-07-01 Thread Ralph Campbell
The goal for this series is to introduce the hmm_pfn_to_map_order() function. This allows a device driver to know that a given 4K PFN is actually mapped by the CPU using a larger sized CPU page table entry and therefore the device driver can safely map system memory using larger device MMU PTEs.