KVM: s390: gaccess: add ESOP2 handling
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 15 Dec 2016 14:58:14 +0000 (15:58 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 30 Jan 2017 10:17:27 +0000 (11:17 +0100)
commita679c547d19ded9b7d1a88e17cf5e5b69ac619b6
treeeaa8446c695ae11123c7b1bdb011e3c76d7f9191
parent49def1853334396f948dcb4cedb9347abb318df5
KVM: s390: gaccess: add ESOP2 handling

When we access guest memory and run into a protection exception, we
need to pass the exception data to the guest. ESOP2 provides detailed
information about all protection exceptions which ESOP1 only partially
provided.

The gaccess changes make sure, that the guest always gets all
available information.

Signed-off-by: Janosch Frank <frankja@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/gaccess.c
arch/s390/tools/gen_facilities.c