mbox series

[0/3] Remove drm/ttm-specific mm changes

Message ID cover.1678661628.git.lstoakes@gmail.com (mailing list archive)
Headers show
Series Remove drm/ttm-specific mm changes | expand

Message

Lorenzo Stoakes March 12, 2023, 11:40 p.m. UTC
Functionality was added specifically for the DRM TTM driver to support
mapping memory for VM_MIXEDMAP VMAs with customised protection flags,
however this has now been rolled back as issues were found with this
approach.

This series removes the mm changes too, retaining some of the useful
comments.

Lorenzo Stoakes (3):
  mm: remove unused vmf_insert_mixed_prot()
  mm: Remove vmf_insert_pfn_xxx_prot() for huge page-table entries
  drm/ttm: Remove comment referencing now-removed
    vmf_insert_mixed_prot()

 drivers/gpu/drm/ttm/ttm_bo_vm.c |  2 +-
 include/linux/huge_mm.h         | 39 ++--------------------
 include/linux/mm.h              |  2 --
 include/linux/mm_types.h        |  7 +---
 mm/huge_memory.c                | 31 ++++++++----------
 mm/memory.c                     | 57 +++++++++++----------------------
 6 files changed, 35 insertions(+), 103 deletions(-)

--
2.39.2