[PATCH] ARM: KVM: promote vfp_host pointer to generic host cpu context

Marc Zyngier marc.zyngier at arm.com
Wed Mar 27 15:25:10 EDT 2013


On Tue, 26 Mar 2013 16:37:22 +0000, Marc Zyngier <marc.zyngier at arm.com>
wrote:
> We use the vfp_host pointer to store the host VFP context, should
> the guest start using VFP itself.
> 
> Actually, we can use this pointer in a more generic way to store
> CPU speficic data, and arm64 is using it to dump the whole host
> state before switching to the guest.
> 
> Simply rename the vfp_host field to host_cpu_context, and the
> corresponding type to kvm_cpu_context_t. No change in functionnality.
> 
> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>

[snip]

This patch is broken, as it misses one critical hunk in asm-offset.c.
I'll repost an updated version tomorrow.

        M.
-- 
Fast, cheap, reliable. Pick two.



More information about the linux-arm-kernel mailing list