summaryrefslogtreecommitdiff
path: root/mm/failslab.c
diff options
context:
space:
mode:
authorMatthew Rosato <mjrosato@linux.ibm.com>2020-09-15 22:05:18 +0300
committerAlex Williamson <alex.williamson@redhat.com>2020-09-21 23:58:34 +0300
commit7d6e1329652ed971d1b6e0e7bea66fba5044e271 (patch)
treecc46122738f89fed688be8c3af783ed592a3a3eb /mm/failslab.c
parentba4f184e126b751d1bffad5897f263108befc780 (diff)
downloadlinux-7d6e1329652ed971d1b6e0e7bea66fba5044e271.tar.xz
vfio iommu: Add dma available capability
Commit 492855939bdb ("vfio/type1: Limit DMA mappings per container") added the ability to limit the number of memory backed DMA mappings. However on s390x, when lazy mapping is in use, we use a very large number of concurrent mappings. Let's provide the current allowable number of DMA mappings to userspace via the IOMMU info chain so that userspace can take appropriate mitigation. Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'mm/failslab.c')
0 files changed, 0 insertions, 0 deletions