s390x: pv: Remove sclp boundary checks
commit3df4843d0e612a3c838e8d94c3e9c24520f2e680
authorJanosch Frank <frankja@linux.ibm.com>
Thu, 22 Oct 2020 10:31:34 +0000 (22 06:31 -0400)
committerCornelia Huck <cohuck@redhat.com>
Thu, 22 Oct 2020 13:47:27 +0000 (22 15:47 +0200)
tree65acbcce796c20304e0a6705a40aabe5bac16609
parentdb08244a3a7ec312dfed3fd9b88e114281215458
s390x: pv: Remove sclp boundary checks

The SCLP boundary cross check is done by the Ultravisor for a
protected guest, hence we don't need to do it. As QEMU doesn't get a
valid SCCB address in protected mode this is even problematic and can
lead to QEMU reporting a false boundary cross error.

Fixes: db13387ca0 ("s390/sclp: rework sclp boundary checks")
Reported-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Tested-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Collin Walling <walling@linux.ibm.com>
Acked-by: Halil Pasic <pasic@linux.ibm.com>
Acked-by: David Hildenbrand <david@redhat.com>
Message-Id: <20201022103135.126033-2-frankja@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/sclp.c