All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] tty/serial: at91: fix bugs when using multiple serials
@ 2015-02-26  6:55 ` Leilei Zhao
  0 siblings, 0 replies; 22+ messages in thread
From: Leilei Zhao @ 2015-02-26  6:55 UTC (permalink / raw)
  To: nicolas.ferre, gregkh, linux-serial, jslaby
  Cc: linux-kernel, linux-arm-kernel, Leilei Zhao

The series of patches fix bugs when using multiple serial ports at the same time:
 - The using rx ring buffer in DMA is inconsistent with its allocation.
 - The serial port can't send and receive data when it's opened the second time
   and the later if it switches to PIO when DMA channel is not available.
 - The serial port can lead to kernel crash when data is sending and receiving
   and the program is killed.
 
The patches were made from branch tty-next of gregkh/tty.git repository, and 
tested on a SAMA5D36 VB boards with 5 serial ports enabled.

Leilei Zhao (5):
  tty/serial: at91: correct check of buf used in DMA
  tty/serial: at91: correct buffer size used in DMA
  tty/serial: at91: revise the return type of atmel_init_property
  tty/serial: at91: set ops in property init each time
  tty/serial: at91: correct the usage of tasklet

 drivers/tty/serial/atmel_serial.c |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

-- 
1.7.9.5

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

end of thread, other threads:[~2015-02-27  7:38 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-26  6:55 [PATCH 0/5] tty/serial: at91: fix bugs when using multiple serials Leilei Zhao
2015-02-26  6:55 ` Leilei Zhao
2015-02-26  6:55 ` Leilei Zhao
2015-02-26  6:55 ` [PATCH 1/5] tty/serial: at91: correct check of buf used in DMA Leilei Zhao
2015-02-26  6:55   ` Leilei Zhao
2015-02-26  6:55   ` Leilei Zhao
2015-02-26  9:29   ` Jiri Slaby
2015-02-26  9:29     ` Jiri Slaby
2015-02-27  7:38     ` Zhao, Leilei
2015-02-27  7:38       ` Zhao, Leilei
2015-02-26  6:55 ` [PATCH 2/5] tty/serial: at91: correct buffer size " Leilei Zhao
2015-02-26  6:55   ` Leilei Zhao
2015-02-26  6:55   ` Leilei Zhao
2015-02-26  6:55 ` [PATCH 3/5] tty/serial: at91: revise the return type of atmel_init_property Leilei Zhao
2015-02-26  6:55   ` Leilei Zhao
2015-02-26  6:55   ` Leilei Zhao
2015-02-26  6:55 ` [PATCH 4/5] tty/serial: at91: set ops in property init each time Leilei Zhao
2015-02-26  6:55   ` Leilei Zhao
2015-02-26  6:55   ` Leilei Zhao
2015-02-26  6:55 ` [PATCH 5/5] tty/serial: at91: correct the usage of tasklet Leilei Zhao
2015-02-26  6:55   ` Leilei Zhao
2015-02-26  6:55   ` Leilei Zhao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.