From 494a0f3e716081ed75e0749e2955893fce6f4b4e Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Mon, 14 May 2018 14:48:52 +0100 Subject: 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 --- src/arch/arm/utility.cc | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3