From: Giacomo Travaglini Date: Tue, 9 Apr 2019 08:30:43 +0000 (+0100) Subject: arch-arm: Enable PMSELR_EL0 read in PMU X-Git-Tag: v19.0.0.0~971 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=740756e97736ad6b65dcb651c2f1f69cc1282781;p=gem5.git 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 --- 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;