50 lines
1.7 KiB
Diff
50 lines
1.7 KiB
Diff
|
|
From a8416845f721aa5ba03446b3ccf83b096b7a0d77 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Salil Mehta <salil.mehta@huawei.com>
|
||
|
|
Date: Tue, 16 Jul 2024 12:14:57 +0100
|
||
|
|
Subject: [PATCH 63/78] hw/acpi: Move CPU ctrl-dev MMIO region len macro to
|
||
|
|
common header file
|
||
|
|
MIME-Version: 1.0
|
||
|
|
Content-Type: text/plain; charset=UTF-8
|
||
|
|
Content-Transfer-Encoding: 8bit
|
||
|
|
|
||
|
|
CPU ctrl-dev MMIO region length could be used in ACPI GED and various other
|
||
|
|
architecture specific places. Move ACPI_CPU_HOTPLUG_REG_LEN macro to more
|
||
|
|
appropriate common header file.
|
||
|
|
|
||
|
|
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
|
||
|
|
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
|
||
|
|
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
|
||
|
|
Reviewed-by: Gavin Shan <gshan@redhat.com>
|
||
|
|
Reviewed-by: David Hildenbrand <david@redhat.com>
|
||
|
|
Reviewed-by: Shaoqin Huang <shahuang@redhat.com>
|
||
|
|
Tested-by: Vishnu Pajjuri <vishnu@os.amperecomputing.com>
|
||
|
|
Tested-by: Xianglai Li <lixianglai@loongson.cn>
|
||
|
|
Tested-by: Miguel Luis <miguel.luis@oracle.com>
|
||
|
|
Tested-by: Zhao Liu <zhao1.liu@intel.com>
|
||
|
|
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
|
||
|
|
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
|
||
|
|
Message-Id: <20240716111502.202344-3-salil.mehta@huawei.com>
|
||
|
|
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
|
||
|
|
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
||
|
|
Signed-off-by: Xianglai Li <lixianglai@loongson.cn>
|
||
|
|
---
|
||
|
|
include/hw/acpi/cpu.h | 2 ++
|
||
|
|
1 file changed, 2 insertions(+)
|
||
|
|
|
||
|
|
diff --git a/include/hw/acpi/cpu.h b/include/hw/acpi/cpu.h
|
||
|
|
index fced952152..fa5b5e5f01 100644
|
||
|
|
--- a/include/hw/acpi/cpu.h
|
||
|
|
+++ b/include/hw/acpi/cpu.h
|
||
|
|
@@ -18,6 +18,8 @@
|
||
|
|
#include "hw/boards.h"
|
||
|
|
#include "hw/hotplug.h"
|
||
|
|
|
||
|
|
+#define ACPI_CPU_HOTPLUG_REG_LEN 12
|
||
|
|
+
|
||
|
|
typedef struct AcpiCpuStatus {
|
||
|
|
CPUState *cpu;
|
||
|
|
uint64_t arch_id;
|
||
|
|
--
|
||
|
|
2.39.1
|
||
|
|
|