include/boot: Rename DIAG308 constants

Add DIAG308_LOAD_NORMAL diag308 subcode (used by FCP/NVMe normal ipl).
Rename other diag308_subcode and diag308_rc constants to be in sync with
kernel naming.

Signed-off-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Mikhail Zaslonko
2023-05-31 21:04:24 +02:00
committed by Jan Höppner
parent 53eccc0a3d
commit 2b7df1fcac
3 changed files with 11 additions and 8 deletions

View File

@@ -405,7 +405,7 @@ static __noreturn void dump_exit(unsigned long code)
if (ipib_info->ipib_csum != csum)
libc_stop(code);
diag308(DIAG308_SET, (void *) ipib_info->ipib);
diag308(DIAG308_IPL, NULL);
diag308(DIAG308_LOAD_CLEAR, NULL);
__builtin_unreachable();
}

View File

@@ -121,7 +121,7 @@ secure_boot_enabled()
rc = pl_hdr->version <= IPL_MAX_SUPPORTED_VERSION &&
!!(pl_hdr->flags & IPL_FLAG_SECURE);
break;
case DIAG308_RC_NO_CONF:
case DIAG308_RC_NOCONFIG:
rc = 0;
break;
default: