From: "Jan Beulich" Subject: Re: [PATCH v4 for 4.5] arm32: fix build after 063188f4b3 Date: Thu, 16 Oct 2014 08:46:50 +0100 Message-ID: <543F940A020000780003F0BF@mail.emea.novell.com> References: <1413382392-27897-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Xeflt-0007ZN-Ts for xen-devel@lists.xenproject.org; Thu, 16 Oct 2014 07:46:54 +0000 In-Reply-To: <1413382392-27897-1-git-send-email-julien.grall@linaro.org> 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: Julien Grall Cc: xen-devel@lists.xenproject.org, tim@xen.org, stefano.stabellini@citrix.com, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org >>> On 15.10.14 at 16:13, wrote: > "xen: arm: Add support for the Exynos secure firmware" introduced code > assuming that exynos_smc() would get called with arguments in certain > registers. While the "noinline" attribute guarantees the function to > not get inlined, it does not guarantee that all arguments arrive in the > assumed registers: gcc's interprocedural analysis can result in clone > functions to be created where some of the incoming arguments (commonly > when they have constant values) get replaced by putting in place the > respective values inside the clone. > > Xen contains in multiple place of this SMC function: consolidate the > function > in a single place and write it in assembly. > > Signed-off-by: Julien Grall > Reported-by: Jan Beulich Fwiw, this looks fine to me now (leaving aside the missed spelling fix you pointed out yourself). For the above tags though, reversing their order would be preferred (so that their sequence represents the flow of events). Jan