Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[S390] Misaligned wait PSW at memory detection.

If the memory detection code would ever reach the point where it would
load the wait psw, it would generate a specification exception and the
system would crash at ipl time. This is because of a misaligned wait
psw. It needs to be on a double word boundary instead of a word
boundary.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
baf2aeb3 c6b5b847

+2 -1
+2 -1
arch/s390/kernel/head31.S
··· 131 131 .long init_thread_union 132 132 .Lpmask: 133 133 .byte 0 134 - .align 8 134 + .align 8 135 135 .Lpcext:.long 0x00080000,0x80000000 136 136 .Lcr: 137 137 .long 0x00 # place holder for cr0 138 + .align 8 138 139 .Lwaitsclp: 139 140 .long 0x010a0000,0x80000000 + .Lsclph 140 141 .Lrcp: