s390/mm: prepare for EDAT1/EDAT2 support in gmap shadow
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Tue, 8 Mar 2016 11:17:40 +0000 (12:17 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 20 Jun 2016 07:54:47 +0000 (09:54 +0200)
commit5b062bd4940f81e0bd26b0d75f56d7abebf0309f
tree02e7105eed7848d8b88fb3cc1fbefbe40de2b04e
parent00fc062d5364174b94e3b5780c22e95c0fb4b60a
s390/mm: prepare for EDAT1/EDAT2 support in gmap shadow

In preparation for EDAT1/EDAT2 support for gmap shadows, we have to store
the requested edat level in the gmap shadow.

The edat level used during shadow translation is a property of the gmap
shadow. Depending on that level, the gmap shadow will look differently for
the same guest tables. We have to store it internally in order to support
it later.

Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/gmap.h
arch/s390/mm/gmap.c