linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC  0/1] serdes: Add whitelist to bring back missing serial port
@ 2019-12-16  4:08 Punit Agrawal
  2019-12-16  4:08 ` [RFC ] serdev: Only claim supported devices Punit Agrawal
  2019-12-16  6:29 ` [RFC 0/1] serdes: Add whitelist to bring back missing serial port Hans de Goede
  0 siblings, 2 replies; 4+ messages in thread
From: Punit Agrawal @ 2019-12-16  4:08 UTC (permalink / raw)
  To: linux-serial
  Cc: Punit Agrawal, linux-acpi, linux-kernel, nobuhiro1.iwamatsu,
	shrirang.bagul, robh, gregkh, johan, hdegoede


Hi,

While booting v5.5-rc1 on Apollo Lake based UP2[0], I ran into an
issue with the primary serial port. The kernel is able to output to
ttyS0 but systemd isn't able to raise a login prompt. On further
investigation, it turns out that no serial device (/dev/ttyS0) is
being created as the device is claimed by serdev sub-system.

The issue has been reported in a few different places[0][1]. A patch
was proposed to solve the issue but there doesn't seem to be any
further progress[2]. Feedback on the thread suggested implementing a
whitelist based approach - which is what this RFC does.

With this patch, systemd is able to create a login prompt. The
whitelist has intentionally been left blank as it's not clear which
devices go in there.

Feedback welcome.

Thanks,
Punit

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911831
[1] https://bugs.launchpad.net/ubuntu/+source/linux-oem/+bug/1769610
[2] https://marc.info/?l=linux-serial&m=152455861101408&w=2

Punit Agrawal (1):
  serdev: Only claim supported devices

 drivers/tty/serdev/core.c | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.24.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-12-16  6:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16  4:08 [RFC 0/1] serdes: Add whitelist to bring back missing serial port Punit Agrawal
2019-12-16  4:08 ` [RFC ] serdev: Only claim supported devices Punit Agrawal
2019-12-16  6:29 ` [RFC 0/1] serdes: Add whitelist to bring back missing serial port Hans de Goede
2019-12-16  6:54   ` Punit Agrawal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).