From 740756e97736ad6b65dcb651c2f1f69cc1282781 Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Tue, 9 Apr 2019 09:30:43 +0100 Subject: [PATCH] arch-arm: Enable PMSELR_EL0 read in PMU Change-Id: Ic1ec1d03464a7ce42295cee8a9f4ebcd3e90def1 Signed-off-by: Giacomo Travaglini Reviewed-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17948 Maintainer: Andreas Sandberg --- src/arch/arm/pmu.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arch/arm/pmu.cc b/src/arch/arm/pmu.cc index 62353cf2b..93d4f5efb 100644 --- a/src/arch/arm/pmu.cc +++ b/src/arch/arm/pmu.cc @@ -333,6 +333,7 @@ PMU::readMiscRegInt(int misc_reg) case MISCREG_PMSWINC: // Software Increment Register (RAZ) return 0; + case MISCREG_PMSELR_EL0: case MISCREG_PMSELR: return reg_pmselr; -- 2.30.2