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)
commitfc56eb66c348febef6c7bbd2c3918410cafd6313
tree9aab9180e7733d1b79a76e4cd6549eb9c882779a
parent2dca485f8740208604543c3960be31a5dd3ea603
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