qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v3 0/2] Add FDT table support with acpi ged pm register


From: Bibo Mao
Subject: [PATCH v3 0/2] Add FDT table support with acpi ged pm register
Date: Wed, 18 Sep 2024 09:42:04 +0800

ACPI ged is used for power management on LoongArch virt platform, in
general it is parsed from acpi table. However if system boot directly from
elf kernel, no UEFI bios is provided and acpi table cannot be used also.

Here acpi ged pm register is exposed with FDT table, it is compatbile
with syscon method in FDT table, only that acpi ged pm register is accessed
with 8-bit mode, rather with 32-bit mode.

---
v2 ... v3:
  1. Keep orginal macro name ACPI_GED_SLP_TYP_S5 unchanged, renaming 
     ACPI_GED_SLP_TYPx_y with  ACPI_GED_SLP_TYP_y
  2. Add acpi chapter reference with notation

v1 ... v2:
  1. Modify name of macro for acpi ged register from ACPI spec, and also add
     comments for macro definition.
---
Bibo Mao (2):
  acpi: ged: Add macro for acpi sleep control register
  hw/loongarch/virt: Add FDT table support with acpi ged pm register

 hw/acpi/generic_event_device.c         |  6 ++--
 hw/loongarch/virt.c                    | 39 ++++++++++++++++++++++++++
 include/hw/acpi/generic_event_device.h |  7 +++--
 3 files changed, 47 insertions(+), 5 deletions(-)


base-commit: 2b81c046252fbfb375ad30632362fc16e6e22bd5
-- 
2.39.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]