arch-arm: Don't fail to initialise PMU if BP is missing
authorAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 20 Jun 2018 13:23:59 +0000 (14:23 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 2 Aug 2018 08:29:57 +0000 (08:29 +0000)
commit4b2e28307d0a1c2b31e403e8e394261eb363a7a9
treee9ceb499c3a4d6af3517aa853ecec60eedf72a8d
parenta27ce59a39ec8fa20a3c4e9fa53e9b3db1199e91
arch-arm: Don't fail to initialise PMU if BP is missing

The branch predictor currently assumes that each CPU has a branch
predictor. This isn't true in some cases (e.g., KVM, Atomic).

Change-Id: I61e80dca940c2dadba1b812449691c9dba1c06d9
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/11520
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
src/arch/arm/ArmPMU.py