diff options
author | Andy Lutomirski <luto@kernel.org> | 2016-08-30 15:04:15 (GMT) |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-09-09 18:12:45 (GMT) |
commit | 5e59d9a1aed26abcc79abe78af5cfd34e53cbe7f (patch) | |
tree | 9c34949bcb829727a52e68fd7bf48d3b942b7a89 /mm/slab.h | |
parent | af7c1beccfd98bad752644dc14ea93805d65b2c9 (diff) | |
download | linux-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 'mm/slab.h')
0 files changed, 0 insertions, 0 deletions