s390/mm: remember the int code for the last gmap fault
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Tue, 8 Mar 2016 11:31:52 +0000 (12:31 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 20 Jun 2016 07:55:08 +0000 (09:55 +0200)
commit4a49443924731823da2e9b3ae9311b74a34e7ed8
treed65b91881e0a62a8e3b8aafdf982e978c46869aa
parent717c05554afa69a36398a57dac64b95972f138d5
s390/mm: remember the int code for the last gmap fault

For nested virtualization, we want to know if we are handling a protection
exception, because these can directly be forwarded to the guest without
additional checks.

Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/processor.h
arch/s390/mm/fault.c