]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: s390: fix 24 bit psw handling in lpsw/lpswe handler
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 25 Mar 2013 16:22:49 +0000 (17:22 +0100)
committerGleb Natapov <gleb@redhat.com>
Tue, 2 Apr 2013 13:14:20 +0000 (16:14 +0300)
commitd21683ea1f1b03823928a98b6380332b9385e3a7
tree08abf3cfe3538a7b4473a88cfb4778b88071365a
parent2cef4deb4018c02fb3cd08f76c8a988f7ddee480
KVM: s390: fix 24 bit psw handling in lpsw/lpswe handler

When checking for validity the lpsw/lpswe handler check that only
the lower 20 bits instead of 24 bits have a non-zero value.
There handling valid psws as invalid ones.
Fix the 24 bit psw mask.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/s390/kvm/priv.c