From: Ian Campbell Subject: Re: [PATCH v3 2/2] xen/arm : emulation of arm's PSCI v0.2 standard Date: Wed, 9 Jul 2014 14:51:01 +0100 Message-ID: <1404913861.16789.64.camel@kazak.uk.xensource.com> References: <1404390158-21542-1-git-send-email-parth.dixit@linaro.org> <1404390158-21542-2-git-send-email-parth.dixit@linaro.org> <1404912270.16789.52.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1404912270.16789.52.camel@kazak.uk.xensource.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: Parth Dixit Cc: xen-devel@lists.xen.org, julien.grall@linaro.org, tim@xen.org, christoffer.dall@linaro.org, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Wed, 2014-07-09 at 14:24 +0100, Ian Campbell wrote: > If it is allowed then I think you need to be truncating the 32-bit > arguments to 32-bits when an aarch64 guest calls the 32-bit entry > points. Looking at the SMC calling convention (ARM DEN 0028A) I think this is indeed the case, since it specifies the use of w0..w7 for arguments when an aarch64 cpu calls an SMC32 interface. It does say upper bits are zero, but I think you need to check? Ian.