Re: [PATCH] TTY: Fix the missing lock for the TTY ldisc buffer

2014-12-10 Thread Peter Hurley
On 12/10/2014 01:50 PM, Jiri Slaby wrote: > On 12/10/2014, 07:38 PM, Denis Du wrote: >> >> Hi, Guys: > > Hi, are you sending this using some robot? I think I have seen like ten > copies of this patch already. > >> It was found that the 3.12 kernel tty layer will lose or corrupt data >> when have

Re: [PATCH] TTY: Fix the missing lock for the TTY ldisc buffer

2014-12-10 Thread Denis Du
On 12/10/2014, 07:38 PM, Denis Du wrote: > > Hi, Guys: Hi, are you sending this using some robot? I think I have seen like ten copies of this patch already. Sorry, I always have troubles to send the patch in correct format, even now I am not 100% sure this patch have the correct forma

Re: [PATCH] TTY: Fix the missing lock for the TTY ldisc buffer

2014-12-10 Thread Jiri Slaby
On 12/10/2014, 07:38 PM, Denis Du wrote: > > Hi, Guys: Hi, are you sending this using some robot? I think I have seen like ten copies of this patch already. > It was found that the 3.12 kernel tty layer will lose or corrupt data > when have a full-duplex communication, especially in high baud ra

[PATCH] TTY: Fix the missing lock for the TTY ldisc buffer

2014-12-10 Thread Denis Du
Hi, Guys: It was found that the 3.12 kernel tty layer will lose or corrupt data when have a full-duplex communication, especially in high baud rate, for example 230k for my OMAP5 uart. Eventually I found there is lock missing between copy data to ldisc layer buffer and copy data from the same

[PATCH] TTY: Fix the missing lock for the TTY ldisc buffer

2014-12-10 Thread Denis Du
Hi, Guys: It was found that the 3.12 kernel tty layer will lose or corrupt data when have a full-duplex communication, especially in high baud rate, for example 230k for my OMAP5 uart. Eventually I found there is lock missing between copy data to ldisc layer buffer and copy data from the same