]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/mm: Add gmap pmd linking
authorJanosch Frank <frankja@linux.ibm.com>
Fri, 13 Jul 2018 10:28:20 +0000 (11:28 +0100)
committerJanosch Frank <frankja@linux.ibm.com>
Mon, 30 Jul 2018 10:20:17 +0000 (11:20 +0100)
commit58b7e200d2f1f9af9ef69a401a877791837a1c87
treec22e5b053c4d39f8dcd986ca5043ee37c8efad51
parent2c46e974dd8b5316e65637af0ff6d4bc78554b2e
s390/mm: Add gmap pmd linking

Let's allow pmds to be linked into gmap for the upcoming s390 KVM huge
page support.

Before this patch we copied the full userspace pmd entry. This is not
correct, as it contains SW defined bits that might be interpreted
differently in the GMAP context. Now we only copy over all hardware
relevant information leaving out the software bits.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
arch/s390/include/asm/pgtable.h
arch/s390/mm/gmap.c