[PATCH v2 0/2] set_id_regs cleanup

Ben Horgan ben.horgan at arm.com
Tue Nov 25 02:12:05 PST 2025


For this v2 I've dropped the ksft_test accounting fix. Mark Brown has
more extensive changes [1] and looks to be a user of the set_id_regs
test rather than someone just doing some cleanup. The other change in
this series is to remove ARM64_FEATURE_FIELD_BITS from the tools
sysreg.h header rather than the kernel version. I'll send a separate
patch to remove the kernel version.

Tidies up a few small things in set_id_regs. The removal of
ARM64_FEATURE_FIELD_BITS touches other code only so much as it removes
the define but set_id_regs.c is the only place its used.

Based on v6.18-rc4

Link to v1: https://lore.kernel.org/kvmarm/20251114-kvm-arm64-set-id-regs-aarch64-v2-0-672f214f41bf@kernel.org/

[1] https://lore.kernel.org/kvmarm/20251114-kvm-arm64-set-id-regs-aarch64-v2-0-672f214f41bf@kernel.org/

Ben Horgan (2):
  KVM: arm64: selftests: Remove ARM64_FEATURE_FIELD_BITS and its last
    user
  KVM: arm64: selftests: Consider all 7 possible levels of cache

 tools/arch/arm64/include/asm/sysreg.h           |  2 --
 tools/testing/selftests/kvm/arm64/set_id_regs.c | 10 +++++++---
 2 files changed, 7 insertions(+), 5 deletions(-)

-- 
2.43.0




More information about the linux-arm-kernel mailing list