From 080d4e08d627b5b726afec71d38370373b7376c5 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Fri, 12 Aug 2016 14:11:45 +0100 Subject: mem: Add snoop filter to SystemXBar by default This patch changes the default behaviour of the SystemXBar, adding a snoop filter. With the recent updates to the snoop filter allocation behaviour this change no longer causes problems for the regressions without caches. Change-Id: Ibe0cd437b71b2ede9002384126553679acc69cc1 Reviewed-by: Nikos Nikoleris Reviewed-by: Jason Lowe-Power Reviewed-by: Tony Gutierrez --- tests/configs/base_config.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tests/configs/base_config.py') diff --git a/tests/configs/base_config.py b/tests/configs/base_config.py index 185c00020..860b84fa4 100644 --- a/tests/configs/base_config.py +++ b/tests/configs/base_config.py @@ -126,9 +126,6 @@ class BaseSystem(object): cpu.createInterruptController() cpu.connectAllPorts(sha_bus if sha_bus != None else system.membus, system.membus) - # System has caches before the membus -> add snoop filter - if sha_bus and system.membus.snoop_filter == NULL: - system.membus.snoop_filter = SnoopFilter() def init_kvm(self, system): """Do KVM-specific system initialization. @@ -152,9 +149,7 @@ class BaseSystem(object): self.init_kvm(system) sha_bus = self.create_caches_shared(system) - # System has caches before the membus -> add snoop filter - if sha_bus and system.membus.snoop_filter == NULL: - system.membus.snoop_filter = SnoopFilter() + for cpu in system.cpu: self.init_cpu(system, cpu, sha_bus) -- cgit v1.2.3