Skip to content

serial: amba-pl011: fix race conditions during initialisation

Mark Brown linux-arm-kernel linux-serial 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] serial: amba-pl011: fix race conditions during initialisation
Quoted 9 lines · Jon Medhurst

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>