[PATCH 0/3] serial: amba-pl011: fix race conditions during initialisation

Mark Brown broonie at kernel.org
Tue Dec 10 13:09:40 EST 2013


On Tue, Dec 10, 2013 at 10:18:57AM +0000, Jon Medhurst wrote:

> When a UART that is being used for a kernel console is also opened
> by user-side, e.g. for use as a terminal, then there are race conditions
> which can lead to terminal input being disabled and console output being
> corrupted. This small patch series fixes these.
> 
> Jon Medhurst (3):
>       serial: amba-pl011: use port lock to guard control register access
>       serial: amba-pl011: factor out code for writing LCR_H register
>       serial: amba-pl011: preseserve hardware settings during initialisation

Given that this seems relatively easy to trigger when you know how and
renders the device non-functional perhaps this should be considered for
stable too?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131210/60ba34f5/attachment.sig>


More information about the linux-arm-kernel mailing list