Re: [PATCH v3] serial: 8250: Fix autoconfig_irq() to avoid race conditions

2015-08-16 Thread Taichi Kageyama
Hi Greg, On 2015/08/15 9:10, gre...@linuxfoundation.org wrote: > On Mon, Aug 10, 2015 at 12:15:40AM +, Taichi Kageyama wrote: >> The following race conditions can happen when a serial port is used >> as console. >> >> Case1: CPU_B is used to detect an interrupt from a serial port, >>bu

Re: [PATCH v3] serial: 8250: Fix autoconfig_irq() to avoid race conditions

2015-08-14 Thread gre...@linuxfoundation.org
On Mon, Aug 10, 2015 at 12:15:40AM +, Taichi Kageyama wrote: > The following race conditions can happen when a serial port is used > as console. > > Case1: CPU_B is used to detect an interrupt from a serial port, >but it can have interrupts disabled during the waiting time. > Case2: CP