From: Jérôme Glisse <jglisse@xxxxxxxxxx> Few fixes that only affect HMM users. Improve the synchronization call back so that we match was other mmu_notifier listener do and add proper support to the new blockable flags in the process. For curious folks here are branches to leverage HMM in various existing device drivers: https://cgit.freedesktop.org/~glisse/linux/log/?h=hmm-nouveau-v01 https://cgit.freedesktop.org/~glisse/linux/log/?h=hmm-radeon-v00 https://cgit.freedesktop.org/~glisse/linux/log/?h=hmm-intel-v00 More to come (amd gpu, Mellanox, ...) I expect more of the preparatory work for nouveau will be merge in 4.20 (like we have been doing since 4.16) and i will wait until this patchset is upstream before pushing the patches that actualy make use of HMM (to avoid complex tree inter-dependency). Jérôme Glisse (5): mm/hmm: fix utf8 ... mm/hmm: properly handle migration pmd mm/hmm: use a structure for update callback parameters mm/hmm: invalidate device page table at start of invalidation mm/hmm: proper support for blockable mmu_notifier Ralph Campbell (2): mm/rmap: map_pte() was not handling private ZONE_DEVICE page properly mm/hmm: fix race between hmm_mirror_unregister() and mmu_notifier callback include/linux/hmm.h | 37 +++++++---- mm/hmm.c | 150 ++++++++++++++++++++++++++++++------------- mm/page_vma_mapped.c | 9 +++ 3 files changed, 142 insertions(+), 54 deletions(-) -- 2.17.1