[PATCH 0/6] risc-v: add ACPI support on QEMU

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Wed Nov 15 15:23:49 CET 2023


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.

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

-- 
2.40.1



More information about the U-Boot mailing list