s390/mm: push rte protection down to shadow pte
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Mon, 18 Apr 2016 15:46:21 +0000 (17:46 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 20 Jun 2016 07:55:00 +0000 (09:55 +0200)
commit1c65781b56ce812ce9729bf414201921c9408678
treedb27b44256087076cb0a88d0e3e3e63cfc103ad5
parent18b89809881834cecd2977e6048a30c4c8f140fe
s390/mm: push rte protection down to shadow pte

Just like we already do with ste protection, let's take rte protection
into account. This way, the host pte doesn't have to be mapped writable.

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/kvm/gaccess.c