KVM: arm64: nv: Add trap config for DBGWCR<15>_EL1
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")
Signed-off-by Zenghui Yu (Huawei) <[email protected]>
--- arch/arm64/kvm/emulate-nested.c | 1 + 1 file changed, 1 insertion(+)
arch/arm64/kvm/emulate-nested.c +1 -0
@@ -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
Quoted 4 lines · Zenghui Yu
Seems that it was missed when
MDCR_EL2was 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.