mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Adding a new tool (tamper_pvimg) for helping to test if the expected RC and RRC values are received for several different reasons when DIAG 308 subcode does not complete successfully. The reasons can include issues related to host key hash, SE header, ALD/PDL/TLD mistmatch, etc. This tool can read the SE image and manipulate one of the SE header fields so that the SE image will fail to enter secure mode during the stage3a booting process. The stage3a bootloader should receive UVC command code id, RC and RRC values corresponding to the SE header field that was manipulated. These values will be checked for consistency in the tests for correctness of DIAG 308 subcode 10 RCs and RRCs. [hoeppner@linux.ibm.com: shortened commit subject] Signed-off-by: Gautam Gala <ggala@linux.ibm.com> Signed-off-by: Steffen Eiden <sediden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>