tests: Run realview(64) tests with VExpress_GEM5_Foundation
This patch is updating the arm regression configs so that the newer VExpress_GEM5_Foundation platform is used instead VExpress_GEM5_V1 for running regressions. The platform has the same memory map as V1, except for a different position of PCI regions in the memory map and more importantly the use of GICv3 instead of GICv2 Change-Id: I48ff56dce38d482be7f1acf162f17725286f54fe Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27714 Tested-by: Gem5 Cloud Project GCB service account <345032938727@cloudbuild.gserviceaccount.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
This commit is contained in:
@@ -94,6 +94,7 @@ class LinuxArmSystemBuilder(object):
|
||||
|
||||
default_kernels = {
|
||||
"VExpress_GEM5_V1": gem5_kernel,
|
||||
"VExpress_GEM5_Foundation": gem5_kernel,
|
||||
}
|
||||
|
||||
sc = SysConfig(None, self.mem_size, [disk_image], "/dev/sda")
|
||||
@@ -122,7 +123,7 @@ class LinuxArmFSSystem(LinuxArmSystemBuilder,
|
||||
"""Basic ARM full system builder."""
|
||||
|
||||
def __init__(self,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
machine_type='VExpress_GEM5_Foundation',
|
||||
aarch64_kernel=True,
|
||||
**kwargs):
|
||||
"""Initialize an ARM system that supports full system simulation.
|
||||
@@ -153,7 +154,7 @@ class LinuxArmFSSystemUniprocessor(LinuxArmSystemBuilder,
|
||||
"""
|
||||
|
||||
def __init__(self,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
machine_type='VExpress_GEM5_Foundation',
|
||||
aarch64_kernel=True,
|
||||
**kwargs):
|
||||
BaseFSSystemUniprocessor.__init__(self, **kwargs)
|
||||
@@ -164,7 +165,7 @@ class LinuxArmFSSwitcheroo(LinuxArmSystemBuilder, BaseFSSwitcheroo):
|
||||
"""Uniprocessor ARM system prepared for CPU switching"""
|
||||
|
||||
def __init__(self,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
machine_type='VExpress_GEM5_Foundation',
|
||||
aarch64_kernel=True,
|
||||
**kwargs):
|
||||
BaseFSSwitcheroo.__init__(self, **kwargs)
|
||||
|
||||
@@ -37,6 +37,7 @@ from m5.objects import *
|
||||
from arm_generic import *
|
||||
|
||||
root = LinuxArmFSSystem(aarch64_kernel=False,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
mem_mode='timing',
|
||||
mem_class=DDR3_1600_8x8,
|
||||
cpu_class=MinorCPU,
|
||||
|
||||
@@ -37,6 +37,7 @@ from m5.objects import *
|
||||
from arm_generic import *
|
||||
|
||||
root = LinuxArmFSSystemUniprocessor(aarch64_kernel=False,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
mem_mode='timing',
|
||||
mem_class=DDR3_1600_8x8,
|
||||
cpu_class=MinorCPU).create_root()
|
||||
|
||||
@@ -38,6 +38,7 @@ from arm_generic import *
|
||||
from common.cores.arm.O3_ARM_v7a import O3_ARM_v7a_3
|
||||
|
||||
root = LinuxArmFSSystemUniprocessor(aarch64_kernel=False,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
mem_mode='timing',
|
||||
mem_class=DDR3_1600_8x8,
|
||||
cpu_class=O3_ARM_v7a_3,
|
||||
|
||||
@@ -38,6 +38,7 @@ from arm_generic import *
|
||||
from common.cores.arm.O3_ARM_v7a import O3_ARM_v7a_3
|
||||
|
||||
root = LinuxArmFSSystem(aarch64_kernel=False,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
mem_mode='timing',
|
||||
mem_class=DDR3_1600_8x8,
|
||||
cpu_class=O3_ARM_v7a_3,
|
||||
|
||||
@@ -38,6 +38,7 @@ from arm_generic import *
|
||||
from common.cores.arm.O3_ARM_v7a import O3_ARM_v7a_3
|
||||
|
||||
root = LinuxArmFSSystemUniprocessor(aarch64_kernel=False,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
mem_mode='timing',
|
||||
mem_class=DDR3_1600_8x8,
|
||||
cpu_class=O3_ARM_v7a_3).create_root()
|
||||
|
||||
@@ -40,6 +40,7 @@ from arm_generic import *
|
||||
import checkpoint
|
||||
|
||||
root = LinuxArmFSSystemUniprocessor(aarch64_kernel=False,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
mem_mode='atomic',
|
||||
mem_class=SimpleMemory,
|
||||
cpu_class=AtomicSimpleCPU).create_root()
|
||||
|
||||
@@ -37,6 +37,7 @@ from m5.objects import *
|
||||
from arm_generic import *
|
||||
|
||||
root = LinuxArmFSSystem(aarch64_kernel=False,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
mem_mode='atomic',
|
||||
mem_class=SimpleMemory,
|
||||
cpu_class=AtomicSimpleCPU,
|
||||
|
||||
@@ -37,6 +37,7 @@ from m5.objects import *
|
||||
from arm_generic import *
|
||||
|
||||
root = LinuxArmFSSystemUniprocessor(aarch64_kernel=False,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
mem_mode='atomic',
|
||||
mem_class=SimpleMemory,
|
||||
cpu_class=AtomicSimpleCPU).create_root()
|
||||
|
||||
@@ -37,6 +37,7 @@ from m5.objects import *
|
||||
from arm_generic import *
|
||||
|
||||
root = LinuxArmFSSystem(aarch64_kernel=False,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
mem_mode='timing',
|
||||
mem_class=DDR3_1600_8x8,
|
||||
cpu_class=TimingSimpleCPU,
|
||||
|
||||
@@ -37,6 +37,7 @@ from m5.objects import *
|
||||
from arm_generic import *
|
||||
|
||||
root = LinuxArmFSSystem(aarch64_kernel=False,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
mem_mode='timing',
|
||||
mem_class=DDR3_1600_8x8,
|
||||
cpu_class=TimingSimpleCPU,
|
||||
|
||||
@@ -37,6 +37,7 @@ from m5.objects import *
|
||||
from arm_generic import *
|
||||
|
||||
root = LinuxArmFSSystemUniprocessor(aarch64_kernel=False,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
mem_mode='timing',
|
||||
mem_class=DDR3_1600_8x8,
|
||||
cpu_class=TimingSimpleCPU,
|
||||
|
||||
@@ -37,6 +37,7 @@ from m5.objects import *
|
||||
from arm_generic import *
|
||||
|
||||
root = LinuxArmFSSystemUniprocessor(aarch64_kernel=False,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
mem_mode='timing',
|
||||
mem_class=DDR3_1600_8x8,
|
||||
cpu_class=TimingSimpleCPU).create_root()
|
||||
|
||||
@@ -38,6 +38,7 @@ from arm_generic import *
|
||||
import switcheroo
|
||||
|
||||
root = LinuxArmFSSwitcheroo(
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
aarch64_kernel=False,
|
||||
mem_class=DDR3_1600_8x8,
|
||||
cpu_classes=(AtomicSimpleCPU, TimingSimpleCPU, MinorCPU, DerivO3CPU)
|
||||
|
||||
@@ -39,6 +39,7 @@ import switcheroo
|
||||
|
||||
root = LinuxArmFSSwitcheroo(
|
||||
aarch64_kernel=False,
|
||||
machine_type='VExpress_GEM5_V1',
|
||||
mem_class=DDR3_1600_8x8,
|
||||
cpu_classes=(DerivO3CPU, DerivO3CPU)
|
||||
).create_root()
|
||||
|
||||
Reference in New Issue
Block a user