]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: s390: Return error on SIDA memop on normal guest
authorJanis Schoetterl-Glausch <scgl@linux.ibm.com>
Fri, 28 Jan 2022 14:06:43 +0000 (15:06 +0100)
committerChristian Borntraeger <borntraeger@linux.ibm.com>
Wed, 2 Feb 2022 09:02:00 +0000 (10:02 +0100)
commit67e82ca2c4fd68bbe2db3914a4ceeac785737e44
tree686c763a0a2f91f34cd9f510ccf8df1c5ebed1b8
parent8c600a942d9c1fae36957aa5ff16fa6a91ab9af3
KVM: s390: Return error on SIDA memop on normal guest

Refuse SIDA memops on guests which are not protected.
For normal guests, the secure instruction data address designation,
which determines the location we access, is not under control of KVM.

Fixes: 361fa8dd3039 (KVM: S390: protvirt: Introduce instruction data area bounce buffer)
Signed-off-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
arch/s390/kvm/kvm-s390.c