Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3208200pxb; Wed, 13 Oct 2021 00:57:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPsvgG3Jzb2Vu2bwuTN+idxacteaFKm4BFvrXsU+uD+Wwj5dkC0KAjz7V8jdwcn4Gl3tC1 X-Received: by 2002:a05:6402:1d15:: with SMTP id dg21mr7599548edb.96.1634111857315; Wed, 13 Oct 2021 00:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634111857; cv=none; d=google.com; s=arc-20160816; b=n3cXJnNT1r0pqi+olNkpWm7bu1kGkAe28SKOYUrl2NnnGJL1ULW9N1nfSj0l5qZ3kV /NF7FRxYeiTRl6YKwZYxP4pCKB2Qp2rXTsp08lbQvqOm9WBF5+u5Dy2uun2/zIprIzkO +/fpsXtKcPTBumECHWVCi0uy8WKcz3+5QNnafs05OxZPjyYR6GuKKZWyPZeu3dfsQZlD NldBz8T0nlNT1/l0RxT0vz0HBtHaQBN3+FsXobV6Au5lWSrMk3Rrf5w/xumy3T8PSFZ5 1SH+PUkrdcJT/D3G+qc2Uk6CL0sq227eEx2LlmfrTi73B1bjy7MA7+fTA0Ou9FA5s0RG Myjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=Ye16bA7DAicpGZVTTWS0uEqwsQfShZwIdVqNqnycoXk=; b=ObzJvAbp8OrqpSO3NWWrmFMm4+4hnyIGQf2X11fqO1bPFWXxrmMEFMRW+nVApZA7vX cRP18jMtTt/owJMWe+w5ADyGgI9fFbEiy1BMkv29GYjiGAQbVlyRdAtGb7vyb4UUWBOA VUQvacUORk6+X97KLrvMb5i67/jyiv3QHAga0PJfiLjy3rUn1srL7g/gL+xVghnUUbZU YM+hKeE6o0UgZFdOiM98WVUHxvR+8XaSEUZxlgO+WPCNpQh+HrPWamqW0AzNvicB0CjH vcx3665osdi/wx1+wdMCDAFK+sNSVF9TDt0MPMDAI386ertiUesxVDhm5qVH319NrO4p MDPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q19si21270453edv.394.2021.10.13.00.57.14; Wed, 13 Oct 2021 00:57:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238692AbhJMH5f (ORCPT + 99 others); Wed, 13 Oct 2021 03:57:35 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:42945 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238722AbhJMH5f (ORCPT ); Wed, 13 Oct 2021 03:57:35 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]) by mrelayeu.kundenserver.de (mreue009 [213.165.67.97]) with ESMTPSA (Nemesis) id 1N63NQ-1mpv7j0IB6-016Pg7 for ; Wed, 13 Oct 2021 09:55:31 +0200 Received: by mail-wr1-f47.google.com with SMTP id y3so5307652wrl.1 for ; Wed, 13 Oct 2021 00:55:31 -0700 (PDT) X-Gm-Message-State: AOAM531XBqxaCqlQ8Gr2WWaJyPDCtNWMWkdtRaoLvgUSRyM8+3nxZKzo HxkZhQZb2uEZeT5+GTUZp4QSEVh6/KCEd+OrsGs= X-Received: by 2002:a1c:2358:: with SMTP id j85mr11030180wmj.1.1634111730691; Wed, 13 Oct 2021 00:55:30 -0700 (PDT) MIME-Version: 1.0 References: <20211012234606.91717-1-ndesaulniers@google.com> <20211012234606.91717-2-ndesaulniers@google.com> In-Reply-To: <20211012234606.91717-2-ndesaulniers@google.com> From: Arnd Bergmann Date: Wed, 13 Oct 2021 09:55:14 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/3] arm64: vdso32: drop the test for dmb ishld To: Nick Desaulniers Cc: Catalin Marinas , Will Deacon , llvm@lists.linux.dev, Linux Kernel Mailing List , Linux ARM , Vincenzo Frascino , Christian Biesinger , Simon Marchi Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:npAKHHmy7bOHdeDloam/+UPWm73dwd3it0I4/b1SHn/eOt0goGq mDx6C6x5Woseo6ocOE830/63W1Ew4LKawT0R/bZ4CJJ/Wu66TxqHlOZl3XxGQALJA2FY3+i INI5iHZw627IDCRCXbs56GHPQiWyASoQD0txQ80qZ60xYT3BQJOMPdpsasinhHl6Roftsxl MfUEru/tBQ4lmnjtQwAzw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:3gMqScMmDwI=:ORNUdJU1H3UEuFK2BmB0Ht DTUvcZEfD5IRNkr45JzFwuPqAShvgDN3Nt9Mo/H6hE5ruOvAGPe7DxEENvAIo1b/t67XtH3iN gUocGAWQ+us6Bg9mpftI8Tc1cIeuSTY9RE0GV+Aa6oa3mlL03uXg8pEEz8BOkSOF6bgdQYi0o 8fm/yzaMOHGp3PGdUhKgotbWPhI6QL23rAzG1oKcYZQ5PyZQjbflGm8GB3iYprxUhAF3RCN/O jfEy7VSOAoC5EYiw7BzcX81LmhSIa7veZYHnwPfqiFeMCH8Q6VFvX2w3o7dqY4IQgfgtdKBdZ NxcnMPww2tkWRUebeO6DfVXp4WFuep2zJKM9RQlJXpRfYDfw9vQL0ZxaQ+es81fVmwp9R8mMO gENN95IcvCgSFpnd2Apgi8WxKYVFd0j8tbElMtJC7/rI3VjjlhSfe1QNHITyPtlxWq4WdzeGH WJRIFDN8ez/Bdid5waZQqdV3OVJJvN4yALIZQJQ4T8X9Yl4iAniudcYBgZ2Sr37YaBaXSqfb0 Rq8jzkkaq2uOXfOEHmXcOT7iUVF5A3FGMejml8Sn8F9QvNjaeRhRMTuSQANxcypm2qZyDxcvx tkMKxi9RVwnCFTZbFJ4r2GI79UJQaLm2LzK5qxZS9RttaINf/C49nKyqPxgS1Iw+o+dXDeEO4 NzDqlseC1PhoVGSYyZsQuEt6+2R48ILbxscrOyyiecGUn/SLAsv+pt8sYv1ksUubdE6/qnE/p rKFVCUytvcieW69dUp2Pzarr7nA9y02oYLv05UaC8PYLN1BCMJhLiNmIlTFOf6hs56vBLijQz Pvdvzz3JkVrS9eVZ8yIdyrsBVV0QbtJUFHudyqU4UNE/ZYBHUhu9UGcTVMppkRtGkGtxKdwoW GPXOSIsiGdUo4LmdrDFQ== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 13, 2021 at 1:46 AM Nick Desaulniers wrote: > > Binutils added support for this instruction in commit > e797f7e0b2bedc9328d4a9a0ebc63ca7a2dbbebc which shipped in 2.34 (just > missing the 2.33 release) but was cherry-picked into 2.33 in commit > 27a50d6755bae906bc73b4ec1a8b448467f0bea1. Thanks to Christian and Simon > for helping me with the patch archaeology. > > According to Documentation/process/changes.rst, the minimum supported > version of binutils is 2.33. Since all supported versions of GAS support > this instruction, drop the assembler invocation, preprocessor > flags/guards, and the cross assembler macro that's now unused. > > This also avoids a recursive self reference in a follow up cleanup > patch. > > Cc: Christian Biesinger > Cc: Simon Marchi > Signed-off-by: Nick Desaulniers This change looks good, but I think we should do the same for the gcc version check: > -#if __LINUX_ARM_ARCH__ >= 8 && defined(CONFIG_AS_DMB_ISHLD) > +#if __LINUX_ARM_ARCH__ >= 8 > #define aarch32_smp_mb() dmb(ish) > #define aarch32_smp_rmb() dmb(ishld) > #define aarch32_smp_wmb() dmb(ishst) gcc-4.8 already supported -march=armv8, and we require gcc-5.1 now, so both this #if/#else construct and the corresponding "cc32-option,-march=armv8-a" check should be obsolete now. Arnd