Displaying 2 results from an estimated 2 matches for "pending_free_list".
2012 Sep 24
2
[PATCHv4] virtio_console: Add support for remoteproc serial
...t;
---
Changes since v3 are mostly related to freeing of dma-buffers:
- Change port_fops_write() to use struct port_buffer when allocating
memory. This is done in order to store the dma-address of the
allocated buffers, so the correct dma-address can be passed to
dma_free_coherent().
- Added pending_free_list for port_buf. dma_free_coherent() requires
the irqs to be enabled, so if irqs are disabled we queue the buffer
on the pending_free_list and free it later when irqs are enabled.
- Remove #if around is_rproc_serial
Thanks,
Sjur
drivers/char/virtio_console.c | 222 +++++++++++++++++++++++++++++...
2012 Sep 24
2
[PATCHv4] virtio_console: Add support for remoteproc serial
...t;
---
Changes since v3 are mostly related to freeing of dma-buffers:
- Change port_fops_write() to use struct port_buffer when allocating
memory. This is done in order to store the dma-address of the
allocated buffers, so the correct dma-address can be passed to
dma_free_coherent().
- Added pending_free_list for port_buf. dma_free_coherent() requires
the irqs to be enabled, so if irqs are disabled we queue the buffer
on the pending_free_list and free it later when irqs are enabled.
- Remove #if around is_rproc_serial
Thanks,
Sjur
drivers/char/virtio_console.c | 222 +++++++++++++++++++++++++++++...