Changes from v12: * Define macros for system register accessors * Re-write PMU code using the newly-defined macros * Code tested under both AArch32 and AArch64 modes Note: 1) Current KVM code has bugs in handling PMCCFILTR write. A fix (see below) is required for this unit testing code to work correctly under KVM mode. https://lists.cs.columbia.edu/pipermail/kvmarm/2016-November/022134.html. Thanks, -Wei Christopher Covington (3): arm: Add PMU test arm: pmu: Check cycle count increases arm: pmu: Add CPI checking Wei Huang (1): arm: Define macros for accessing system registers arm/Makefile.common | 3 +- arm/pmu.c | 277 ++++++++++++++++++++++++++++++++++++++++++++++ arm/unittests.cfg | 19 ++++ lib/arm/asm/processor.h | 37 ++++++- lib/arm64/asm/processor.h | 35 ++++-- 5 files changed, 358 insertions(+), 13 deletions(-) create mode 100644 arm/pmu.c -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html