mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
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: Heiko Carstens <[email protected]> Acked-by: Christian Borntraeger <[email protected]> Acked-by: Michael Holzheu <[email protected]> Reviewed-by: Peter Oberparleiter <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
committed by
Martin Schwidefsky
parent
6c22c98637
commit
0f7451ff3a
@@ -1085,7 +1085,10 @@ static void __reipl_run(void *unused)
|
||||
break;
|
||||
case REIPL_METHOD_CCW_DIAG:
|
||||
diag308(DIAG308_SET, reipl_block_ccw);
|
||||
diag308(DIAG308_IPL, NULL);
|
||||
if (MACHINE_IS_LPAR)
|
||||
diag308(DIAG308_DUMP, NULL);
|
||||
else
|
||||
diag308(DIAG308_IPL, NULL);
|
||||
break;
|
||||
case REIPL_METHOD_FCP_RW_DIAG:
|
||||
diag308(DIAG308_SET, reipl_block_fcp);
|
||||
|
||||
Reference in New Issue
Block a user