[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 5/5] s390x/pci: Honor DMA limits set by vfio
From: |
Cornelia Huck |
Subject: |
Re: [PATCH v4 5/5] s390x/pci: Honor DMA limits set by vfio |
Date: |
Tue, 22 Sep 2020 12:16:50 +0200 |
On Thu, 17 Sep 2020 10:20:45 -0400
Matthew Rosato <mjrosato@linux.ibm.com> wrote:
> When an s390 guest is using lazy unmapping, it can result in a very
> large number of oustanding DMA requests, far beyond the default
> limit configured for vfio. Let's track DMA usage similar to vfio
> in the host, and trigger the guest to flush their DMA mappings
> before vfio runs out.
>
> Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
> ---
> hw/s390x/s390-pci-bus.c | 16 +++++++++++-----
> hw/s390x/s390-pci-bus.h | 9 +++++++++
> hw/s390x/s390-pci-inst.c | 45 +++++++++++++++++++++++++++++++++++++++------
> hw/s390x/s390-pci-inst.h | 3 +++
> hw/s390x/s390-pci-vfio.c | 42 ++++++++++++++++++++++++++++++++++++++++++
> hw/s390x/s390-pci-vfio.h | 5 +++++
> 6 files changed, 109 insertions(+), 11 deletions(-)
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
- [PATCH v4 0/5] s390x/pci: Accomodate vfio DMA limiting, Matthew Rosato, 2020/09/17
- [PATCH v4 2/5] vfio: Create shared routine for scanning info capabilities, Matthew Rosato, 2020/09/17
- [PATCH v4 3/5] vfio: Find DMA available capability, Matthew Rosato, 2020/09/17
- [PATCH v4 4/5] s390x/pci: Add routine to get the vfio dma available count, Matthew Rosato, 2020/09/17
- [PATCH v4 1/5] linux-headers: update against 5.9-rc5, Matthew Rosato, 2020/09/17
- [PATCH v4 5/5] s390x/pci: Honor DMA limits set by vfio, Matthew Rosato, 2020/09/17
- Re: [PATCH v4 5/5] s390x/pci: Honor DMA limits set by vfio,
Cornelia Huck <=
- Re: [PATCH v4 0/5] s390x/pci: Accomodate vfio DMA limiting, no-reply, 2020/09/17