From: Xuemei Liu <[email protected]>

Add riscv acpi powerdown support

Changes in v4:
- Added modifies of DSDT blob in another patch
- Link to v3: 
https://lore.kernel.org/qemu-riscv/[email protected]/

Changes in v3:
- Added missing param to virt_is_acpi_enabled
- Fixed failure of bios-tables-test
- Link to v2: 
https://lore.kernel.org/qemu-riscv/[email protected]/

Changes in v2:
- Unwrappered acpi_dsdt_add_ged function
- Modified base address of VIRT_ACPI_GED
- Added conditions for function calls
- Adjusted code formatting
- Link to v1: 
https://lore.kernel.org/qemu-riscv/[email protected]/

Xuemei Liu (2):
  hw/riscv/virt: Add acpi ged and powerdown support
  tests/acpi: Add acpi ged and power button in DSDT for RISC-V

 hw/riscv/Kconfig                  |   1 +
 hw/riscv/virt-acpi-build.c        |  10 +++++++++
 hw/riscv/virt.c                   |  35 ++++++++++++++++++++++++++++++
 include/hw/riscv/virt.h           |   4 ++++
 tests/data/acpi/riscv64/virt/DSDT | Bin 3538 -> 3681 bytes
 5 files changed, 50 insertions(+)

-- 
2.27.0

Reply via email to