summaryrefslogtreecommitdiff
path: root/drivers/phy
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2020-04-28 22:12:20 +0300
committerAlex Williamson <alex.williamson@redhat.com>2020-05-18 18:53:29 +0300
commit11c4cd07ba111a09f49625f9e4c851d83daf0a22 (patch)
tree868e577bfeb69468dc98507c19110f2ee3f3ee7d /drivers/phy
parent41311242221e3482b20bfed10fa4d9db98d87016 (diff)
downloadlinux-11c4cd07ba111a09f49625f9e4c851d83daf0a22.tar.xz
vfio-pci: Fault mmaps to enable vma tracking
Rather than calling remap_pfn_range() when a region is mmap'd, setup a vm_ops handler to support dynamic faulting of the range on access. This allows us to manage a list of vmas actively mapping the area that we can later use to invalidate those mappings. The open callback invalidates the vma range so that all tracking is inserted in the fault handler and removed in the close handler. Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/phy')
0 files changed, 0 insertions, 0 deletions