Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1195836
| From | Robert Baldyga <r.baldyga@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2] serial: samsung: fix DMA for small FIFO sizes |
| Date | 2015-07-30 11:20 +0200 |
| Message-ID | <pRSal-2pU-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello, This patch set fixes bug causing serial hang in DMA mode for FIFO sizes smaller than cache alignment. The first patch fixes DMA mode entering condition to avoid starting with buffer smaller than cache line size. Second patch fixes the serial hang bug, which was caused by unproper buffer aligning algorithm which assumed that there is always enough free space in FIFO for excessive bytes of buffer that is being alligned. Best regards, Robert Baldyga Marek Szyprowski (1): serial: samsung: calculate min_dma_size Robert Baldyga (1): serial: samsung: fix DMA for FIFO smaller than cache line size drivers/tty/serial/samsung.c | 47 +++++++++++++++++++++++++++++--------------- drivers/tty/serial/samsung.h | 1 + 2 files changed, 32 insertions(+), 16 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/2] serial: samsung: fix DMA for small FIFO sizes Robert Baldyga <r.baldyga@samsung.com> - 2015-07-30 11:20 +0200 [PATCH 2/2] serial: samsung: fix DMA for FIFO smaller than cache line size Robert Baldyga <r.baldyga@samsung.com> - 2015-07-30 11:20 +0200
csiph-web