From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A7ABC10F11 for ; Wed, 24 Apr 2019 14:12:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1911A21773 for ; Wed, 24 Apr 2019 14:12:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="W58iUVud" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1911A21773 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=L+NFGobhV4PQa0e4pwL/N7IKOx2mT76wnaVwZm/p22w=; b=W58iUVudhQ2lrw gZKjgsRW1zTeGHFQqv47v3S34hIHSQNJ0W43uqjO3KXYbNLNbXrZ0jN9+co35eIC6d8nRPcjgB2BM 2q1y08BVlfFW5uXEthIfSGcMhvTIXhlT21tx7FpZG6TQhWZeL3G9FqBNTNzCVrRoKJFA2uvfsAW96 vi9/4wUD5/zg1Zn4j6RUvDETe5MSS96VqxWJEZAj8cB0sEL2Ddbn5TjHcp1f9tyabuyTtRd0eTjB3 BAA9eQvTD1bON9n3mVi0gzt6S0mE3qI+RgLy9PZe38Z++OrHyyH8bDaKyPKWwSSZM7eoDWbRYQjOQ Hsf46c1T4C41kGVnaG/w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJIdN-0007jb-Vp; Wed, 24 Apr 2019 14:12:25 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJIdK-0007iw-Mx for linux-arm-kernel@lists.infradead.org; Wed, 24 Apr 2019 14:12:24 +0000 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 13E6C8102; Wed, 24 Apr 2019 14:12:36 +0000 (UTC) Date: Wed, 24 Apr 2019 07:12:17 -0700 From: Tony Lindgren To: Stefan Agner Subject: Re: [PATCH v3 1/4] ARM: use arch_extension directive instead of arch argument Message-ID: <20190424141217.GC8007@atomide.com> References: <2f3d0fa7ba599f46960ad3e7419477fd@agner.ch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2f3d0fa7ba599f46960ad3e7419477fd@agner.ch> User-Agent: Mutt/1.11.4 (2019-03-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190424_071222_789947_689D4E94 X-CRM114-Status: GOOD ( 15.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nicolas.pitre@linaro.org, andrew@lunn.ch, mans@mansr.com, robh@kernel.org, f.fainelli@gmail.com, gregory.clement@bootlin.com, linux@armlinux.org.uk, krzk@kernel.org, arm@kernel.org, bcm-kernel-feedback-list@broadcom.com, sebastian.hesselbarth@gmail.com, jason@lakedaemon.net, arnd@arndb.de, marc.w.gonzalez@free.fr, rjui@broadcom.com, ssantosh@kernel.org, linux-arm-kernel@lists.infradead.org, sbranden@broadcom.com, ard.biesheuvel@linaro.org, ndesaulniers@google.com, linux-kernel@vger.kernel.org, kgene@kernel.org, robin.murphy@arm.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org * Stefan Agner [190423 20:20]: > On 11.04.2019 09:54, Stefan Agner wrote: > > The LLVM Target parser currently does not allow to specify the security > > extension as part of -march (see also LLVM Bug 40186 [0]). When trying > > to use Clang with LLVM's integrated assembler, this leads to build > > errors such as this: > > clang-8: error: the clang compiler does not support '-Wa,-march=armv7-a+sec' > > > > Use ".arch_extension sec" to enable the security extension in a more > > portable fasion. Also make sure to use ".arch armv7-a" in case a v6/v7 > > multi-platform kernel is being built. > > > > Note that this is technically not exactly the same as the old code > > checked for availabilty of the security extension by calling as-instr. > > However, there are already other sites which use ".arch_extension sec" > > unconditionally, hence de-facto we need an assembler capable of > > ".arch_extension sec" already today (arch/arm/mm/proc-v7.S). The > > arch extension "sec" is available since binutils 2.21 according to > > its documentation [1]. > > > > [0] https://bugs.llvm.org/show_bug.cgi?id=40186 > > [1] https://sourceware.org/binutils/docs-2.21/as/ARM-Options.html > > > > Signed-off-by: Stefan Agner > > Acked-by: Mans Rullgard > > Acked-by: Arnd Bergmann > > Acked-by: Krzysztof Kozlowski > > Arnd, Tony, > > Patch 3 and 4 got merged by Gregory. I think the other two patches are > ready to be merged too. I think they should go in together to avoid > merge conflicts. Tony, if you agree, can you Ack patch 2 so they can get > merged through arm-soc? Sure I just acked it for you. Thanks, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel