diff options
author | 2020-09-15 15:05:18 -0400 | |
---|---|---|
committer | 2020-09-21 14:58:34 -0600 | |
commit | 7d6e1329652ed971d1b6e0e7bea66fba5044e271 (patch) | |
tree | cc46122738f89fed688be8c3af783ed592a3a3eb /drivers/usb/cdns3/cdns3-imx.c | |
parent | Linux 5.9-rc6 (diff) | |
download | linux-dev-7d6e1329652ed971d1b6e0e7bea66fba5044e271.tar.xz linux-dev-7d6e1329652ed971d1b6e0e7bea66fba5044e271.zip |
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 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions