Re: [Intel-gfx] [PATCH 4/5] mm: Export remap_io_mapping()

2015-04-09 Thread Joonas Lahtinen
On ti, 2015-04-07 at 17:31 +0100, Chris Wilson wrote: > This is similar to remap_pfn_range(), and uses the recently refactor > code to do the page table walking. The key difference is that is back > propagates its error as this is required for use from within a pagefault > handler. The other differ

[Intel-gfx] [PATCH 4/5] mm: Export remap_io_mapping()

2015-04-07 Thread Chris Wilson
This is similar to remap_pfn_range(), and uses the recently refactor code to do the page table walking. The key difference is that is back propagates its error as this is required for use from within a pagefault handler. The other difference, is that it combine the page protection from io-mapping,