s390/mm,gmap: implement gmap_translate()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 10 Sep 2012 14:14:33 +0000 (16:14 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 23 Apr 2013 08:18:02 +0000 (10:18 +0200)
commitc5034945ce59abacdd02c5eff29f4f54df197880
treed27a68a9ac388e13e1af097c338a162ca647f7b0
parent4e4d035a928340e828f633059b735901584c67a7
s390/mm,gmap: implement gmap_translate()

Implement gmap_translate() function which translates a guest absolute address
to a user space process address without establishing the guest page table
entries.

This is useful for kvm guest address translations where no memory access
is expected to happen soon (e.g. tprot exception handler).

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pgtable.h
arch/s390/mm/pgtable.c