From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Gross Subject: Re: [PATCH] firmware: qcom-scm: build for correct architecture level Date: Tue, 13 Oct 2015 14:49:32 -0500 Message-ID: <20151013194932.GB7212@qualcomm.com> References: <8346311.PtPZJEII3N@wuerfel> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:40720 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752755AbbJMTtg (ORCPT ); Tue, 13 Oct 2015 15:49:36 -0400 Content-Disposition: inline In-Reply-To: <8346311.PtPZJEII3N@wuerfel> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Arnd Bergmann Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Russell King , Kumar Gala , linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org On Mon, Oct 12, 2015 at 04:56:19PM +0200, Arnd Bergmann wrote: > The ".arch_extension sec" directive is only available on ARMv6 or higher, > so if we enable the SCM driver while building a kernel for an older CPU, > we get a build error: > > /tmp/ccUyhMOY.s:130: Error: selected processor does not support ARM mode `smc #0' > /tmp/ccUyhMOY.s:216: Error: selected processor does not support ARM mode `smc #0' > /tmp/ccUyhMOY.s:373: Error: selected processor does not support ARM mode `smc #0' > make[4]: *** [drivers/firmware/qcom_scm-32.o] Error 1 > > This changes the Makefile so we pass the ARMv7 architecture level both > for the check and for the actual compilation of the scm driver. > > Signed-off-by: Arnd Bergmann > Thanks for fixing this. I'll pull it in. -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project