s390/cpcmd,vmcp: avoid GFP_DMA allocations
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 7 Aug 2017 13:16:15 +0000 (15:16 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 9 Aug 2017 13:09:35 +0000 (09:09 -0400)
commitcd4386a931b6310b05559d2e28efda04d30ab593
treed1fbc2a6a8e86af9308ce8713e842e6717471c8e
parent267239cc10f18251892a0783104df3dc22b620d5
s390/cpcmd,vmcp: avoid GFP_DMA allocations

According to the CP Programming Services manual Diagnose Code 8
"Virtual Console Function" can be used in all addressing modes. Also
the input and output buffers do not have a limitation which specifies
they need to be below the 2GB line.

This is true at least since z/VM 5.4.

Therefore remove the sam31/64 instructions and allow for simple
GFP_KERNEL allocations. This makes it easier to allocate a 1MB page
if the user requested such a large return buffer.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/cpcmd.h
arch/s390/kernel/cpcmd.c
drivers/s390/char/vmcp.c