[git pull] ttm-prot-fix

Thomas Hellström (VMware) thomas_os at shipmail.org
Thu Jan 16 10:24:11 UTC 2020


From: Thomas Hellström (VMware) <thellstrom at vmware.com>

Dave, Daniel,

A small fix for the long-standing ttm vm page protection hack.

I'm sending this a separate pull request since it is touching mm code and
similar to the vmwgfx coherent stuff, Linus might want this as a separate
pull request. If sent separate it'd be good if it could still spend some
time in linux-next.

The mm changes have been acked by Andrew for merging through drm.
The ttm changes have been OK'd by Christian for a direct pull.

The following changes since commit 71e7274066c646bb3d9da39d2f4db0a6404c0a2d:

  Merge tag 'drm-intel-next-2020-01-14' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2020-01-15 16:57:54 +1000)

are available in the Git repository at:

  git://people.freedesktop.org/~thomash/linux ttm-prot-fix

for you to fetch changes up to 5379e4dd3220e23f68ce70b76b3a52a9a68cee05:

  mm, drm/ttm: Fix vm page protection handling (2020-01-16 10:32:41 +0100)

----------------------------------------------------------------
Thomas Hellstrom (2):
      mm: Add a vmf_insert_mixed_prot() function
      mm, drm/ttm: Fix vm page protection handling

 drivers/gpu/drm/ttm/ttm_bo_vm.c | 22 ++++++++++++++-------
 include/linux/mm.h              |  2 ++
 include/linux/mm_types.h        |  7 ++++++-
 mm/memory.c                     | 44 +++++++++++++++++++++++++++++++++++++----
 4 files changed, 63 insertions(+), 12 deletions(-)


More information about the dri-devel mailing list