public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] serial: samsung: fix DMA for small FIFO sizes
@ 2015-07-30  9:14 Robert Baldyga
  2015-07-30  9:14 ` [PATCH 1/2] serial: samsung: calculate min_dma_size Robert Baldyga
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Robert Baldyga @ 2015-07-30  9:14 UTC (permalink / raw)
  To: gregkh
  Cc: akpm, jslaby, linux-serial, linux-kernel, m.szyprowski,
	Robert Baldyga

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-31  8:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-30  9:14 [PATCH 0/2] serial: samsung: fix DMA for small FIFO sizes Robert Baldyga
2015-07-30  9:14 ` [PATCH 1/2] serial: samsung: calculate min_dma_size Robert Baldyga
2015-07-30  9:14 ` [PATCH 2/2] serial: samsung: fix DMA for FIFO smaller than cache line size Robert Baldyga
2015-07-31  8:04 ` [PATCH 0/2] serial: samsung: fix DMA for small FIFO sizes Krzysztof Kozlowski
2015-07-31  8:17   ` Robert Baldyga

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox