[RFC PATCH v1 05/30] KVM: arm64: add accessors for kvm_cpu_context
Quentin Perret
qperret at google.com
Mon Sep 27 08:57:50 PDT 2021
On Friday 24 Sep 2021 at 13:53:34 (+0100), Fuad Tabba wrote:
> +static void __vcpu_write_spsr(struct kvm_vcpu *vcpu, u64 val)
> +{
> + __ctxt_write_spsr(&vcpu_ctxt(vcpu), val);
> +}
> +
> +static void __vcpu_write_spsr_abt(struct kvm_vcpu *vcpu, u64 val)
> +{
> + __ctxt_write_spsr_abt(&vcpu_ctxt(vcpu), val);
> +}
> +
> +static void __vcpu_write_spsr_und(struct kvm_vcpu *vcpu, u64 val)
> +{
> + __ctxt_write_spsr_und(&vcpu_ctxt(vcpu), val);
> }
I think you remove those at a later point in the series, do we really
need to add them here?
Cheers,
Quentin
More information about the linux-arm-kernel
mailing list