[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH RFC V4 10/33] arm/acpi: Enable ACPI support for vCPU hotplug
From: |
Salil Mehta |
Subject: |
[PATCH RFC V4 10/33] arm/acpi: Enable ACPI support for vCPU hotplug |
Date: |
Wed, 9 Oct 2024 04:17:52 +0100 |
ACPI is required to interface QEMU with the guest. Roughly falls into below
cases,
1. Convey the possible vCPUs config at the machine init time to the guest
using various DSDT tables like MADT etc.
2. Convey vCPU hotplug events to guest(using GED)
3. Assist in evaluation of various ACPI methods(like _EVT, _STA, _OST, _EJ0,
_MAT etc.)
4. Provides ACPI CPU hotplug state and 12 Byte memory mapped vCPU hotplug
control register interface to the OSPM/guest corresponding to each possible
vcpu. The register interface consists of various R/W fields and their
handling operations. These are called when ever register fields or memory
regions are accessed (i.e. read or written) by OSPM when ever it evaluates
various ACPI methods.
Note: lot of this framework code is inherited from the changes already done for
x86 but still some minor changes are required to make it compatible with
ARM64.)
Enable the ACPI support switch for vCPU hotplug feature. Actual ACPI changes
required will follow in subsequent patches.
Co-developed-by: Keqian Zhu <zhukeqian1@huawei.com>
Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
---
hw/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 1ad60da7aa..b6f0a65ead 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -33,6 +33,7 @@ config ARM_VIRT
select ACPI_HW_REDUCED
select ACPI_APEI
select ACPI_VIOT
+ select ACPI_CPU_HOTPLUG
select VIRTIO_MEM_SUPPORTED
select ACPI_CXL
select ACPI_HMAT
--
2.34.1
- [PATCH RFC V4 02/33] cpu-common: Add common CPU utility for possible vCPUs, (continued)
- [PATCH RFC V4 02/33] cpu-common: Add common CPU utility for possible vCPUs, Salil Mehta, 2024/10/08
- [PATCH RFC V4 03/33] hw/arm/virt: Disable vCPU hotplug for *unsupported* Accel or GIC Type, Salil Mehta, 2024/10/08
- [PATCH RFC V4 04/33] hw/arm/virt: Move setting of common vCPU properties in a function, Salil Mehta, 2024/10/08
- [PATCH RFC V4 05/33] arm/virt, target/arm: Machine init time change common to vCPU {cold|hot}-plug, Salil Mehta, 2024/10/08
- [PATCH RFC V4 06/33] arm/virt, kvm: Pre-create disabled possible vCPUs @machine init, Salil Mehta, 2024/10/08
- [PATCH RFC V4 07/33] arm/virt, gicv3: Changes to pre-size GIC with possible vCPUs @machine init, Salil Mehta, 2024/10/08
- [PATCH RFC V4 08/33] arm/virt, gicv3: Introduce GICv3 CPU Interface *accessibility* flag and checks, Salil Mehta, 2024/10/08
- [PATCH RFC V4 09/33] hw/intc/arm-gicv3*: Changes required to (re)init the GICv3 vCPU Interface, Salil Mehta, 2024/10/08
- [PATCH RFC V4 10/33] arm/acpi: Enable ACPI support for vCPU hotplug,
Salil Mehta <=
- [PATCH RFC V4 11/33] arm/virt: Enhance GED framework to handle vCPU hotplug events, Salil Mehta, 2024/10/08
- [PATCH RFC V4 12/33] arm/virt: Create GED device before *disabled* vCPU Objects are destroyed, Salil Mehta, 2024/10/08
- [PATCH RFC V4 13/33] arm/virt: Init PMU at host for all possible vCPUs, Salil Mehta, 2024/10/08
- [PATCH RFC V4 14/33] arm/virt: Release objects for *disabled* possible vCPUs after init, Salil Mehta, 2024/10/08
- [PATCH RFC V4 15/33] arm/virt/acpi: Update ACPI DSDT Tbl to include CPUs AML with hotplug support, Salil Mehta, 2024/10/08
- [PATCH RFC V4 16/33] hw/acpi: Make _MAT method optional, Salil Mehta, 2024/10/08
- [PATCH RFC V4 17/33] hw/arm/acpi: MADT Tbl change to size the guest with possible vCPUs, Salil Mehta, 2024/10/08
- [PATCH RFC V4 18/33] hw/acpi: Simulate *persistent* vCPU presence to Guest in ACPI _STA.{PRES, ENA} Bits, Salil Mehta, 2024/10/08
- [PATCH RFC V4 19/33] target/arm: Force ARM vCPU *present* status ACPI *persistent*, Salil Mehta, 2024/10/08
- [PATCH RFC V4 20/33] arm/virt: Add/update basic hot-(un)plug framework, Salil Mehta, 2024/10/08