From: Ian Campbell Subject: Re: [PATCH] xen: arm: make sure gcc doesn't use floating-point registers on arm64 Date: Fri, 27 Jun 2014 10:32:14 +0100 Message-ID: <1403861534.32314.18.camel@kazak.uk.xensource.com> References: <1403800214-28416-1-git-send-email-ian.campbell@citrix.com> <53AD4251020000780001DD94@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53AD4251020000780001DD94@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: tim@xen.org, julien.grall@linaro.org, xen-devel@lists.xen.org, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Fri, 2014-06-27 at 09:07 +0100, Jan Beulich wrote: > >>> On 26.06.14 at 18:30, wrote: > > By using -mgeneral-regs-only which is the Aarch64 equivalent to > > -msoft-float. > > > > Otherwise gcc will corrupt the d* registers, which we don't save/restore > > when > > trapping to/from the hypervisor. > > > > Signed-off-by: Ian Campbell > > --- > > Needless to say I consider this important for 4.4 backport... > > Agreed - for a fix like this I'm not even certain you'd need to wait for > it to make it through the master push gate. Since the push gate doesn't even test arm64 at the moment I was certainly planning to skip that delay, yes. (and I would have considered it even if it was being tested...) Ian.