x86: Various minor enhancements for coreboot
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest16 patches 3 repliesIn review
- v316 patches 15 repliesSuperseded
- v216 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 13 patches | 27 replies | Superseded |
Changes in v4 from the cover letter
- Split out patch to enable bus mastering
- Drop unnecessary CONFIG options
- Drop patch to allow locating UARTs by device ID
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | mtrr: Don't show an invalid CPU numbercmd/ | +2 | 0 replies | |
| 2/16 | x86: Adjust search range for sysinfo tablearch/ | +2 | 0 replies | |
| 3/16 | input: Flush the keyboard buffer before resetting itdrivers/ | +19 | 0 replies | |
| 4/16 | acpi: Create a new Kconfig for ACPIarch/ cmd/ cmd/ +4 more | +22 | 0 replies | |
| 5/16 | acpi: Move the table-finding functions into the libarycmd/ include/ lib/ +1 more | +56 | 0 replies | |
| 6/16 | x86: coreboot: Collect the address of the ACPI tablesarch/ arch/ arch/ +2 more | +18 | 0 replies | |
| 7/16 | x86: Allow locating the UART from ACPI tablesdrivers/ drivers/ | +116 | 0 replies | |
| 8/16 | pci: coreboot: Don't read regions when bootingdrivers/ | +4 | 0 replies | |
| 9/16 | x86: coreboot: Use a memory-mapped UARTconfigs/ configs/ | +0 | 0 replies | |
| 10/16 | x86: coreboot: Document how to enable the debug UARTdoc/ | +29 | 0 replies | |
| 11/16 | x86: coreboot: Scan PCI after relocationconfigs/ | +1 | 0 replies | |
| 12/16 | x86: coreboot: Log function names and line numbersconfigs/ | +4 | 0 replies | |
| 13/16 | x86: coreboot: Show unimplemented sysinfo tagsarch/ arch/ cmd/ | +16 | 0 replies | |
| 14/16 | nvme: Enable PCI bus masteringdrivers/ | +5 | 1 reply | |
| 15/16 | x86: nvme: coreboot: Enable NVMeconfigs/ | +1 | 1 reply | |
| 16/16 | coreboot: Enable ms commandconfigs/ | +1 | 0 replies |
Reviews trailers per patch
All 16 patches have a Reviewed-by or Acked-by.
| Patch | Bin Meng | Christian Gmeiner |
|---|---|---|
| 1/16 | R-b | |
| 2/16 | R-b | |
| 3/16 | R-b | |
| 4/16 | R-b | |
| 5/16 | R-b | |
| 6/16 | R-b | |
| 7/16 | R-b | |
| 8/16 | R-b | T-b |
| 9/16 | R-b | |
| 10/16 | R-b | |
| 11/16 | R-b | |
| 12/16 | R-b | |
| 13/16 | R-b | |
| 14/16 | R-b | |
| 15/16 | R-b | |
| 16/16 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/16] x86: Various minor enhancements for coreboot
This series includes some patches generated while getting U-Boot to boot more nicely on Brya, an Adler Lake Chromebook.
This includes:
- show the ACPI tables with 'acpi list'
- get the UART to work even if coreboot doesn't enable it
- show unimplemented sysinfo tags
- fix for keyboard not working
- fix for trying to set up PCI regions when the info is not available
- fix for looking at inaccessible memory to find the sysinfo table
Changes in v4:
- Split out patch to enable bus mastering
- Drop unnecessary CONFIG options
- Drop patch to allow locating UARTs by device ID
Changes in v3:
- Don't enable ACPI by default except on x86 and sandbox
- Avoid a build error with the ASL compiler
- Disable for coreboot64 since ACPI is not available
Changes in v2:
- Don't show an invalid CPU number on error
- Update commit message with more detail
- Update code comment to mention that addresses <1KB are ignored
- Flush the buffer instead of skipping the reset
- Add new patch to create a new Kconfig for ACPI
- Add new patch to move acpi-table-finding functions into the library
- Use tab instead of space in header file
- Refactor two patches into one
- Add new patch to allow locating the UART from ACPI tables
- Expand commit message to explain this is for the debug UART
- Update the defconfig instead
- Drop patch 'usb: Quieten a debug message' since it was fixed elsewhere
- Drop patch 'x86: coreboot: Use a memory-mapped UART' (not needed)
- Add new patch to enable ms command
Simon Glass (16):
mtrr: Don't show an invalid CPU number
x86: Adjust search range for sysinfo table
input: Flush the keyboard buffer before resetting it
acpi: Create a new Kconfig for ACPI
acpi: Move the table-finding functions into the libary
x86: coreboot: Collect the address of the ACPI tables
x86: Allow locating the UART from ACPI tables
pci: coreboot: Don't read regions when booting
x86: coreboot: Use a memory-mapped UART
x86: coreboot: Document how to enable the debug UART
x86: coreboot: Scan PCI after relocation
x86: coreboot: Log function names and line numbers
x86: coreboot: Show unimplemented sysinfo tags
nvme: Enable PCI bus mastering
x86: nvme: coreboot: Enable NVMe
coreboot: Enable ms command
arch/Kconfig | 2 + arch/x86/cpu/cpu.c | 4 +- arch/x86/include/asm/cb_sysinfo.h | 8 ++ arch/x86/include/asm/coreboot_tables.h | 2 + arch/x86/lib/coreboot/cb_sysinfo.c | 13 +++ cmd/Kconfig | 2 +- cmd/acpi.c | 44 ++-------- cmd/x86/cbsysinfo.c | 9 ++ cmd/x86/mtrr.c | 3 +- configs/coreboot64_defconfig | 1 - configs/coreboot_defconfig | 8 +- doc/board/coreboot/coreboot.rst | 29 +++++++ drivers/core/Kconfig | 1 + drivers/input/i8042.c | 19 +++++ drivers/nvme/nvme_pci.c | 5 ++ drivers/pci/pci-uclass.c | 4 + drivers/serial/Kconfig | 10 +++ drivers/serial/serial_coreboot.c | 114 +++++++++++++++++++++++-- include/acpi/acpi_table.h | 8 ++ include/asm-generic/global_data.h | 4 +- lib/Kconfig | 10 ++- lib/Makefile | 2 +- lib/acpi/Makefile | 6 ++ lib/acpi/acpi.c | 45 ++++++++++ 24 files changed, 296 insertions(+), 57 deletions(-) create mode 100644 lib/acpi/acpi.c
Signature · 1 line
2.40.1.521.gf1e218fcd8-goog