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

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Wed Nov 15 18:37:00 CET 2023


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.schuchardt@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
> 



More information about the U-Boot mailing list