Skip to contentSkip to conversation

KVM: arm64: nv: Add trap config for DBGWCR<15>_EL1

PATCH Applied Zenghui Yu 2 participants 2 messages Jan 30

Subsystems (2)
lore
Share & tools
lore

Zenghui Yu

author
#0 lore raw

PATCH 1/1 KVM: arm64: nv: Add trap config for DBGWCR<15>_EL1

From: "Zenghui Yu (Huawei)" <[email protected]>

Seems that it was missed when MDCR_EL2 was first added to the trap forwarding infrastructure. Add it back.

Fixes cb31632c4452 ("KVM: arm64: nv: Add trap forwarding for MDCR_EL2")
---
 arch/arm64/kvm/emulate-nested.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/kvm/emulate-nested.c +1 -0
index 834f13fb1fb7..34a5460adaf0 100644
@@ -1166,6 +1166,7 @@ static const struct encoding_to_trap_config encoding_to_cgt[] __initconst = {
 	SR_TRAP(SYS_DBGWCRn_EL1(12),	CGT_MDCR_TDE_TDA),
 	SR_TRAP(SYS_DBGWCRn_EL1(13),	CGT_MDCR_TDE_TDA),
 	SR_TRAP(SYS_DBGWCRn_EL1(14),	CGT_MDCR_TDE_TDA),
+	SR_TRAP(SYS_DBGWCRn_EL1(15),	CGT_MDCR_TDE_TDA),
 	SR_TRAP(SYS_DBGCLAIMSET_EL1,	CGT_MDCR_TDE_TDA),
 	SR_TRAP(SYS_DBGCLAIMCLR_EL1,	CGT_MDCR_TDE_TDA),
 	SR_TRAP(SYS_DBGAUTHSTATUS_EL1,	CGT_MDCR_TDE_TDA),
Signature · 1 line
2.34.1
maintainer Applied
#1 lore raw
Quoted 4 lines · Zenghui Yu

Seems that it was missed when MDCR_EL2 was first added to the trap forwarding infrastructure. Add it back.

Applied to next, thanks!

[1/1] KVM: arm64: nv: Add trap config for DBGWCR<15>_EL1

      commit: 9d46e83a72392a644604458448a72d7c45977f0f

Cheers,

	M.
Signature · 1 line
Without deviation from the norm, progress is not possible.