Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp637624yba; Wed, 24 Apr 2019 07:16:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqz76bvvX2W8N/ow831euXS6osGCXIKJedseSSr4tVCNAxe+7ZDc9o24HiNj3UShFrYdj01K X-Received: by 2002:aa7:943b:: with SMTP id y27mr33178737pfo.59.1556115362441; Wed, 24 Apr 2019 07:16:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556115362; cv=none; d=google.com; s=arc-20160816; b=zKfMODR23vlpEE6MSrsfHZGVEj6ESmFPKoCAh9/Y3RhtOEQpfJC7qFWBDpS2h6gpyb vkxG2KDL9G9iDPq0EdIeoEPIgfo161PCWDFOoQQL9virfFCzIIDBAGEDcP33rptLR2qm AEVXyvWKx60ux5vjQ+S/TTl9ZHkV547MhQPjVOW4c/NgxN9bWs+E4u4dNZSwjnxnkzoM YogJkqPz+oIZ7Yiwmue1V4aHliEJ24bgTTY8TMj96TFay/UOXY+IFNtJx2nKpp1QLVLY GyDmUUP9PNWahQXXk0BUvCcLNqpZeRq7dMaVVsQl9XMxXQpt9fTthScWH/qooP6bdSf0 eMPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=NYmHCqFSD/n0nQvU+BpW7KNalYxOFtokbh2JpJ+v07I=; b=fYuXg7ra1XMAmzdMU58p6ZB43NYSUVpsfsrzCUDDoVGh7v/wl0tGOQ5eZnuHGyGt6L K6R4QxF5FHrnrMwkMpOcb/Rq0ZnHW0xl/Iz9JqYB0cDbezEYJSD9i2vF4mLW82Suc8Ra uXoDD1vX08U7ip343RJPkBGrhSj721ksDqn4cFOnEvDliy905TSiWO8p0YS5Ci1HRrxF Lgn8nBHryphZDXI5jk35iI+HpCXhAOedudiXOHKbiBHqPzw57Lr0o23JaN+YViZkVi23 dQUqNdsl0SzZbTpsXSOet5Tgufkvd2coGaAbvkp2yUTOqB7kBoelMZimbuto6fCWBD+1 Q4aA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y16si18653818plr.431.2019.04.24.07.15.47; Wed, 24 Apr 2019 07:16:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727803AbfDXOMX (ORCPT + 99 others); Wed, 24 Apr 2019 10:12:23 -0400 Received: from muru.com ([72.249.23.125]:47102 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727377AbfDXOMW (ORCPT ); Wed, 24 Apr 2019 10:12:22 -0400 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 Cc: arnd@arndb.de, arm@kernel.org, linux@armlinux.org.uk, ard.biesheuvel@linaro.org, robin.murphy@arm.com, nicolas.pitre@linaro.org, f.fainelli@gmail.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, kgene@kernel.org, krzk@kernel.org, robh@kernel.org, ssantosh@kernel.org, jason@lakedaemon.net, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, marc.w.gonzalez@free.fr, mans@mansr.com, ndesaulniers@google.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2f3d0fa7ba599f46960ad3e7419477fd@agner.ch> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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