]> git.baikalelectronics.ru Git - kernel.git/commit
s390/sclp: fix addressing mode clobber
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 31 Oct 2012 16:14:39 +0000 (17:14 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 6 Nov 2012 21:39:51 +0000 (22:39 +0100)
commit521dc4fb5976df55976647673d5f2a0178f674a9
treecc4e2ff1f0c903aa56e2156bfaeda6ba43bae8bf
parenta799a8f0a91ae5e4e1cdf965b2d88d1181b1afb7
s390/sclp: fix addressing mode clobber

The early mini sclp driver may be called in zArch mode either in
31 or 64 bit addressing mode.
If called in 31 bit addressing mode the new external interrupt psw
however would switch to 64 bit addressing mode. This would cause an
addressing exception within the interrupt handler, since the code
didn't expect the zArch/31 bit addressing mode combination.

Fix this by setting the new psw addressing mode bits so they fit
the current addressing mode.

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