Skip to content

ACPI: Generate SPCR table

Andy Shevchenko u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 0 repliesNew
  2. v25 patches 0 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7dm: serial: Add ->getconfig() callbackdrivers/serial/sandbox.c drivers/serial/serial-uclass.c include/common.h +2 more+60 -31 reply
1/7dm: serial: Add ->getconfig() callback+0 -01 reply
1/7dm: serial: Add ->getconfig() callback+0 -00 replies
1/7dm: serial: Add ->getconfig() callback+0 -02 replies
2/7dm: serial: Introduce ->getinfo() callbackdrivers/serial/sandbox.c drivers/serial/serial-uclass.c include/common.h +2 more+90 -02 replies
3/7serial: ns16550: Group reg_* members of ns16550_platdatainclude/ns16550.h+1 -12 replies
4/7serial: ns16550: Read reg-io-width from device treedrivers/serial/ns16550.c include/ns16550.h+3 -02 replies
5/7serial: ns16550: Provide ->getinfo() implementationdrivers/serial/ns16550.c+20 -02 replies
6/7x86: acpi: Add SPCR table descriptionarch/x86/include/asm/acpi_table.h+49 -01 reply
7/7x86: acpi: Generate SPCR tablearch/x86/include/asm/acpi_table.h arch/x86/lib/acpi_table.c+120 -02 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchBin MengSimon Glass
1/7R-b
1/7R-b
1/7R-b
1/7R-b
2/7R-b R-b
3/7R-b R-b
4/7R-b R-b
5/7R-b R-b
6/7R-b R-b
7/7R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/7] ACPI: Generate SPCR table

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