mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
When DIAG 308 subcode 10 is specified, and the configuration fails to enter the secure mode, then the stage3a bootloader reads the DIAG response code, UV RC, RRC and command id from bit positions 48-63, 32-47, 16-31, and 0-15 of the general register R1 + 1. The bootloader now prints the error codes to help pinpoint the error cause. For some cases that are reported to occur often the bootloader also prints the cause when possible or prints hints to help understand the cause. QEMU patch "DIAG 308: extend subcode 10 to return UVC cmd id, RC and RRC values upon failure to enter secure mode" (commit-id: ) is needed with this patch. Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Gautam Gala <ggala@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>