From: "Jan Beulich" Subject: Re: [PATCH] xen: arm: make sure gcc doesn't use floating-point registers on arm64 Date: Fri, 27 Jun 2014 09:07:13 +0100 Message-ID: <53AD4251020000780001DD94@mail.emea.novell.com> References: <1403800214-28416-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1403800214-28416-1-git-send-email-ian.campbell@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell 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 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. Jan