dm: Add programmatic generation of ACPI tables (part A)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest0 of 9 patches 0 repliesNew
- v42 of 31 patches 0 repliesSuperseded
Patches in v7 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.
Cover letter [PATCH v7 0/9] dm: Add programmatic generation of ACPI tables (part A)
Quoted 4 lines · Simon Glass
This is split from the original series in an attempt to get things applied in chunks.
v7 is just a rebase as requested
So, overall I have no concerns, except that compatible string in ACPI seems half-baked solution and, due to PRP0001 awareness (my understanding that it should not be part of production devices), seems not needed right now. It means we should require to have _HID and/or _CID.
Code looks fine to me, though.
Quoted 69 lines
Changes in v7:
- Rebase to masterChanges in v5:
- Drop bisectability changesChanges in v4:
- Put 'interrupts-extended' property on one line
- Rename acpi-probed to linux,probed
- Note that linux,probed is an out-of-tree feature
- Separate out the log newline
- Update comment inacpi_inc_align()to show the alignment
- Put back cast ontable_compute_checksum()
- Renamelist_fact()tolist_fadt()
- Add a comment todump_hdr()Changes in v3:
- Drop mention of PRIC
- Rename acpi,desc to acpi,ddn
- Correct description of acpi,probed
- Drop hid-descr-addr
- Just add the device.txt binding file in this patch
- Change the example to ELAN
- Add a pointer to information about acpi,compatible
- Renameacpi_align_large()toacpi_align64()
- Fix 'RSDP' typo
- Fix 'XDST' typo
- Moveacpi_align_large()out ofdm_test_acpi_setup_base_tables()
- Beef up the comment explaining how the unaligned address is usedChanges in v2:
- Fix definition of HID
- Infer hid-over-i2c CID value
- Add the hid-over-i2c binding document
- Drop definition ofACPI_TABLE_CREATOR
- Make_acpi_write_dev_tables()static and switch argument order
- Generalise the ACPI function recursion withacpi_recurse_method()Simon Glass (9):
acpi: Add a binding for ACPI settings in the device tree
acpi: Add a method to write tables for a device
acpi: Convert part ofacpi_tableto useacpi_ctx
x86: Allow devices to write ACPI tables
acpi: Drop code for missing XSDT fromacpi_write_rsdp()
acpi: Moveacpi_add_table()to generic code
acpi: Put table-setup code in its own function
acpi: Move the xsdt pointer toacpi_ctx
acpi: Add an acpi commandarch/sandbox/dts/test.dts | 4 + arch/sandbox/include/asm/global_data.h | 1 + arch/x86/include/asm/global_data.h | 1 + arch/x86/lib/acpi_table.c | 239 +++++-------------------- cmd/Kconfig | 14 ++ cmd/Makefile | 1 + cmd/acpi.c | 186 +++++++++++++++++++ doc/device-tree-bindings/device.txt | 36 ++++ drivers/core/acpi.c | 62 +++++++ include/acpi/acpi_table.h | 65 +++++++ include/dm/acpi.h | 37 ++++ lib/acpi/acpi_table.c | 174 +++++++++++++++++- test/dm/acpi.c | 238 +++++++++++++++++++++++- 13 files changed, 855 insertions(+), 203 deletions(-) create mode 100644 cmd/acpi.c create mode 100644 doc/device-tree-bindings/device.txtSignature · 1 line
2.26.1.301.g55bc3eb7cb9-goog
Signature · 2 lines
With Best Regards, Andy Shevchenko