qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add FDT table support with acpi ged pm register
@ 2024-09-06  2:19 Bibo Mao
  2024-09-06  2:19 ` [PATCH 1/2] acpi: ged: Add macro for acpi ged sleep register Bibo Mao
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Bibo Mao @ 2024-09-06  2:19 UTC (permalink / raw)
  To: Michael S . Tsirkin, Igor Mammedov, Song Gao
  Cc: Ani Sinha, Jiaxun Yang, Jason A . Donenfeld,
	Thomas Weißschuh, qemu-devel

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 in 32-bit mode.

Bibo Mao (2):
  acpi: ged: Add macro for acpi ged sleep 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 |  3 ++
 3 files changed, 45 insertions(+), 3 deletions(-)


base-commit: e638d685ec2a0700fb9529cbd1b2823ac4120c53
-- 
2.39.3



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-09-11  1:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-06  2:19 [PATCH 0/2] Add FDT table support with acpi ged pm register Bibo Mao
2024-09-06  2:19 ` [PATCH 1/2] acpi: ged: Add macro for acpi ged sleep register Bibo Mao
2024-09-10 17:32   ` Michael S. Tsirkin
2024-09-11  1:00     ` maobibo
2024-09-06  2:19 ` [PATCH 2/2] hw/loongarch/virt: Add FDT table support with acpi ged pm register Bibo Mao
2024-09-06  4:03 ` [PATCH 0/2] " Jason A. Donenfeld
2024-09-09  1:36 ` gaosong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).