]> git.proxmox.com Git - mirror_qemu.git/commit
s390: PCI: fix IOMMU region init
authorMatthew Rosato <mjrosato@linux.ibm.com>
Thu, 26 Sep 2019 14:10:36 +0000 (10:10 -0400)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 30 Sep 2019 11:51:49 +0000 (13:51 +0200)
commit7df1dac5f1c85312474df9cb3a8fcae72303da62
tree06dcf6ea86a3087b95c6113569261499524dcb5f
parentecd6663d95c94e1f1b736eab4254c2debd94edc1
s390: PCI: fix IOMMU region init

The fix in dbe9cf606c shrinks the IOMMU memory region to a size
that seems reasonable on the surface, however is actually too
small as it is based against a 0-mapped address space.  This
causes breakage with small guests as they can overrun the IOMMU window.

Let's go back to the prior method of initializing iommu for now.

Fixes: dbe9cf606c ("s390x/pci: Set the iommu region size mpcifc request")
Cc: qemu-stable@nongnu.org
Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
Reported-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Tested-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reported-by: Stefan Zimmerman <stzi@linux.ibm.com>
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
Message-Id: <1569507036-15314-1-git-send-email-mjrosato@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
hw/s390x/s390-pci-bus.c