[PATCH 5/9] KVM: arm64: selftests: Have debug_version() use cpuid_get_ufield() helper

Oliver Upton oliver.upton at linux.dev
Thu Aug 25 10:29:26 PDT 2022


On Wed, Aug 24, 2022 at 10:08:42PM -0700, Reiji Watanabe wrote:
> Change debug_version() to use cpuid_get_ufield() to extract DebugVer
> field from the AA64DFR0_EL1 register value.

Either squash this into the patch that adds the field accessors or
reorder it to immediately follow said patch.

aarch64_get_supported_page_sizes() is also due for a cleanup, as it
accesses the TGRANx fields of ID_AA64MMFR0_EL1.

--
Thanks,
Oliver



More information about the linux-arm-kernel mailing list