Christoph Hellwig 1fbaf8fc12 mm: add a io_mapping_map_user helper
Add a helper that calls remap_pfn_range for an struct io_mapping, relying
on the pgprot pre-validation done when creating the mapping instead of
doing it at runtime.

Link: https://lkml.kernel.org/r/20210326055505.1424432-3-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-04-30 11:20:39 -07:00
..
2021-04-26 10:25:03 -07:00
2021-02-26 09:41:00 -08:00
2021-02-24 13:38:27 -08:00
2021-02-26 09:41:01 -08:00
2021-04-30 11:20:37 -07:00
2021-04-30 11:20:37 -07:00
2021-04-27 13:08:12 -07:00
2021-04-30 11:20:39 -07:00
2021-04-30 11:20:36 -07:00
2020-12-15 12:13:47 -08:00
2021-04-30 11:20:39 -07:00
2021-04-30 11:20:39 -07:00
2021-03-02 17:25:46 -07:00
2021-04-16 16:10:37 -07:00
2021-04-28 12:00:13 -07:00
2021-04-30 11:20:36 -07:00
2021-02-26 09:40:59 -08:00
2021-02-26 09:40:59 -08:00
2021-04-30 11:20:37 -07:00