]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390/mm: use correct address space when enabling DAT
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 1 Jun 2017 09:04:04 +0000 (11:04 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Jun 2017 14:26:02 +0000 (16:26 +0200)
commit60c497014e34af5aa0be56d0869c67fa2b5c3786
treeb73a961cf9ea724cc2e9a96f437e180eef6f6351
parent36f6237ebf4dfdf62813540e962d53584ba8b271
s390/mm: use correct address space when enabling DAT

Right now the kernel uses the primary address space until finally the
switch to the correct home address space will be done when the idle
PSW will be loaded within psw_idle().

Correct this and simply use the home address space when DAT is enabled
for the first time.

This doesn't really fix a bug, but fixes odd behavior.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/init.c