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:
@@ -87,7 +87,7 @@ def config_cache(options, system):
|
||||
dcache_class, icache_class, l2_cache_class, walk_cache_class = \
|
||||
core.O3_ARM_v7a_DCache, core.O3_ARM_v7a_ICache, \
|
||||
core.O3_ARM_v7aL2, \
|
||||
core.O3_ARM_v7aWalkCache
|
||||
None
|
||||
elif options.cpu_type == "HPI":
|
||||
try:
|
||||
import cores.arm.HPI as core
|
||||
@@ -96,7 +96,7 @@ def config_cache(options, system):
|
||||
sys.exit(1)
|
||||
|
||||
dcache_class, icache_class, l2_cache_class, walk_cache_class = \
|
||||
core.HPI_DCache, core.HPI_ICache, core.HPI_L2, core.HPI_WalkCache
|
||||
core.HPI_DCache, core.HPI_ICache, core.HPI_L2, None
|
||||
else:
|
||||
dcache_class, icache_class, l2_cache_class, walk_cache_class = \
|
||||
L1_DCache, L1_ICache, L2Cache, None
|
||||
|
||||
Reference in New Issue
Block a user