Commit 0f7451ff authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

s390/ipl: use load normal for LPAR re-ipl

Avoid clearing memory for CCW-type re-ipl within a logical
partition. This can save a significant amount of time if a logical
partition contains a lot of memory.

On the other hand we still clear memory if running within a second
level hypervisor, since the hypervisor can simply free all memory that
was used for the guest.
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Acked-by: default avatarMichael Holzheu <holzheu@linux.vnet.ibm.com>
Reviewed-by: default avatarPeter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 6c22c986
...@@ -1085,6 +1085,9 @@ static void __reipl_run(void *unused) ...@@ -1085,6 +1085,9 @@ static void __reipl_run(void *unused)
break; break;
case REIPL_METHOD_CCW_DIAG: case REIPL_METHOD_CCW_DIAG:
diag308(DIAG308_SET, reipl_block_ccw); diag308(DIAG308_SET, reipl_block_ccw);
if (MACHINE_IS_LPAR)
diag308(DIAG308_DUMP, NULL);
else
diag308(DIAG308_IPL, NULL); diag308(DIAG308_IPL, NULL);
break; break;
case REIPL_METHOD_FCP_RW_DIAG: case REIPL_METHOD_FCP_RW_DIAG:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment