summaryrefslogtreecommitdiff
path: root/block/blk-exec.c
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2016-08-30 15:04:15 (GMT)
committerMichael S. Tsirkin <mst@redhat.com>2016-09-09 18:12:45 (GMT)
commit5e59d9a1aed26abcc79abe78af5cfd34e53cbe7f (patch)
tree9c34949bcb829727a52e68fd7bf48d3b942b7a89 /block/blk-exec.c
parentaf7c1beccfd98bad752644dc14ea93805d65b2c9 (diff)
downloadlinux-5e59d9a1aed26abcc79abe78af5cfd34e53cbe7f.tar.xz
virtio_console: Stop doing DMA on the stack
virtio_console uses a small DMA buffer for control requests. Move that buffer into heap memory. Doing virtio DMA on the stack is normally okay on non-DMA-API virtio systems (which is currently most of them), but it breaks completely if the stack is virtually mapped. Tested by typing both directions using picocom aimed at /dev/hvc0. Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'block/blk-exec.c')
0 files changed, 0 insertions, 0 deletions