[PATCH 2/4] KVM: arm64: Clarify the check for reset callback in check_sysreg_table()

Sebastian Ott sebott at redhat.com
Wed Jul 23 08:38:48 PDT 2025


On Fri, 18 Jul 2025, Marc Zyngier wrote:

> check_sysreg_table() has a wonky 'is_32" parameter, which is really
> an indication that we should enforce the presence of a reset helper.
>
> Clean this up by naming the variable accordingly and inverting the
> condition. Contrary to popular belief, system instructions don't
> have a reset value (duh!), and therefore do not need to be checked
> for reset (they escaped the check through luck...).
>
> Signed-off-by: Marc Zyngier <maz at kernel.org>

Reviewed-by: Sebastian Ott <sebott at redhat.com>




More information about the linux-arm-kernel mailing list