diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2016-06-10 12:36:50 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-06-13 15:58:26 +0200 |
commit | 0f7451ff3ab88507fcffc72a5b7e1c211523a34e (patch) | |
tree | 405c76f5ea7e6963d81e56d164214a5947a78b4e /arch/s390/kernel/ipl.c | |
parent | 6c22c98637602f89beb40c43cfb3d764b71a54c6 (diff) | |
download | linux-stable-0f7451ff3ab88507fcffc72a5b7e1c211523a34e.tar.gz linux-stable-0f7451ff3ab88507fcffc72a5b7e1c211523a34e.tar.bz2 linux-stable-0f7451ff3ab88507fcffc72a5b7e1c211523a34e.zip |
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 <heiko.carstens@de.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Acked-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/ipl.c')
-rw-r--r-- | arch/s390/kernel/ipl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c index 44317398b77b..b0dbf9a265f5 100644 --- a/arch/s390/kernel/ipl.c +++ b/arch/s390/kernel/ipl.c @@ -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); |