config, arm: memoryMode test
authorWilly Wolff <willy.mh.wolff.ml@gmail.com>
Wed, 3 Apr 2019 14:09:11 +0000 (15:09 +0100)
committerWilly Wolff <willy.mh.wolff.ml@gmail.com>
Fri, 31 May 2019 14:32:29 +0000 (14:32 +0000)
Commit 9a13acaa367769c38859342de9bc35aac59a6710 doesn't comply with the
same behaviour. The conditional test the memory mode on the same cluster,
while it should test the other cluster.

Change-Id: If3a7863f0905e66a548001d8e74689f5dd07179c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17748
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>

configs/example/arm/fs_bigLITTLE.py

index 678b038eae610984083bcb0935767b5d3e15b6d1..539d1e78467c6a431be66538917c4eef7d9399f7 100644 (file)
@@ -242,7 +242,7 @@ def build(options):
 
     # Figure out the memory mode
     if options.big_cpus > 0 and options.little_cpus > 0 and \
-       system.littleCluster.memoryMode() != system.littleCluster.memoryMode():
+       system.bigCluster.memoryMode() != system.littleCluster.memoryMode():
         m5.util.panic("Memory mode missmatch among CPU clusters")