U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v3 0/7] ACPI: Generate SPCR table
@ 2018-11-20 21:52 Andy Shevchenko
  2018-11-20 21:52 ` [U-Boot] [PATCH v3 1/7] dm: serial: Add ->getconfig() callback Andy Shevchenko
                   ` (6 more replies)
  0 siblings, 7 replies; 26+ messages in thread
From: Andy Shevchenko @ 2018-11-20 21:52 UTC (permalink / raw)
  To: u-boot

This is a series to enable SPCR table generation in U-Boot.

This table is useful to get early console in Linux for debugging purposes.
The benefit of using it is not only for x86, but also for arm64 community
(actually they introduced support in Linux kernel).

This implementation has been tested on Intel Edison with enabled ACPI support.

Known issue(s):
 - if the serial parameters are changed at run time, SPCR is not regenerated,
   thus, might not produce what user excepts
   (this is more likely design issue of U-Boot itself)

Changelog v3:
- addressed Simon's and Alexander's comments
- fix most known issues

Changelog v2:
- drop WIP state
- test on most recent U-Boot and Linux kernel

Andy Shevchenko (7):
  dm: serial: Add ->getconfig() callback
  dm: serial: Introduce ->getinfo() callback
  serial: ns16550: Group reg_* members of ns16550_platdata
  serial: ns16550: Read reg-io-width from device tree
  serial: ns16550: Provide ->getinfo() implementation
  x86: acpi: Add SPCR table description
  x86: acpi: Generate SPCR table

 arch/x86/include/asm/acpi_table.h |  51 +++++++++++++
 arch/x86/lib/acpi_table.c         | 118 ++++++++++++++++++++++++++++++
 drivers/serial/ns16550.c          |  21 ++++++
 drivers/serial/sandbox.c          |  34 +++++++++
 drivers/serial/serial-uclass.c    |  37 ++++++++++
 include/common.h                  |   4 +
 include/ns16550.h                 |   4 +-
 include/serial.h                  |  66 ++++++++++++++++-
 test/dm/serial.c                  |  12 +++
 9 files changed, 343 insertions(+), 4 deletions(-)

--
2.19.1

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

end of thread, other threads:[~2018-12-05 23:11 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-20 21:52 [U-Boot] [PATCH v3 0/7] ACPI: Generate SPCR table Andy Shevchenko
2018-11-20 21:52 ` [U-Boot] [PATCH v3 1/7] dm: serial: Add ->getconfig() callback Andy Shevchenko
2018-11-27  1:02   ` Simon Glass
2018-11-27 16:02     ` Andy Shevchenko
2018-12-03 16:18       ` Andy Shevchenko
2018-12-05 12:55       ` Simon Glass
2018-12-05 14:01         ` Andy Shevchenko
2018-12-05 15:58           ` Simon Glass
2018-12-05 23:11             ` sjg at google.com
2018-11-20 21:52 ` [U-Boot] [PATCH v3 2/7] dm: serial: Introduce ->getinfo() callback Andy Shevchenko
2018-12-05 12:55   ` Simon Glass
2018-12-05 23:11     ` sjg at google.com
2018-11-20 21:52 ` [U-Boot] [PATCH v3 3/7] serial: ns16550: Group reg_* members of ns16550_platdata Andy Shevchenko
2018-12-05 12:55   ` Simon Glass
2018-12-05 23:11     ` sjg at google.com
2018-11-20 21:52 ` [U-Boot] [PATCH v3 4/7] serial: ns16550: Read reg-io-width from device tree Andy Shevchenko
2018-12-05 12:55   ` Simon Glass
2018-12-05 23:11     ` sjg at google.com
2018-11-20 21:52 ` [U-Boot] [PATCH v3 5/7] serial: ns16550: Provide ->getinfo() implementation Andy Shevchenko
2018-12-05 12:55   ` Simon Glass
2018-12-05 23:11     ` sjg at google.com
2018-11-20 21:52 ` [U-Boot] [PATCH v3 6/7] x86: acpi: Add SPCR table description Andy Shevchenko
2018-12-05 23:11   ` sjg at google.com
2018-11-20 21:52 ` [U-Boot] [PATCH v3 7/7] x86: acpi: Generate SPCR table Andy Shevchenko
2018-12-05 12:55   ` Simon Glass
2018-12-05 23:11     ` sjg at google.com

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