]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x: Return UVC cmd code, RC and RRC value when DIAG 308 Subcode 10 fails...
authorGautam Gala <ggala@linux.ibm.com>
Wed, 23 Apr 2025 08:09:15 +0000 (10:09 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 30 Apr 2025 07:48:57 +0000 (09:48 +0200)
commit55a494e53e1f0c73ba5cfb1b072fed9035b7961b
tree35c094c6758367a2ed537a3a98e96b11b153b74c
parente27cbd17dd5d46f92e2e9610e4ed12b525c548be
target/s390x: Return UVC cmd code, RC and RRC value when DIAG 308 Subcode 10 fails to enter secure mode

Extend DIAG308 subcode 10 to return the UVC RC, RRC and command code
in bit positions 32-47, 16-31, and 0-15 of register R1 + 1 if the
function does not complete successfully (in addition to the
previously returned diag response code in bit position 47-63).

Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Gautam Gala <ggala@linux.ibm.com>
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Message-ID: <20250423080915.1048123-4-ggala@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/ipl.c
hw/s390x/ipl.h
hw/s390x/s390-virtio-ccw.c
target/s390x/kvm/pv.c
target/s390x/kvm/pv.h