diff options
author | Alexander Egorenkov <egorenar@linux.ibm.com> | 2023-01-27 14:52:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-02-09 11:28:16 +0100 |
commit | f3d786285f4c86843c254f9e1c07bf6b26702fcc (patch) | |
tree | d24a7989a853bdae181b0cb5fc2758aa020c5e1f /drivers/clocksource/timer-orion.c | |
parent | ad88608681417996a603eb78bd63ac940be097c2 (diff) | |
download | linux-f3d786285f4c86843c254f9e1c07bf6b26702fcc.tar.gz linux-f3d786285f4c86843c254f9e1c07bf6b26702fcc.tar.bz2 linux-f3d786285f4c86843c254f9e1c07bf6b26702fcc.zip |
watchdog: diag288_wdt: do not use stack buffers for hardware data
commit fe8973a3ad0905cb9ba2d42db42ed51de14737df upstream.
With CONFIG_VMAP_STACK=y the stack is allocated from the vmalloc space.
Data passed to a hardware or a hypervisor interface that
requires V=R can no longer be allocated on the stack.
Use kmalloc() to get memory for a diag288 command.
Signed-off-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clocksource/timer-orion.c')
0 files changed, 0 insertions, 0 deletions