diff options
author | Dorjoy Chowdhury <dorjoychy111@gmail.com> | 2024-05-23 16:06:20 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-05-28 14:20:48 +0100 |
commit | 03935f9272e757724cd99ca3842be3ddbfeecc77 (patch) | |
tree | c410a3a6c55557cbfc99588f78261b934dea9d08 /hw/arm | |
parent | 19ed42e8adc87a3c739f61608b66a046bb9237e2 (diff) | |
download | qemu-03935f9272e757724cd99ca3842be3ddbfeecc77.zip qemu-03935f9272e757724cd99ca3842be3ddbfeecc77.tar.gz qemu-03935f9272e757724cd99ca3842be3ddbfeecc77.tar.bz2 |
hw/arm/npcm7xx: remove setting of mp-affinity
The value of the mp-affinity property being set in npcm7xx_realize is
always the same as the default value it would have when arm_cpu_realizefn
is called if the property is not set here. So there is no need to set
the property value in npcm7xx_realize function.
Signed-off-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240504141733.14813-1-dorjoychy111@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm')
-rw-r--r-- | hw/arm/npcm7xx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/arm/npcm7xx.c b/hw/arm/npcm7xx.c index 9f2d96c..cb77913 100644 --- a/hw/arm/npcm7xx.c +++ b/hw/arm/npcm7xx.c @@ -487,9 +487,6 @@ static void npcm7xx_realize(DeviceState *dev, Error **errp) /* CPUs */ for (i = 0; i < nc->num_cpus; i++) { - object_property_set_int(OBJECT(&s->cpu[i]), "mp-affinity", - arm_build_mp_affinity(i, NPCM7XX_MAX_NUM_CPUS), - &error_abort); object_property_set_int(OBJECT(&s->cpu[i]), "reset-cbar", NPCM7XX_GIC_CPU_IF_ADDR, &error_abort); object_property_set_bool(OBJECT(&s->cpu[i]), "reset-hivecs", true, |