From: Giacomo Travaglini Date: Mon, 14 May 2018 13:48:52 +0000 (+0100) Subject: arch-arm: MPIDR.MT = 1 in a multithreaded system X-Git-Tag: v19.0.0.0~2107 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=494a0f3e716081ed75e0749e2955893fce6f4b4e;p=gem5.git 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 Reviewed-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/10502 Maintainer: Andreas Sandberg --- 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