diff options
author | Matthew Rosato <mjrosato@linux.ibm.com> | 2020-09-15 22:05:18 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-09-21 23:58:34 +0300 |
commit | 7d6e1329652ed971d1b6e0e7bea66fba5044e271 (patch) | |
tree | cc46122738f89fed688be8c3af783ed592a3a3eb /mm/failslab.c | |
parent | ba4f184e126b751d1bffad5897f263108befc780 (diff) | |
download | linux-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