s390x/pci: coalesce unmap operations
authorMatthew Rosato <mjrosato@linux.ibm.com>
Fri, 28 Oct 2022 19:47:57 +0000 (15:47 -0400)
committerThomas Huth <thuth@redhat.com>
Thu, 15 Dec 2022 14:02:34 +0000 (15:02 +0100)
commitef536007c3301bbd6a787e4c2210ea289adaa6f0
tree1b8d1b8827dd72629bf6bb9aae15cda20b6489e8
parent48804eebd4a327e4b11f902ba80a00876ee53a43
s390x/pci: coalesce unmap operations

Currently, each unmapped page is handled as an individual iommu
region notification.  Attempt to group contiguous unmap operations
into fewer notifications to reduce overhead.

Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Message-Id: <20221028194758.204007-3-mjrosato@linux.ibm.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/s390-pci-inst.c