Commit 9b4554aa authored by Heiko Carstens's avatar Heiko Carstens Committed by Linus Torvalds

[PATCH] s390: memory query wait psw

Don't switch back to 24 bit addressing mode when waiting for an external
interrupt and set the correct bit in wait PSW (external mask instead of I/O
mask).
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 373c491f
...@@ -572,8 +572,7 @@ startup:basr %r13,0 # get base ...@@ -572,8 +572,7 @@ startup:basr %r13,0 # get base
.Lcr: .Lcr:
.long 0x00 # place holder for cr0 .long 0x00 # place holder for cr0
.Lwaitsclp: .Lwaitsclp:
.long 0x020A0000 .long 0x010a0000,0x80000000 + .Lsclph
.long .Lsclph
.Lrcp: .Lrcp:
.int 0x00120001 # Read SCP forced code .int 0x00120001 # Read SCP forced code
.Lrcp2: .Lrcp2:
......
...@@ -530,7 +530,7 @@ startup:basr %r13,0 # get base ...@@ -530,7 +530,7 @@ startup:basr %r13,0 # get base
be .Lfchunk-.LPG1(%r13) # leave be .Lfchunk-.LPG1(%r13) # leave
chi %r1,2 chi %r1,2
be .Lservicecall-.LPG1(%r13) be .Lservicecall-.LPG1(%r13)
lpsw .Lwaitsclp-.LPG1(%r13) lpswe .Lwaitsclp-.LPG1(%r13)
.Lsclph: .Lsclph:
lh %r1,.Lsccbr-PARMAREA(%r4) lh %r1,.Lsccbr-PARMAREA(%r4)
chi %r1,0x10 # 0x0010 is the sucess code chi %r1,0x10 # 0x0010 is the sucess code
...@@ -567,8 +567,7 @@ startup:basr %r13,0 # get base ...@@ -567,8 +567,7 @@ startup:basr %r13,0 # get base
.Lcr: .Lcr:
.quad 0x00 # place holder for cr0 .quad 0x00 # place holder for cr0
.Lwaitsclp: .Lwaitsclp:
.long 0x020A0000 .quad 0x0102000180000000,.Lsclph
.quad .Lsclph
.Lrcp: .Lrcp:
.int 0x00120001 # Read SCP forced code .int 0x00120001 # Read SCP forced code
.Lrcp2: .Lrcp2:
......
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