From patchwork Mon Jul 22 14:51:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11052565 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 74A6A13B1 for ; Mon, 22 Jul 2019 14:52:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 62B3C2863C for ; Mon, 22 Jul 2019 14:52:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 568ED2866D; Mon, 22 Jul 2019 14:52:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C702F2863C for ; Mon, 22 Jul 2019 14:52:30 +0000 (UTC) X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by groups.io with SMTP; Mon, 22 Jul 2019 07:52:29 -0700 X-Received: by mail.kernel.org (Postfix) id 13D1F21911; Mon, 22 Jul 2019 14:52:29 +0000 (UTC) X-Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6CF092190F for ; Mon, 22 Jul 2019 14:52:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6CF092190F X-Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPA (Nemesis) id 1M6m5o-1hmpZg2zkM-008LEh; Mon, 22 Jul 2019 16:52:14 +0200 From: Arnd Bergmann To: Linuxkernel+Patchwork-Soc via Email Integration Cc: Arnd Bergmann , Bartosz Golaszewski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] [RESEND] ARM: davinci: fix sleep.S build error on ARMv4 Date: Mon, 22 Jul 2019 16:51:50 +0200 Message-Id: <20190722145211.1154785-1-arnd@arndb.de> MIME-Version: 1.0 X-Provags-ID: V03:K1:iAtehMXXYnCWFJ5DNLwBwFTLws99i7fqpxPmtyH/yvfW6H8Ctwi Fi0td61Baqu91ONIbhZ60qL+AFXtUkL6w2fLXTYYdGUgr+KMERUmtOldY4oImOCN2gtBYUT VDZVT1cOtCr558emYVAisbXf3xuo2stca3tdRs4O93g2DXxsMxUwrBIktSa/7Wz1Apyj1un POdBB5yEFLkQJWrFmCzww== X-UI-Out-Filterresults: notjunk:1;V03:K0:Ib0Mi+4+ezs=:EsbpZag6xZFGxTQ4oiBoDR slk0vaCKD/n0SbnmPoRD1wTO8croA0WgKEYcN322V1kbu8eEqqnInDPjzuhy/VEoHkB6hvuYr yHzH2isYcdpIxIEJv4sb3yobdl47QB4wozEpob8Glf+KxRwy62df82t3t+c98Gi577RuskI6N VwRlraxQkFPWl3qkMBVQotGMVFT14/8BZUJVedKoqnWafWQ8/wjaPWk6Zmg7mK6eXayXQ9g4S gAYZKwULnMzqMEZVO0Ys+iaWaN0rGRmTHknuWy8TEK4VH8KSEQph7utWXwj67pJzesFFYjTKy ix8l4M9yjZlTperBVIbO5yAX9Hmvw0bVCYTo+glx6Qo937jys06/Wsh1IGbeIZaqNzR9qMV31 gKNxLe9BRS8rvpm2pcmiPRtdi2C1R6I0nH/L9LxOJ+/ujgUXaHTXcQMjqr2U802CUoarSwabF +WUPS8XoMT0bsG0hgtB7AVjed4b3QW5GYQY6CpEXDQEpkckwVpIBQiCw3y907uBkP3/2lD4H8 GM/h1Go8BZWshzky3ydC2BXq89GEMPSzS/SUM7xNL66UL00xVnL3ZbwsqUL2rEi875sgaiWcT 0p7DSh8Nn4fC4XaCR5DFf6XUeVKPeGQn5njpQvYQgLXDB0wgUZTn9cL1yCZ3gpvVQhnvcHeTg MnCOSgnzpt+4rt73V1ylSFTjHSU/HbvqKwlqqQwhgBW+NtUqIEj4u7i10phtWdRKBzMaIEfIa lNSDYK5+g4pNM+7gFadRP+vot3w3vfOX4aTymQ== Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1563807150; bh=oICqAb9i81re0vGMk+4QhggkW0BNzPjTv74pS61l02E=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=IV1T6M7quJzAJ8ZEaYiyV5JFziVRt7vcFeKpyzNF1jLaC4PgBzsa+SR1HpUlsq1qYVO lLqgQ6cvOyvs7CzzOF0k9ZlpZz5ByT16Az9F1n8Uk22/6djxQKgUr7sStz9B/fKxuyBO2 hebl8k0KcVv88owKTL/3jFZaa0I51WgWvQE= X-Virus-Scanned: ClamAV using ClamSMTP When building a multiplatform kernel that includes armv4 support, the default target CPU does not support the blx instruction, which leads to a build failure: arch/arm/mach-davinci/sleep.S: Assembler messages: arch/arm/mach-davinci/sleep.S:56: Error: selected processor does not support `blx ip' in ARM mode Add a .arch statement in the sources to make this file build. Acked-by: Sekhar Nori Signed-off-by: Arnd Bergmann --- I forgot to pick this up for arm-soc, sending again so it ends up in the inbox --- arch/arm/mach-davinci/sleep.S | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/sleep.S b/arch/arm/mach-davinci/sleep.S index 05d03f09ff54..71262dcdbca3 100644 --- a/arch/arm/mach-davinci/sleep.S +++ b/arch/arm/mach-davinci/sleep.S @@ -24,6 +24,7 @@ #define DEEPSLEEP_SLEEPENABLE_BIT BIT(31) .text + .arch armv5te /* * Move DaVinci into deep sleep state *