diff options
author | Igor Mammedov <imammedo@redhat.com> | 2018-04-26 11:04:38 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-04-26 11:04:38 +0100 |
commit | 75ed2c02484101d5b4995c56e78a894ac244ce05 (patch) | |
tree | 251b18cfe6fe559e49bb699ff869445507143990 /hw/misc/mst_fpga.c | |
parent | 14ec3cbd7c1e31dca4d23f028100c8f43e156573 (diff) | |
download | qemu-75ed2c02484101d5b4995c56e78a894ac244ce05.zip qemu-75ed2c02484101d5b4995c56e78a894ac244ce05.tar.gz qemu-75ed2c02484101d5b4995c56e78a894ac244ce05.tar.bz2 |
arm: always start from first_cpu when registering loader cpu reset callback
if arm_load_kernel() were passed non first_cpu, QEMU would end up
with partially set do_cpu_reset() callback leaving some CPUs without it.
Make sure that do_cpu_reset() is registered for all CPUs by enumerating
CPUs from first_cpu.
(In practice every board that we have was passing us the first CPU
as the boot CPU, either directly or indirectly, so this wasn't
causing incorrect behaviour.)
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: added a note that this isn't a behaviour change]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions