diff options
author | Andy Lutomirski <[email protected]> | 2016-08-30 08:04:15 -0700 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2016-09-09 21:12:45 +0300 |
commit | 5e59d9a1aed26abcc79abe78af5cfd34e53cbe7f (patch) | |
tree | 9c34949bcb829727a52e68fd7bf48d3b942b7a89 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | af7c1beccfd98bad752644dc14ea93805d65b2c9 (diff) |
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 <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Amit Shah <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions