]> git.baikalelectronics.ru Git - kernel.git/commit
s390/mm: Abstract gmap notify bit setting
authorJanosch Frank <frankja@linux.ibm.com>
Fri, 13 Jul 2018 10:28:18 +0000 (11:28 +0100)
committerJanosch Frank <frankja@linux.ibm.com>
Mon, 30 Jul 2018 10:20:17 +0000 (11:20 +0100)
commitd70b29ccdcc4c235c3de5a1dc61f5dcdcfca3867
tree2f15ffca17af4db7af79579892e155d6a5fc4342
parent876e365a07cdf1d284fcbba958888103a6a6617f
s390/mm: Abstract gmap notify bit setting

Currently we use the software PGSTE bits PGSTE_IN_BIT and
PGSTE_VSIE_BIT to notify before an invalidation occurs on a prefix
page or a VSIE page respectively. Both bits are pgste specific, but
are used when protecting a memory range.

Let's introduce abstract GMAP_NOTIFY_* bits that will be realized into
the respective bits when gmap DAT table entries are protected.

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