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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 030A1C433E6 for ; Fri, 28 Aug 2020 10:42:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DA9F120B80 for ; Fri, 28 Aug 2020 10:42:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729088AbgH1KmI (ORCPT ); Fri, 28 Aug 2020 06:42:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:60042 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728218AbgH1KmC (ORCPT ); Fri, 28 Aug 2020 06:42:02 -0400 Received: from localhost.localdomain (unknown [46.69.195.127]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 300B220B80; Fri, 28 Aug 2020 10:42:00 +0000 (UTC) From: Catalin Marinas To: Sami Tolvanen , Will Deacon , Zhenyu Ye Cc: Marc Zyngier , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nick Desaulniers , clang-built-linux@googlegroups.com, Mark Rutland , Nathan Chancellor , Kees Cook Subject: Re: [PATCH v2] arm64: use a common .arch preamble for inline assembly Date: Fri, 28 Aug 2020 11:41:58 +0100 Message-Id: <159861130822.26090.515756118612731592.b4-ty@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200827203608.1225689-1-samitolvanen@google.com> References: <20200805181920.4013059-1-samitolvanen@google.com> <20200827203608.1225689-1-samitolvanen@google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 Aug 2020 13:36:08 -0700, Sami Tolvanen wrote: > Commit 7c78f67e9bd9 ("arm64: enable tlbi range instructions") breaks > LLVM's integrated assembler, because -Wa,-march is only passed to > external assemblers and therefore, the new instructions are not enabled > when IAS is used. > > This change adds a common architecture version preamble, which can be > used in inline assembly blocks that contain instructions that require > a newer architecture version, and uses it to fix __TLBI_0 and __TLBI_1 > with ARM64_TLB_RANGE. Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: use a common .arch preamble for inline assembly https://git.kernel.org/arm64/c/1764c3edc668 -- Catalin