summaryrefslogtreecommitdiffstats
path: root/arch/s390/kvm/kvm-s390.c
diff options
context:
space:
mode:
authorDavid Hildenbrand2018-01-23 22:26:18 +0100
committerChristian Borntraeger2018-01-24 16:16:57 +0100
commit5c528db0df6999cc7bf2151b0f9fb6446109ec54 (patch)
tree73b49fc926718b5ce526a5914ed2c94f72d96126 /arch/s390/kvm/kvm-s390.c
parentKVM: s390: vsie: store guest addresses of satellite blocks in vsie_page (diff)
downloadkernel-qcow2-linux-5c528db0df6999cc7bf2151b0f9fb6446109ec54.tar.gz
kernel-qcow2-linux-5c528db0df6999cc7bf2151b0f9fb6446109ec54.tar.xz
kernel-qcow2-linux-5c528db0df6999cc7bf2151b0f9fb6446109ec54.zip
s390x/mm: simplify gmap_protect_rmap()
We never call it with anything but PROT_READ. This is a left over from an old prototype. For creation of shadow page tables, we always only have to protect the original table in guest memory from write accesses, so we can properly invalidate the shadow on writes. Other protections are not needed. Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20180123212618.32611-1-david@redhat.com> Reviewed-by: Janosch Frank <frankja@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/kvm/kvm-s390.c')
0 files changed, 0 insertions, 0 deletions