From: Ian Campbell Subject: Re: [PATCH] xen: arm: arm64: Adding VFP save/restore support. Date: Thu, 6 Feb 2014 13:11:43 +0000 Message-ID: <1391692303.25128.3.camel@kazak.uk.xensource.com> References: <1391671722-16127-1-git-send-email-pranavkumar@linaro.org> <52F38394.50405@linaro.org> <1391691427.23098.118.camel@kazak.uk.xensource.com> <52F38938.2090500@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52F38938.2090500@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Anup Patel , patches@linaro.org, patches@apm.com, xen-devel@lists.xen.org, stefano.stabellini@citrix.com, Pranavkumar Sawargaonkar List-Id: xen-devel@lists.xenproject.org On Thu, 2014-02-06 at 13:08 +0000, Julien Grall wrote: > > On 06/02/14 12:57, Ian Campbell wrote: > > On Thu, 2014-02-06 at 12:44 +0000, Julien Grall wrote: > >>> + :: "r" ((char *)(&v->arch.vfp.fpregs)): "memory"); > >> > >> I remember we had a discussion when I have implemented vfp context > >> switch for arm32 for the memory constraints > >> (http://lists.xen.org/archives/html/xen-devel/2013-06/msg00110.html). > >> > >> I think you should use "=Q" also here to avoid cloberring the whole memory. > > > > Yes, I forgot to say: I think getting something in now is the priority, > > which is why I committed it, but this should be tightened up, probably > > for 4.5 unless the difference is benchmarkable. > > The fix is very simple (a matter of 2 lines changes). I would prefer to > delay this patch for a couple of days and having a correct > implementation from the beginning, so we will not forgot to change the > code for Xen 4.5. And I would rather close this rather large hole right now and not wait for two more days when we are looking at doing what might be the final rc soon. I had already applied before you said anything, so the point is moot. Anyway, if someone wants to submit for 4.4 with a case for a release exception then I'm sure George will consider it. Otherwise this thread is now in my QUEUE-4.5 folder so I'll get a reminder shortly after the release when I go through that. > Moreover Pranav usually answer quickly :). If he's awake/at work, it's out of office hours for him now. Ian.