summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-29 17:39:04 +0200
committerPeter Maydell <peter.maydell@linaro.org>2025-05-06 15:02:35 +0100
commitecb0cfb8a2b09fb0352b7adb83f18888be47a1cf (patch)
tree2ccae3f80023feac5ca26defe7cfaf647773b30c
parenteba837a31b9579e30cc6d7ecb4b5c2662a6ffaba (diff)
downloadfocaccia-qemu-ecb0cfb8a2b09fb0352b7adb83f18888be47a1cf.tar.gz
focaccia-qemu-ecb0cfb8a2b09fb0352b7adb83f18888be47a1cf.zip
hw/arm/virt: Update comment about Multiprocessor Affinity Register
Support on ARMv7 has been dropped in commit 82bf7ae84ce
("target/arm: Remove KVM support for 32-bit Arm hosts").
Update the comment in virt_cpu_mp_affinity() to avoid
mentioning it.

Suggested-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250429153907.31866-2-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--hw/arm/virt.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index bd1a68673a..03fef07c9d 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -1766,12 +1766,7 @@ static uint64_t virt_cpu_mp_affinity(VirtMachineState *vms, int idx)
     uint8_t clustersz;
 
     /*
-     * Adjust MPIDR like 64-bit KVM hosts, which incorporate the
-     * GIC's target-list limitations. 32-bit KVM hosts currently
-     * always create clusters of 4 CPUs, but that is expected to
-     * change when they gain support for gicv3. When KVM is enabled
-     * it will override the changes we make here, therefore our
-     * purposes are to make TCG consistent (with 64-bit KVM hosts)
+     * Adjust MPIDR to make TCG consistent (with 64-bit KVM hosts)
      * and to improve SGI efficiency.
      */
     if (vms->gic_version == VIRT_GIC_VERSION_2) {