mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
KVM: arm64: Add trap configs for PMSDSFR_EL1
SPE data source filtering (SPE_FEAT_FDS) adds a new register PMSDSFR_EL1, add the trap configs for it. PMSNEVFR_EL1 was also missing its VNCR offset so add it along with PMSDSFR_EL1. Tested-by: Leo Yan <leo.yan@arm.com> Signed-off-by: James Clark <james.clark@linaro.org> Reviewed-by: Joey Gouly <joey.gouly@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
This commit is contained in:
committed by
Marc Zyngier
parent
5f9466b50c
commit
557c82a448
@@ -1185,6 +1185,7 @@ static const struct encoding_to_trap_config encoding_to_cgt[] __initconst = {
|
||||
SR_TRAP(SYS_PMSIRR_EL1, CGT_MDCR_TPMS),
|
||||
SR_TRAP(SYS_PMSLATFR_EL1, CGT_MDCR_TPMS),
|
||||
SR_TRAP(SYS_PMSNEVFR_EL1, CGT_MDCR_TPMS),
|
||||
SR_TRAP(SYS_PMSDSFR_EL1, CGT_MDCR_TPMS),
|
||||
SR_TRAP(SYS_TRFCR_EL1, CGT_MDCR_TTRF),
|
||||
SR_TRAP(SYS_TRBBASER_EL1, CGT_MDCR_E2TB),
|
||||
SR_TRAP(SYS_TRBLIMITR_EL1, CGT_MDCR_E2TB),
|
||||
|
||||
Reference in New Issue
Block a user