diff options
author | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-05-14 14:48:52 +0100 |
---|---|---|
committer | Giacomo Travaglini <giacomo.travaglini@arm.com> | 2018-05-29 10:17:05 +0000 |
commit | 494a0f3e716081ed75e0749e2955893fce6f4b4e (patch) | |
tree | 83d4c6708f67f59c0e9a2837dfd9a46d606980b0 | |
parent | 84ba92ed750ce7b4183f6c2054dbf60d498053c6 (diff) | |
download | gem5-494a0f3e716081ed75e0749e2955893fce6f4b4e.tar.xz |
arch-arm: MPIDR.MT = 1 in a multithreaded system
MPIDR.MT Indicates whether the lowest level of affinity consists of
logical PEs that are implemented using a multithreading type approach
Change-Id: Ia5e6e65577729c7826227c4574ce690f76454edc
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/10502
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
-rw-r--r-- | src/arch/arm/utility.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/arm/utility.cc b/src/arch/arm/utility.cc index c272ef624..7659e1e79 100644 --- a/src/arch/arm/utility.cc +++ b/src/arch/arm/utility.cc @@ -223,6 +223,7 @@ getMPIDR(ArmSystem *arm_sys, ThreadContext *tc) assert(tc->socketId() < 65536); if (arm_sys->multiThread) { return 0x80000000 | // multiprocessor extensions available + 0x01000000 | // multi-threaded cores tc->contextId(); } else if (arm_sys->multiProc) { return 0x80000000 | // multiprocessor extensions available |