public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Implement ACPI SPCR v3 support and minor earlycon cleanup
@ 2024-09-12 17:36 Raul E Rangel
  2024-09-12 17:36 ` [PATCH 1/3] Documentation: kernel-parameters: Add uartclk to console=uart Raul E Rangel
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Raul E Rangel @ 2024-09-12 17:36 UTC (permalink / raw)
  To: linux-serial
  Cc: pmladek, rafael.j.wysocki, ribalda, Raul E Rangel, Adrian Ratiu,
	Borislav Petkov (AMD), Greg Kroah-Hartman, Ingo Molnar,
	Jiri Slaby, Jonathan Corbet, Josh Poimboeuf, Len Brown,
	Paul E. McKenney, Rafael J. Wysocki, Robert Moore,
	Thomas Gleixner, Xiongwei Song, acpica-devel, linux-acpi,
	linux-doc, linux-kernel

Getting `earlycon` working on AMD platforms is a bit tricky because the
uartclk is 48MHz. If the uartclk isn't specified, we default to
115200*16 which results in an incorrect divisor computation.

This patch set adds the uartclk to the `console=` documentation,
prints a notice to the user that it's using a default uartclk, and
implements support for SPCR v3 so that the uartclk can be provided
by the firmware.


Raul E Rangel (3):
  Documentation: kernel-parameters: Add uartclk to console=uart
  earlycon: Print a notice when uartclk is unknown
  ACPI: SPCR: Add support for rev 3

 Documentation/admin-guide/kernel-parameters.txt | 16 ++++++----------
 drivers/acpi/spcr.c                             |  5 ++++-
 drivers/tty/serial/earlycon.c                   |  6 +++++-
 include/acpi/actbl3.h                           |  6 +++---
 4 files changed, 18 insertions(+), 15 deletions(-)

-- 
2.46.0.662.g92d0881bb0-goog


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

end of thread, other threads:[~2024-10-04 17:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-12 17:36 [PATCH 0/3] Implement ACPI SPCR v3 support and minor earlycon cleanup Raul E Rangel
2024-09-12 17:36 ` [PATCH 1/3] Documentation: kernel-parameters: Add uartclk to console=uart Raul E Rangel
2024-09-13 15:18   ` Petr Mladek
2024-09-12 17:36 ` [PATCH 2/3] earlycon: Print a notice when uartclk is unknown Raul E Rangel
2024-09-13  5:57   ` Greg Kroah-Hartman
2024-09-13 15:35   ` Petr Mladek
2024-09-12 17:36 ` [PATCH 3/3] ACPI: SPCR: Add support for rev 3 Raul E Rangel
2024-09-13 15:43   ` Petr Mladek
2024-10-02 18:13   ` Rafael J. Wysocki
2024-10-04 17:45     ` Raul Rangel
2024-10-04 17:54       ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox