[PATCH v5 22/29] acpi: Add a method to write tables for a device

Bin Meng bmeng.cn at gmail.com
Thu Apr 16 08:35:32 CEST 2020


Hi Simon,

On Thu, Apr 9, 2020 at 6:58 AM Simon Glass <sjg at chromium.org> wrote:
>
> A device may want to write out ACPI tables to describe itself to Linux.
> Add a method to permit this.
>
> Reviewed-by: Wolfgang Wallner <wolfgang.wallner at br-automation.com>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v5:
> - Drop bisectability changes
>
> Changes in v4:
> - Separate out the log newline
>
> Changes in v3: None
> Changes in v2:
> - Drop definition of ACPI_TABLE_CREATOR
> - Make _acpi_write_dev_tables() static and switch argument order
> - Generalise the ACPI function recursion with acpi_recurse_method()
>
>  arch/sandbox/dts/test.dts |  4 +++
>  arch/x86/lib/acpi_table.c |  9 -----
>  drivers/core/acpi.c       | 62 ++++++++++++++++++++++++++++++++
>  include/acpi/acpi_table.h | 10 ++++++
>  include/dm/acpi.h         | 30 ++++++++++++++++
>  lib/acpi/acpi_table.c     | 13 +++++--
>  test/dm/acpi.c            | 74 +++++++++++++++++++++++++++++++++++++--
>  7 files changed, 187 insertions(+), 15 deletions(-)
>

This patch does not apply on top of u-boot-x86/master. Please rebase
and resubmit. I will leave the rest of the patches in this series
un-applied.

Regards,
Bin


More information about the U-Boot mailing list