All of lore.kernel.org
 help / color / mirror / Atom feed
From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: KVM: promote vfp_host pointer to generic host cpu context
Date: Wed, 27 Mar 2013 20:25:10 +0100	[thread overview]
Message-ID: <0c80d1e5b0850e2d49a657e07c04037d@localhost> (raw)
In-Reply-To: <1364315842-20317-1-git-send-email-marc.zyngier@arm.com>

On Tue, 26 Mar 2013 16:37:22 +0000, Marc Zyngier <marc.zyngier@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@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.

WARNING: multiple messages have this Message-ID (diff)
From: Marc Zyngier <marc.zyngier@arm.com>
To: <linux-arm-kernel@lists.infradead.org>, <kvm@vger.kernel.org>,
	<kvmarm@lists.cs.columbia.edu>
Subject: Re: [PATCH] ARM: KVM: promote vfp_host pointer to generic host cpu context
Date: Wed, 27 Mar 2013 20:25:10 +0100	[thread overview]
Message-ID: <0c80d1e5b0850e2d49a657e07c04037d@localhost> (raw)
In-Reply-To: <1364315842-20317-1-git-send-email-marc.zyngier@arm.com>

On Tue, 26 Mar 2013 16:37:22 +0000, Marc Zyngier <marc.zyngier@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@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.

  reply	other threads:[~2013-03-27 19:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26 16:37 [PATCH] ARM: KVM: promote vfp_host pointer to generic host cpu context Marc Zyngier
2013-03-26 16:37 ` Marc Zyngier
2013-03-27 19:25 ` Marc Zyngier [this message]
2013-03-27 19:25   ` Marc Zyngier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0c80d1e5b0850e2d49a657e07c04037d@localhost \
    --to=marc.zyngier@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.