aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2007-02-05 15:17:07 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-02-05 15:17:07 -0500
commitb075083f35309c4f3e50886d6f31a3a0e07a29b5 (patch)
tree862c8241977ec13602b2026dd519c725c52ee2d9 /arch
parente3c699b38ef3c59521fdd1732efcaaa789d81440 (diff)
[S390] Fix FCP dump feature detection.
FCP dump feature detection works only if the sclp command in head.S was succesful. Since the sclp command is skipped if diag260 works, we don't have any dump feature detection anymore. Bug was introduced with d57de5a36791cb1b7285649c62f183b0d3505f7d. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/s390/kernel/head64.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/s390/kernel/head64.S b/arch/s390/kernel/head64.S
index 6ba3f4512dd1..e940e802cb40 100644
--- a/arch/s390/kernel/head64.S
+++ b/arch/s390/kernel/head64.S
@@ -81,7 +81,6 @@ startup_continue:
81 aghi %r1,1 # size is one more than end 81 aghi %r1,1 # size is one more than end
82 larl %r2,memory_chunk 82 larl %r2,memory_chunk
83 stg %r1,8(%r2) # store size of chunk 83 stg %r1,8(%r2) # store size of chunk
84 j .Ldonemem
85 84
86.Lslowmemdetect: 85.Lslowmemdetect:
87 l %r2,.Lrcp-.LPG1(%r13) # Read SCP forced command word 86 l %r2,.Lrcp-.LPG1(%r13) # Read SCP forced command word
@@ -156,6 +155,11 @@ startup_continue:
156# 155#
157# find memory chunks. 156# find memory chunks.
158# 157#
158 larl %r9,memory_chunk # skip tprot loop if diag260
159 lg %r9,8(%r9) # memory detection was successful
160 ltgr %r9,%r9
161 jne .Ldonemem
162
159 lgr %r9,%r3 # end of mem 163 lgr %r9,%r3 # end of mem
160 larl %r1,.Lchkmem # set program check address 164 larl %r1,.Lchkmem # set program check address
161 stg %r1,__LC_PGM_NEW_PSW+8 165 stg %r1,__LC_PGM_NEW_PSW+8