----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/2434/ -----------------------------------------------------------
Review request for Default. Repository: gem5 Description ------- Changeset 10430:9d0de8136bbd --------------------------- arm: Add a model of an ARM PMUv3 This class implements a subset of the ARM PMU v3 specification as described in the ARMv8 reference manual. It supports most of the features of the PMU, however the following features are known to be missing: * Event filtering (e.g., from different privilege levels). * Access controls (the PMU currently ignores the execution level). * The chain counter (event no. 0x1E) is unimplemented. The PMU itself does not implement any events, it merely provides an interface for the configuration scripts to hook up probes that drive events. Configuration scripts should call addEventProbe() to configure custom events or high-level methods to configure architected events. The Python implementation of addEventProbe() automatically delays event type registration until after instantiation. In order to support CPU switching and some combined counters (e.g., memory references synthesized from loads and stores), the PMU allows multiple probes per event type. When creating a system that switches between CPU models that share the same PMU, PMU events for all of the CPU models can be registered with the PMU. Kudos to Matt Horsnell for the initial gem5 implementation of the PMU. Diffs ----- src/arch/arm/ArmISA.py 28b31101d9e6 src/arch/arm/ArmPMU.py PRE-CREATION src/arch/arm/SConscript 28b31101d9e6 src/arch/arm/isa.hh 28b31101d9e6 src/arch/arm/isa.cc 28b31101d9e6 src/arch/arm/isa_device.hh PRE-CREATION src/arch/arm/isa_device.cc PRE-CREATION src/arch/arm/pmu.hh PRE-CREATION src/arch/arm/pmu.cc PRE-CREATION Diff: http://reviews.gem5.org/r/2434/diff/ Testing ------- Thanks, Andreas Hansson _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
