aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-host
diff options
context:
space:
mode:
authorYi Min Zhao <zyimin@linux.vnet.ibm.com>2018-02-05 15:22:57 +0800
committerCornelia Huck <cohuck@redhat.com>2018-02-09 09:37:13 +0100
commitb3f05d8c7f5ef499e7bf7384d7a0507b8a33afe4 (patch)
tree6ed5b4cea3e7d858b4c4cec15027b838212e8baa /hw/pci-host
parent0125861eacc37478308b462dc9f41438c94fb5e2 (diff)
s390x/pci: fixup global refresh
The VFIO common code doesn't provide the possibility to modify a previous mapping entry in another way than unmapping and mapping again with new properties. To avoid -EEXIST DMA mapping error, we introduce a GHashTable to store S390IOTLBEntry instances in order to cache the mapped entries. When intercepting rpcit instruction, ignore the identical mapped entries to avoid doing map operations multiple times and do unmap and re-map operations for the case of updating the valid entries. Acked-by: Pierre Morel <pmorel@linux.vnet.ibm.com> Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com> Message-Id: <20180205072258.5968-3-zyimin@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/pci-host')
0 files changed, 0 insertions, 0 deletions