* [PATCH] KVM: arm64: nv: Add trap config for DBGWCR<15>_EL1
@ 2026-01-30 9:44 Zenghui Yu
2026-01-30 10:00 ` Marc Zyngier
0 siblings, 1 reply; 2+ messages in thread
From: Zenghui Yu @ 2026-01-30 9:44 UTC (permalink / raw)
To: kvmarm, linux-arm-kernel
Cc: maz, oupton, joey.gouly, suzuki.poulose, zenghui.yu,
wanghaibin.wang
From: "Zenghui Yu (Huawei)" <zenghui.yu@linux.dev>
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) <zenghui.yu@linux.dev>
---
arch/arm64/kvm/emulate-nested.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/kvm/emulate-nested.c b/arch/arm64/kvm/emulate-nested.c
index 834f13fb1fb7..34a5460adaf0 100644
--- a/arch/arm64/kvm/emulate-nested.c
+++ b/arch/arm64/kvm/emulate-nested.c
@@ -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),
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] KVM: arm64: nv: Add trap config for DBGWCR<15>_EL1
2026-01-30 9:44 [PATCH] KVM: arm64: nv: Add trap config for DBGWCR<15>_EL1 Zenghui Yu
@ 2026-01-30 10:00 ` Marc Zyngier
0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2026-01-30 10:00 UTC (permalink / raw)
To: kvmarm, linux-arm-kernel, Zenghui Yu
Cc: oupton, joey.gouly, suzuki.poulose, wanghaibin.wang
On Fri, 30 Jan 2026 17:44:35 +0800, Zenghui Yu wrote:
> 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.
--
Without deviation from the norm, progress is not possible.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-30 10:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-30 9:44 [PATCH] KVM: arm64: nv: Add trap config for DBGWCR<15>_EL1 Zenghui Yu
2026-01-30 10:00 ` Marc Zyngier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox