Re: [PATCH] serdev: Don't claim unsupported serial devices

From: Hans de Goede
Date: Thu Dec 19 2019 - 03:30:51 EST


Hi,

On 19-12-2019 01:37, Punit Agrawal wrote:
Hans de Goede <hdegoede@xxxxxxxxxx> writes:

Hi,

On 18-12-2019 07:56, Punit Agrawal wrote:
Serdev sub-system claims all serial devices that are not already
enumerated. As a result, no device node is created for serial port 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 devices that should not be treated as
a serdev device. Add the Intel HS UART peripheral ids to the blacklist
to bring back serial port on SoCs carrying them.

Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Punit Agrawal <punit1.agrawal@xxxxxxxxxxxxx>
Cc: Rob Herring <robh@xxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Cc: Johan Hovold <johan@xxxxxxxxxx>
Cc: Hans de Goede <hdegoede@xxxxxxxxxx>

Thank you for addressing this long standing issue.

I am surprised there hasn't been more people complaining! Maybe even on
x86 mainline isn't that widely used on development boards.

I think it is also a case of there not being that manu x86 development
boards.

Regards,

Hans