diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2023-01-30 18:24:51 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-02-03 12:59:23 +0000 |
commit | dc780233b60c0e4144e09b01f7060075a3c8ff49 (patch) | |
tree | a8a048ac20728c7c624c0d77a70135de1e43d44a /target/arm/cpregs.h | |
parent | 917b1405c1d87c7710f502661f47508d131ea2ca (diff) | |
download | qemu-dc780233b60c0e4144e09b01f7060075a3c8ff49.zip qemu-dc780233b60c0e4144e09b01f7060075a3c8ff49.tar.gz qemu-dc780233b60c0e4144e09b01f7060075a3c8ff49.tar.bz2 |
target/arm: Mark up sysregs for HDFGRTR bits 12..63
Mark up the sysreg definitions for the registers trapped
by HDFGRTR/HDFGWTR bits 12..x.
Bits 12..22 and bit 58 are for PMU registers.
The remaining bits in HDFGRTR/HDFGWTR are for traps on
registers that are part of features we don't implement:
Bits 23..32 and 63 : FEAT_SPE
Bits 33..48 : FEAT_ETE
Bits 50..56 : FEAT_TRBE
Bits 59..61 : FEAT_BRBE
Bit 62 : FEAT_SPEv1p2.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Fuad Tabba <tabba@google.com>
Message-id: 20230130182459.3309057-16-peter.maydell@linaro.org
Message-id: 20230127175507.2895013-16-peter.maydell@linaro.org
Diffstat (limited to 'target/arm/cpregs.h')
-rw-r--r-- | target/arm/cpregs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/arm/cpregs.h b/target/arm/cpregs.h index 7c4d07e..c37e013 100644 --- a/target/arm/cpregs.h +++ b/target/arm/cpregs.h @@ -634,6 +634,18 @@ typedef enum FGTBit { DO_BIT(HDFGRTR, OSLSR_EL1), DO_BIT(HDFGRTR, OSECCR_EL1), DO_BIT(HDFGRTR, OSDLR_EL1), + DO_BIT(HDFGRTR, PMEVCNTRN_EL0), + DO_BIT(HDFGRTR, PMEVTYPERN_EL0), + DO_BIT(HDFGRTR, PMCCFILTR_EL0), + DO_BIT(HDFGRTR, PMCCNTR_EL0), + DO_BIT(HDFGRTR, PMCNTEN), + DO_BIT(HDFGRTR, PMINTEN), + DO_BIT(HDFGRTR, PMOVS), + DO_BIT(HDFGRTR, PMSELR_EL0), + DO_BIT(HDFGWTR, PMSWINC_EL0), + DO_BIT(HDFGWTR, PMCR_EL0), + DO_BIT(HDFGRTR, PMMIR_EL1), + DO_BIT(HDFGRTR, PMCEIDN_EL0), } FGTBit; #undef DO_BIT |