]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
s390/mm: push ste protection down to shadow pte
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Mon, 18 Apr 2016 15:19:59 +0000 (17:19 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 20 Jun 2016 07:54:45 +0000 (09:54 +0200)
commit00fc062d5364174b94e3b5780c22e95c0fb4b60a
tree4043afa6362bb3b190f93f8231669da13bfaab68
parentf4debb40903978bbddfb9e877ca4d2f27e26567f
s390/mm: push ste protection down to shadow pte

If a guest ste is read-only, it doesn't make sense to force the ptes in as
writable in the host. If the source page is read-only in the host, it won't
have to be made writable. Please note that if the source page is not
available, it will still be faulted in writable. This can be changed
internally later on.

If ste protection is removed, underlying shadow tables are also removed,
therefore this change does not affect the guest.

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