]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
hw/arm/virt: Update comment about Multiprocessor Affinity Register
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 29 Apr 2025 15:39:04 +0000 (17:39 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 6 May 2025 14:02:35 +0000 (15:02 +0100)
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>
hw/arm/virt.c

index bd1a68673a74e2d04e22026ca7c0b95a12d76536..03fef07c9da1a48c43ad39f27054ef7be7fbcac4 100644 (file)
@@ -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) {