Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

-2
-2
arch/arm64/kvm/sys_regs.c
··· 3414 3414 { SYS_DESC(SYS_CCSIDR_EL1), access_ccsidr }, 3415 3415 { SYS_DESC(SYS_CLIDR_EL1), access_clidr, reset_clidr, CLIDR_EL1, 3416 3416 .set_user = set_clidr, .val = ~CLIDR_EL1_RES0 }, 3417 - { SYS_DESC(SYS_CCSIDR2_EL1), undef_access }, 3418 - { SYS_DESC(SYS_SMIDR_EL1), undef_access }, 3419 3417 IMPLEMENTATION_ID(AIDR_EL1, GENMASK_ULL(63, 0)), 3420 3418 { SYS_DESC(SYS_CSSELR_EL1), access_csselr, reset_unknown, CSSELR_EL1 }, 3421 3419 ID_FILTERED(CTR_EL0, ctr_el0,