qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 7/7] Update the ACPI table for the Loongarch CPU


From: lixianglai
Subject: Re: [PATCH v3 7/7] Update the ACPI table for the Loongarch CPU
Date: Wed, 27 Sep 2023 10:26:14 +0800
User-agent: Mozilla/5.0 (X11; Linux loongarch64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0


Hi Salil Mehta:
Hi Xianglai,

From: xianglai li <lixianglai@loongson.cn>
Sent: Tuesday, September 26, 2023 10:55 AM
To: qemu-devel@nongnu.org
Cc: Bernhard Beschow <shentey@gmail.com>; Salil Mehta
<salil.mehta@opnsrc.net>; Salil Mehta <salil.mehta@huawei.com>; Xiaojuan
Yang <yangxiaojuan@loongson.cn>; Song Gao <gaosong@loongson.cn>; Michael S.
Tsirkin <mst@redhat.com>; Igor Mammedov <imammedo@redhat.com>; Ani Sinha
<anisinha@redhat.com>; Paolo Bonzini <pbonzini@redhat.com>; Richard
Henderson <richard.henderson@linaro.org>; Eduardo Habkost
<eduardo@habkost.net>; Marcel Apfelbaum <marcel.apfelbaum@gmail.com>;
Philippe Mathieu-Daudé <philmd@linaro.org>; wangyanan (Y)
<wangyanan55@huawei.com>; Daniel P. Berrangé <berrange@redhat.com>; Peter
Xu <peterx@redhat.com>; David Hildenbrand <david@redhat.com>; Bibo Mao
<maobibo@loongson.cn>
Subject: [PATCH v3 7/7] Update the ACPI table for the Loongarch CPU

Add new types of GED devices for Loongarch machines,
add CPU hot-(un)plug event response and address spaces,
and update the ACPI table.

Cc: "Bernhard Beschow" <shentey@gmail.com>
Cc: "Salil Mehta" <salil.mehta@opnsrc.net>
Cc: "Salil Mehta" <salil.mehta@huawei.com>
Cc: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Cc: Song Gao <gaosong@loongson.cn>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Ani Sinha <anisinha@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Richard Henderson <richard.henderson@linaro.org>
Cc: Eduardo Habkost <eduardo@habkost.net>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Cc: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: Yanan Wang <wangyanan55@huawei.com>
Cc: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: Peter Xu <peterx@redhat.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: xianglai li <lixianglai@loongson.cn>
---
  hw/acpi/acpi-cpu-hotplug-stub.c |  9 +++++++++
  hw/loongarch/acpi-build.c       | 34 ++++++++++++++++++++++++++++++++-
  hw/loongarch/virt.c             |  3 ++-
  include/hw/loongarch/virt.h     |  1 +
  4 files changed, 45 insertions(+), 2 deletions(-)

diff --git a/hw/acpi/acpi-cpu-hotplug-stub.c b/hw/acpi/acpi-cpu-hotplug-
stub.c
index 2aec90d968..b3ac7a1e31 100644
--- a/hw/acpi/acpi-cpu-hotplug-stub.c
+++ b/hw/acpi/acpi-cpu-hotplug-stub.c
@@ -19,6 +19,15 @@ void legacy_acpi_cpu_hotplug_init(MemoryRegion *parent,
Object *owner,
      return;
  }

+void build_cpus_aml(Aml *table, MachineState *machine, CPUHotplugFeatures
opts,
+                    build_madt_cpu_fn build_madt_cpu, hwaddr mmap_io_base,
+                    const char *res_root,
+                    const char *event_handler_method,
+                    AmlRegionSpace rs)
+{
+    return;
+}
+
  void acpi_cpu_ospm_status(CPUHotplugState *cpu_st, ACPIOSTInfoList
***list)
  {
      return;


Ok, I'll take care of that.

Thanks,

Xianglai.


Above change is already part of the architecture agnostic patch-set.
Not required here!

Thanks
Salil.




reply via email to

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