Skip to content

Commit f07ef1b

Browse files
author
Marc Zyngier
committed
KVM: arm64: Handle CSSIDR2_EL1 and SMIDR_EL1 in a generic way
Now that we can handle ID registers using the FEAT_IDST infrastrcuture, get rid of the handling of CSSIDR2_EL1 and SMIDR_EL1. Reviewed-by: Yuan Yao <yaoyuan@linux.alibaba.com> Link: https://patch.msgid.link/20260108173233.2911955-6-maz@kernel.org Signed-off-by: Marc Zyngier <maz@kernel.org>
1 parent d78a14d commit f07ef1b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

arch/arm64/kvm/sys_regs.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3414,8 +3414,6 @@ static const struct sys_reg_desc sys_reg_descs[] = {
34143414
{ SYS_DESC(SYS_CCSIDR_EL1), access_ccsidr },
34153415
{ SYS_DESC(SYS_CLIDR_EL1), access_clidr, reset_clidr, CLIDR_EL1,
34163416
.set_user = set_clidr, .val = ~CLIDR_EL1_RES0 },
3417-
{ SYS_DESC(SYS_CCSIDR2_EL1), undef_access },
3418-
{ SYS_DESC(SYS_SMIDR_EL1), undef_access },
34193417
IMPLEMENTATION_ID(AIDR_EL1, GENMASK_ULL(63, 0)),
34203418
{ SYS_DESC(SYS_CSSELR_EL1), access_csselr, reset_unknown, CSSELR_EL1 },
34213419
ID_FILTERED(CTR_EL0, ctr_el0,

0 commit comments

Comments
 (0)