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

Jon Medhurst tixy at linaro.org
Tue Dec 10 05:18:57 EST 2013


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

 drivers/tty/serial/amba-pl011.c |   59 ++++++++++++++++++++++++++++++++++------------------------



More information about the linux-arm-kernel mailing list