configs: Stop using a PTW cache before L2 in Arm configs
This implementation of a walk cache does not allow to skip walks as it is a simple cache placed in front of the table walker. It was meant to provide a faster retrieval of page table descriptors than fetching them from L2 or memory. This is not needed anymore for Arm as from [1] we implement partial translation caching in Arm TLBs. [1]: JIRA: https://gem5.atlassian.net/browse/GEM5-1108 Change-Id: I00d44a4e3961e15602bf4352f2f42ddccf2b746b Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Richard Cooper <richard.cooper@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/54243 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -106,12 +106,11 @@ class MemBus(SystemXBar):
|
||||
|
||||
class CpuCluster(SubSystem):
|
||||
def __init__(self, system, num_cpus, cpu_clock, cpu_voltage,
|
||||
cpu_type, l1i_type, l1d_type, wcache_type, l2_type):
|
||||
cpu_type, l1i_type, l1d_type, l2_type):
|
||||
super(CpuCluster, self).__init__()
|
||||
self._cpu_type = cpu_type
|
||||
self._l1i_type = l1i_type
|
||||
self._l1d_type = l1d_type
|
||||
self._wcache_type = wcache_type
|
||||
self._l2_type = l2_type
|
||||
|
||||
assert num_cpus > 0
|
||||
@@ -140,9 +139,7 @@ class CpuCluster(SubSystem):
|
||||
for cpu in self.cpus:
|
||||
l1i = None if self._l1i_type is None else self._l1i_type()
|
||||
l1d = None if self._l1d_type is None else self._l1d_type()
|
||||
iwc = None if self._wcache_type is None else self._wcache_type()
|
||||
dwc = None if self._wcache_type is None else self._wcache_type()
|
||||
cpu.addPrivateSplitL1Caches(l1i, l1d, iwc, dwc)
|
||||
cpu.addPrivateSplitL1Caches(l1i, l1d)
|
||||
|
||||
def addL2(self, clk_domain):
|
||||
if self._l2_type is None:
|
||||
|
||||
Reference in New Issue
Block a user