Searched hist:"8 ef9eda0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/s390/hypfs/ |
H A D | hypfs_sprp.c | 8ef9eda0 Thu Sep 06 03:06:57 CDT 2018 Martin Schwidefsky <schwidefsky@de.ibm.com> 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> 8ef9eda0 Thu Sep 06 03:06:57 CDT 2018 Martin Schwidefsky <schwidefsky@de.ibm.com> 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>
|