]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: fix handling of lctl[g]/stctl[g]
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 29 Oct 2014 09:07:16 +0000 (10:07 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 7 Nov 2014 10:11:08 +0000 (11:11 +0100)
commit8a08d6c4a73e34ec441683f0975bd7e561b341c4
tree9aab9180e7733d1b79a76e4cd6549eb9c882779a
parent424d5b9f412d1e7890acb3d591c46ee73e5fff8b
KVM: s390: fix handling of lctl[g]/stctl[g]

According to the architecture all instructions are suppressing if memory
access is prohibited due to DAT protection, unless stated otherwise for
an instruction.
The lctl[g]/stctl[g] implementations handled this incorrectly since
control register handling was done piecemeal, which means they had
terminating instead of suppressing semantics.
This patch fixes this.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/priv.c