[PATCH 12/16] KVM: arm64: nv: timers: Add a per-timer, per-vcpu offset
Colton Lewis
coltonlewis at google.com
Fri Feb 24 12:07:59 PST 2023
Marc Zyngier <maz at kernel.org> writes:
> diff --git a/include/kvm/arm_arch_timer.h b/include/kvm/arm_arch_timer.h
> index 62ef4883e644..e76e513b90c5 100644
> --- a/include/kvm/arm_arch_timer.h
> +++ b/include/kvm/arm_arch_timer.h
> @@ -29,6 +29,11 @@ struct arch_timer_offset {
> * structure. If NULL, assume a zero offset.
> */
> u64 *vm_offset;
> + /*
> + * If set, pointer to one of the offsets in the vcpu's sysreg
> + * array. If NULL, assume a zero offset.
> + */
> + u64 *vcpu_offset;
> };
> struct arch_timer_vm_offsets {
> --
> 2.34.1
This pointer isn't initialized until next commit and this commit is
small so I think it should be merged with the next one.
More information about the linux-arm-kernel
mailing list