On 15.11.23 15:23, Heinrich Schuchardt wrote:
QEMU 8.1.2 can create ACPI tables for the RISC-V architecture.
Allow passing them through to the operating system.
Provide a new defconfig that enables this.

This patch is prerequisite:

[PATCH] move acpi_get_rsdp_addr() to acpi/acpi_table.h
https://patchwork.ozlabs.org/project/uboot/patch/20231109172302.54324-1-heinrich.schucha...@canonical.com/

Best regards

Heinrich


Heinrich Schuchardt (6):
   acpi: do not write ACPI tables on TARGET_QEMU_VIRT
   risc-v: add ACPI fields to global data
   risc-v: add support for QEMU provided ACPI tables
   riscv: qemu: copy ACPI tables from QEMU
   riscv: allow usage of ACPI
   configs: defconfig for QEMU RISC-V with ACPI

  arch/Kconfig                              |  1 +
  arch/riscv/include/asm/global_data.h      |  4 ++++
  board/emulation/qemu-riscv/Kconfig        |  2 ++
  board/emulation/qemu-riscv/MAINTAINERS    |  1 +
  board/emulation/qemu-riscv/qemu-riscv.c   | 17 ++++++++++++++
  configs/qemu-riscv64_acpi_smode_defconfig | 27 +++++++++++++++++++++++
  lib/Kconfig                               |  2 +-
  lib/acpi/Makefile                         |  2 +-
  lib/acpi/acpi_writer.c                    |  2 +-
  9 files changed, 55 insertions(+), 3 deletions(-)
  create mode 100644 configs/qemu-riscv64_acpi_smode_defconfig


Reply via email to