From: Philippe Mathieu-Daudé Date: Tue, 29 Apr 2025 15:39:04 +0000 (+0200) Subject: hw/arm/virt: Update comment about Multiprocessor Affinity Register X-Git-Tag: v10.1.0-rc0~102^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ecb0cfb8a2b09fb0352b7adb83f18888be47a1cf;p=thirdparty%2Fqemu.git 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 Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-id: 20250429153907.31866-2-philmd@linaro.org Signed-off-by: Peter Maydell --- diff --git a/hw/arm/virt.c b/hw/arm/virt.c index bd1a68673a7..03fef07c9da 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) {