mm, dax, gpu: convert vm_insert_mixed to pfn_t
Convert the raw unsigned long 'pfn' argument to pfn_t for the purpose of evaluating the PFN_MAP and PFN_DEV flags. When both are set it triggers _PAGE_DEVMAP to be set in the resulting pte. There are no functional changes to the gpu drivers as a result of this conversion. Signed-off-by:Dan Williams <dan.j.williams@intel.com> Cc: Dave Hansen <dave@sr71.net> Cc: David Airlie <airlied@linux.ie> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/x86/include/asm/pgtable.h 5 additions, 0 deletionsarch/x86/include/asm/pgtable.h
- drivers/gpu/drm/exynos/exynos_drm_gem.c 3 additions, 1 deletiondrivers/gpu/drm/exynos/exynos_drm_gem.c
- drivers/gpu/drm/gma500/framebuffer.c 3 additions, 1 deletiondrivers/gpu/drm/gma500/framebuffer.c
- drivers/gpu/drm/msm/msm_gem.c 3 additions, 1 deletiondrivers/gpu/drm/msm/msm_gem.c
- drivers/gpu/drm/omapdrm/omap_gem.c 5 additions, 2 deletionsdrivers/gpu/drm/omapdrm/omap_gem.c
- drivers/gpu/drm/ttm/ttm_bo_vm.c 3 additions, 1 deletiondrivers/gpu/drm/ttm/ttm_bo_vm.c
- fs/dax.c 1 addition, 1 deletionfs/dax.c
- include/linux/mm.h 1 addition, 1 deletioninclude/linux/mm.h
- include/linux/pfn_t.h 27 additions, 0 deletionsinclude/linux/pfn_t.h
- mm/memory.c 10 additions, 6 deletionsmm/memory.c
Loading
Please register or sign in to comment