OpenCloudOS-Kernel/drivers/tty/serdev
Punit Agrawal c5ee0b3104 serdev: Don't claim unsupported ACPI serial devices
Serdev sub-system claims all ACPI serial devices that are not already
initialised. As a result, no device node is created for serial ports
on certain boards such as the Apollo Lake based UP2. This has the
unintended consequence of not being able to raise the login prompt via
serial connection.

Introduce a blacklist to reject ACPI serial devices that should not be
claimed by serdev sub-system. Add the peripheral ids for Intel HS UART
to the blacklist to bring back serial port on SoCs carrying them.

Cc: stable@vger.kernel.org
Signed-off-by: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Johan Hovold <johan@kernel.org>
Cc: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20191219100345.911093-1-punit1.agrawal@toshiba.co.jp
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-06 20:00:44 +01:00
..
Kconfig tty: add SPDX identifiers to Kconfig and Makefiles 2019-04-04 18:48:43 +02:00
Makefile tty: add SPDX identifiers to Kconfig and Makefiles 2019-04-04 18:48:43 +02:00
core.c serdev: Don't claim unsupported ACPI serial devices 2020-01-06 20:00:44 +01:00
serdev-ttyport.c serdev: ttyport: call tiocmget and tiocmset ops directly 2019-01-30 11:48:08 +01:00