]> git.baikalelectronics.ru Git - kernel.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)
commitba60978705cc3e96d49a541860678a7c411ea5f7
treec22e5b053c4d39f8dcd986ca5043ee37c8efad51
parentd70b29ccdcc4c235c3de5a1dc61f5dcdcfca3867
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