]> git.baikalelectronics.ru Git - kernel.git/commit
s390/mm: Add gmap pmd notification bit setting
authorJanosch Frank <frankja@linux.ibm.com>
Fri, 13 Jul 2018 10:28:21 +0000 (11:28 +0100)
committerJanosch Frank <frankja@linux.ibm.com>
Mon, 30 Jul 2018 10:20:17 +0000 (11:20 +0100)
commit2e6cce2c0b01d603da50ebce57ae318d922ea590
treeeb4870d99b682bcebbcc8de5bd29cae061381912
parent0bd1bee758e4461de3643612eeba271c91a31991
s390/mm: Add gmap pmd notification bit setting

Like for ptes, we also need invalidation notification for pmds, to
make sure the guest lowcore pages are always accessible and later
addition of shadowed pmds.

With PMDs we do not have PGSTEs or some other bits we could use in the
host PMD. Instead we pick one of the free bits in the gmap PMD. Every
time a host pmd will be invalidated, we will check if the respective
gmap PMD has the bit set and in that case fire up the notifier.

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