79c4324644
Change-Id: I2d302dda68298877c65c99147f5bf22186a59aac
29 lines
996 B
Diff
29 lines
996 B
Diff
From 9e8ccc2a868e719233a34946106859461c057ade Mon Sep 17 00:00:00 2001
|
|
From: Kunkun Jiang <jiangkunkun@huawei.com>
|
|
Date: Tue, 14 Feb 2023 20:28:11 +0800
|
|
Subject: [PATCH] hw/acpi: Support acpi-ged to report CPU's OST info
|
|
|
|
Setup an ARM virtual machine of machine virt and execute qmp
|
|
"query-acpi-ospm-status" but can not get the CPU's OST info.
|
|
|
|
Signed-off-by: Kunkun Jiang <jiangkunkun@huawei.com>
|
|
---
|
|
hw/acpi/generic_event_device.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/hw/acpi/generic_event_device.c b/hw/acpi/generic_event_device.c
|
|
index 53e9112d9f..9118681662 100644
|
|
--- a/hw/acpi/generic_event_device.c
|
|
+++ b/hw/acpi/generic_event_device.c
|
|
@@ -278,6 +278,7 @@ static void acpi_ged_ospm_status(AcpiDeviceIf *adev, ACPIOSTInfoList ***list)
|
|
AcpiGedState *s = ACPI_GED(adev);
|
|
|
|
acpi_memory_ospm_status(&s->memhp_state, list);
|
|
+ acpi_cpu_ospm_status(&s->cpuhp_state, list);
|
|
}
|
|
|
|
static void acpi_ged_send_event(AcpiDeviceIf *adev, AcpiEventStatusBits ev)
|
|
--
|
|
2.27.0
|
|
|