s390/mm: provide base_asce_alloc() / base_asce_free() helper functions
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 13 Jun 2017 12:46:18 +0000 (14:46 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 22 Feb 2018 14:31:23 +0000 (15:31 +0100)
commit1caf170df9bac49bb198c424aee45f5ecced076a
treef086efcfbcef856b6843c24145ebf0eb2d8a595a
parentd5feec04fe578c8dbd9e2e1439afc2f0af761ed4
s390/mm: provide base_asce_alloc() / base_asce_free() helper functions

Provide base_asce_alloc() and base_asce_free() helper functions which
can be used to allocate an ASCE and all required region, segment and
page tables required to access memory regions of the virtual kernel
address space.

Both, the ASCE and all tables, do not use any features that correspond
to e.g. enhanced DAT features. This is required for some I/O functions
that pass an ASCE, like e.g. some service call requests, but which may
not use any enhanced features.

Acked-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Acked-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pgalloc.h
arch/s390/mm/pgalloc.c