From: Ian Campbell Subject: Re: [PATCH v4 2/2] xen/arm32: implement VFP context switch Date: Sun, 7 Jul 2013 07:03:18 +0100 Message-ID: <1373176998.5453.19.camel@hastur.hellion.org.uk> References: <1371476833-32475-1-git-send-email-julien.grall@linaro.org> <1371476833-32475-3-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1371476833-32475-3-git-send-email-julien.grall@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: patches@linaro.org, tim@xen.org, Stefano.Stabellini@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, 2013-06-17 at 14:47 +0100, Julien Grall wrote: > Add support for VFP context switch on arm32 and a dummy support for arm64 > > Signed-off-by: Julien Grall This patch is causing failures for me with the gcc 4.6.3 cross compiler which I use and with gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415 vfp.c: In function 'vfp_restore_state': vfp.c:45:27: error: memory input 0 is not directly addressable vfp.c:51:31: error: memory input 0 is not directly addressable For some reason this didn't happen during my pre-commit build tests (or I somehow missed it), and the test system seems happy with it (no regression reported). But it does seem to fail on the same system (with the same compiler) I used for those pre-commit tests now. Which compiler do you use? I notice that Linux does its VFP context switch in a .S file, I wonder if this sort of issue is why? Ian.