From: gaosong <gaosong@loongson.cn>
To: Bibo Mao <maobibo@loongson.cn>,
"Michael S . Tsirkin" <mst@redhat.com>,
Igor Mammedov <imammedo@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Richard Henderson <richard.henderson@linaro.org>,
Eduardo Habkost <eduardo@habkost.net>
Cc: "Ani Sinha" <anisinha@redhat.com>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Jason A . Donenfeld" <Jason@zx2c4.com>,
"Thomas Weißschuh" <thomas@t-8ch.de>,
qemu-devel@nongnu.org
Subject: Re: [PATCH v2 0/2] Add FDT table support with acpi ged pm register
Date: Thu, 12 Sep 2024 19:35:50 +0800 [thread overview]
Message-ID: <72d5883d-815e-1f82-236e-1d3cbdb834a9@loongson.cn> (raw)
In-Reply-To: <20240911030922.877259-1-maobibo@loongson.cn>
在 2024/9/11 上午11:09, Bibo Mao 写道:
> 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.
>
> ---
> 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/i386/acpi-microvm.c | 2 +-
> hw/loongarch/acpi-build.c | 2 +-
> hw/loongarch/virt.c | 39 ++++++++++++++++++++++++++
> include/hw/acpi/generic_event_device.h | 9 ++++--
> 5 files changed, 51 insertions(+), 7 deletions(-)
>
>
> base-commit: a66f28df650166ae8b50c992eea45e7b247f4143
> Reviewed-by: Song Gao <gaosong@loongson.cn>
Applied series to loongarch-next
Thanks
Song Gao
next prev parent reply other threads:[~2024-09-12 11:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-11 3:09 [PATCH v2 0/2] Add FDT table support with acpi ged pm register Bibo Mao
2024-09-11 3:09 ` [PATCH v2 1/2] acpi: ged: Add macro for acpi sleep control register Bibo Mao
2024-09-13 12:41 ` Igor Mammedov
2024-09-14 2:25 ` maobibo
2024-09-17 7:44 ` Igor Mammedov
2024-09-18 0:54 ` maobibo
2024-09-11 3:09 ` [PATCH v2 2/2] hw/loongarch/virt: Add FDT table support with acpi ged pm register Bibo Mao
2024-09-12 11:35 ` gaosong [this message]
2024-09-12 11:47 ` [PATCH v2 0/2] " maobibo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=72d5883d-815e-1f82-236e-1d3cbdb834a9@loongson.cn \
--to=gaosong@loongson.cn \
--cc=Jason@zx2c4.com \
--cc=anisinha@redhat.com \
--cc=eduardo@habkost.net \
--cc=imammedo@redhat.com \
--cc=jiaxun.yang@flygoat.com \
--cc=maobibo@loongson.cn \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=thomas@t-8ch.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).