OSDN Git Service

s390x: protvirt: Disable address checks for PV guest IO emulation
authorJanosch Frank <frankja@linux.ibm.com>
Thu, 19 Mar 2020 13:19:17 +0000 (09:19 -0400)
committerCornelia Huck <cohuck@redhat.com>
Wed, 29 Apr 2020 12:31:32 +0000 (14:31 +0200)
commitc10b708752e5264a85b5c3afa0a0ccfcf6503ddf
tree7ef0477d4435811fdbde7ad8a758925f79981307
parent9c61e11238cfa8f70e3eb90aac5d3e5646e5432f
s390x: protvirt: Disable address checks for PV guest IO emulation

IO instruction data is routed through SIDAD for protected guests, so
adresses do not need to be checked, as this is kernel memory which is
always available.

Also the instruction data always starts at offset 0 of the SIDAD.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20200319131921.2367-13-frankja@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/ioinst.c