]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a3d0307776e753cd6c320e75d6c0dd0cc61dcbf
tree51f7b8cd4dd67d3adeba04e819a49c3e3a1af797
parentd32af8a8832ff191b19f6f5c9587f06a43803acb
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