[PATCH v2 0/7] risc-v: add ACPI support on QEMU
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Tue Nov 21 16:27:33 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.
This series depends on
[PATCH] acpi: move acpi_get_rsdp_addr() to acpi/acpi_table.h
https://lore.kernel.org/u-boot/20231109172302.54324-1-heinrich.schuchardt@canonical.com/
v2:
provide a new Kconfig symbol CONFIG_QFW_ACPI
carve out qfw_acpi.c
use CONFIG_ACPI to select QFW support
provide a Kconfig fragment instead of a new defconfig
Heinrich Schuchardt (7):
acpi: Kconfig symbol CONFIG_QFW_ACPI
acpi: carve out qfw_acpi.c
risc-v: add ACPI fields to global data
risc-v: add support for QEMU firmware tables
riscv: qemu: copy ACPI tables from QEMU
riscv: allow usage of ACPI
configs: qemu: add config fragment for ACPI
MAINTAINERS | 1 +
arch/Kconfig | 1 +
arch/riscv/include/asm/global_data.h | 4 +
board/emulation/configs/acpi.config | 3 +
board/emulation/qemu-riscv/Kconfig | 2 +
board/emulation/qemu-riscv/qemu-riscv.c | 17 ++
doc/board/emulation/acpi.rst | 23 +++
doc/board/emulation/index.rst | 1 +
drivers/misc/Kconfig | 7 +
drivers/misc/Makefile | 1 +
drivers/misc/qfw.c | 240 ----------------------
drivers/misc/qfw_acpi.c | 256 ++++++++++++++++++++++++
lib/acpi/Makefile | 2 +-
lib/acpi/acpi_writer.c | 4 +-
14 files changed, 319 insertions(+), 243 deletions(-)
create mode 100644 board/emulation/configs/acpi.config
create mode 100644 doc/board/emulation/acpi.rst
create mode 100644 drivers/misc/qfw_acpi.c
--
2.40.1
More information about the U-Boot
mailing list