s390/hypfs: do not use stack buffers for hardware data
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 6 Sep 2018 08:06:57 +0000 (10:06 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Oct 2018 09:20:53 +0000 (11:20 +0200)
commit8ef9eda0188c2e904ef257f67cefcc3371a0c98e
tree51f7b8cd4dd67d3adeba04e819a49c3e3a1af797
parentd36a9281399700f3b573f61b845367cfc3e12cb1
s390/hypfs: do not use stack buffers for hardware data

With CONFIG_VMAP_STACK=y the stack is allocated from the vmalloc space.
Data structures passed to a hardware or a hypervisor interface that
requires V=R can not be allocated on the stack anymore.

Use kmalloc to get memory for the hypsfs_diag304 structure.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/hypfs/hypfs_sprp.c