s390x/pci: use the right pal and pba in reg_ioat()
commitf9125e3a3163fbc20e1a34f837b2f02b9ac3cd34
authorYi Min Zhao <zyimin@linux.vnet.ibm.com>
Mon, 5 Feb 2018 07:22:58 +0000 (5 15:22 +0800)
committerCornelia Huck <cohuck@redhat.com>
Fri, 9 Feb 2018 08:37:13 +0000 (9 09:37 +0100)
tree8367dc38f994e2b896ae2aaae56e10d602bc3166
parentb3f05d8c7f5ef499e7bf7384d7a0507b8a33afe4
s390x/pci: use the right pal and pba in reg_ioat()

When registering ioat, pba should be comprised of leftmost 52 bits and
rightmost 12 binary zeros, and pal should be comprised of leftmost 52
bits and right most 12 binary ones. The lower 12 bits of words 5 and 7
of the FIB are ignored by the facility. Let's fixup this.

Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Message-Id: <20180205072258.5968-4-zyimin@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/s390-pci-inst.c