diff options
author | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-03-20 14:36:48 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-04-03 16:37:55 +0000 |
commit | 66a1016a3548e244f4d96773bfa8985262e4d4b4 (patch) | |
tree | 12d2163183229c7069c82e37f12afa8407f1ca24 /src/arch/arm/kvm/base_cpu.cc | |
parent | d2254e034e76dc23320ea1b300177a79e4818b61 (diff) | |
download | gem5-66a1016a3548e244f4d96773bfa8985262e4d4b4.tar.xz |
arm, kvm: Override the kernel's default MPIDR value
The kernel and gem5 derive MPIDR values from CPU IDs in slightly
different ways. This means that guests running in a multi-CPU setup
sometimes fail to bring up secondary CPUs. Fix this by overriding the
MPIDR value in virtual CPUs just after they have been instantiated.
Change-Id: I916d44978a9c855ab89c80a083af45b0cea6edac
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2461
Reviewed-by: Weiping Liao <weipingliao@google.com>
Diffstat (limited to 'src/arch/arm/kvm/base_cpu.cc')
0 files changed, 0 insertions, 0 deletions