Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1239422yba; Thu, 16 May 2019 17:23:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVr+yuFetZdxFtrp6GMChpaF+N/89dKzn6G4Zeh3MCiXIetCJPWGJR2hG69u4PW5M78zwc X-Received: by 2002:a63:ce43:: with SMTP id r3mr34412425pgi.368.1558052601498; Thu, 16 May 2019 17:23:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558052601; cv=none; d=google.com; s=arc-20160816; b=kr5F4fcprPDzcv5fk3I0yJb8Wh3EQhm5E07JQ93lM6Amu1KSRWx0hOhgkbakbIb9/O x6owouYKOVhG1VywSypNz8S7mECKD3AdKzHh/rvZNJacWH+JFTiKKWnAsgm5LVgeGAjm PnGNwurwkO2n00dIZNgxWDSyU1+nOa3H1CXzKiFdeMm2bQZHgtzvzLxumBBBrZk235Qx KAkR/+VWlT2IWGixliFhN7Nv7DMzhjwN3RIuIZcU/eSCtGD9Vk5cRb+d+g6xgX4HRVyd 6nEdCJP44t0jdnOOb0M6iUbpxpmcVrbolhqNSVj/XBhss/WlWBJhhEYpMRS0kP72ZtVc TN5g== 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:dkim-signature; bh=TxsNy0d6Z0NEmyHjwLQqkeMvbekfex2o7Dex22q3rXc=; b=LpGvV4tE4LavY8iHFMeV3Qqv/Hz2lYX27BeWoPh3OgQwcyoMYiFQtg7PmCAwXZuMuf lspxn0oA7Te0KiNalu2OshBiyMQZT6wbMVZvcMLAWqAvbCLko33+SmhMRrjUBI25k8mn BllPMySCO1kFfFjfbuRem9vkfyI7OZAyhVxost82o4qXS3O36rpbTDYxjqyC0xSZA8zW mS45iUVqQQYXQj25bqYZdOlgwixNlwfa3Up+sys5VjwUT8Op+8aHIWG26RWUYSl5sOWT 3x27V7b9c2eZoTXgqJnoLfUHXhpj5joYfwmYiDTkkzz8bUsDSXiCTsc0sG0qfU+0bEt1 qOAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=BC8Bsfal; 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 j8si7015958pfh.239.2019.05.16.17.23.02; Thu, 16 May 2019 17:23:21 -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; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=BC8Bsfal; 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 S1727821AbfEPVvN (ORCPT + 99 others); Thu, 16 May 2019 17:51:13 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:34787 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726750AbfEPVvM (ORCPT ); Thu, 16 May 2019 17:51:12 -0400 Received: by mail-lf1-f66.google.com with SMTP id v18so3821732lfi.1 for ; Thu, 16 May 2019 14:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=TxsNy0d6Z0NEmyHjwLQqkeMvbekfex2o7Dex22q3rXc=; b=BC8BsfalvsLkHyig9Dht9Oshl6827AqjIKgf14GTPWRJ+gFcmG0B/lcDupYHDLnDm9 FIagejSZDef52VTnIlw6cx4lLi/pclQyxNCrhSV/SIInc45kD+waIWwN4VKhb+0VKjqT gr4O8X0pSyS5BWiaMKDgyBq4tGfaaqo3w/Lh9Ta7rV2BMLkVbMLRMHq/PgY2Cv7DxI3T 6Faq6HlJ+UJb9POBD8nbbsN8UwRY7EXqcYFpUAkSvddVoq6R1zkjgCEhzQ2qwPLkv1ol fSB/gfX/Lgyac3ZXjDSyVvQlIKI2ut/dENTvP7T/lrOwzuUlOI0uah1UVe8Hy7Mv7dma LOOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=TxsNy0d6Z0NEmyHjwLQqkeMvbekfex2o7Dex22q3rXc=; b=rRnW7HvsTAViEbGsRtv3FEkagBhi+l+FGfcuE/9Ja95N1uuS9CxU5uOGb63aX541+8 x0iX6ugQofUDfkPJwsZo1KO5EAxNrFA1T9aFCitxEBOCL9v7PG0EXm0CEqo17wr57k1A p65L2xlreMaNrN3ttKq0JM1YeuYPm/S8OLlNyQXOzcXcXygx0fibrTM/lR7DaTOvrJx2 fWJkdB5sKlTCLJAf9QyqIZWP/JiPd7brah/fnI0A2hOEc2SzWgs/FBEibmHdeJ31Zb88 L3mH2UDfq0WwshLXjFRafwYIYoTaDatf7pKmx90tZQq7Y+H00RMItpQKMeV/6Dol4tkK 5hoA== X-Gm-Message-State: APjAAAVLXMSOk1ue5gy3gbEE1HTHqWt9/EpaBlCFBQhRPnybGdYHiozI xq/A7vVeCtIbWgtDNZXGNd9OQw== X-Received: by 2002:a19:5045:: with SMTP id z5mr26662060lfj.108.1558043470797; Thu, 16 May 2019 14:51:10 -0700 (PDT) Received: from localhost (h85-30-9-151.cust.a3fiber.se. [85.30.9.151]) by smtp.gmail.com with ESMTPSA id o124sm1174315lfe.92.2019.05.16.14.51.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 May 2019 14:51:09 -0700 (PDT) Date: Thu, 16 May 2019 14:48:19 -0700 From: Olof Johansson To: Tony Lindgren Cc: Stefan Agner , 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: <20190516214819.dopw4eiumt6is46e@localhost> References: <2f3d0fa7ba599f46960ad3e7419477fd@agner.ch> <20190424141217.GC8007@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190424141217.GC8007@atomide.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 24, 2019 at 07:12:17AM -0700, Tony Lindgren wrote: > * 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. Hi, These came in right around when I did the last patches for this merge window. I'll apply them once -rc1 is out for next release. -Olof