OSDN Git Service

KVM: s390: implement instruction execution protection for emulated
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 7 Jun 2017 10:45:22 +0000 (12:45 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 22 Jun 2017 10:41:06 +0000 (12:41 +0200)
commit6ae1574c2a24eec5efa8bac305a8f87c839acc64
tree186dbaa684e7575b718783b1c1486f92653d365a
parent4036e3874a1ce41a4f7267289f9a0d8e5cd49408
KVM: s390: implement instruction execution protection for emulated
ifetch

While currently only used to fetch the original instruction on failure
for getting the instruction length code, we should make the page table
walking code future proof.

Suggested-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/ctl_reg.h
arch/s390/kvm/gaccess.c