[S390] Use diag260 for memory size detection.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 4 Dec 2006 14:40:42 +0000 (15:40 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 4 Dec 2006 14:40:42 +0000 (15:40 +0100)
commitd57de5a36791cb1b7285649c62f183b0d3505f7d
treea1449e94cfaa5490aebd7f2980229a7b67a26023
parent29b08d2bae854f66d3cfd5f57aaf2e7c2c7fce32
[S390] Use diag260 for memory size detection.

Avoid the tprot loop if diag260 works and reports that there are no
holes in memory. The tprot instruction can lead to a significant delay
in the ipl process if the virtual guest has a lot of memory and the
host is under memory pressure.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/head64.S