From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 817E927F749; Wed, 1 Oct 2025 16:37:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759336627; cv=none; b=JNZA5LDER2muScGdIHqpatJJ7llqmlplpmdcZxa17KeBwb8wRGm/y/i7v6wgaeQJXbpoyPzvRR39LsM14ZOphWnja7BTMEApU14XbCk2i/en+BrGIM4Dlb2gUaXW3Ldme1PJ1S9a/rhAFLNPVHYpEtjBEasKfMt8aIXIPC8DRU0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759336627; c=relaxed/simple; bh=Z2NyxMKwcPeMXXKKAv2xDnR4oJ5LczuNNOFthCmdrr0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GnPoc+ZHdVQFLGw+uuzWvO5dIkIkSasT1rrn2YdUUkY/pNhY0uwuJ06hG7zbGPmxjTWwv/Wfcm8BVUJLTYoC6WNmOIEbntRKxdx30Kt8OgU9kZ7gw5EDIBo/s9LBLUArpZiVROmo1+JCU+x0zS5/LK+4BwzTFhc8FZfoajWMkpQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pdEs2skq; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pdEs2skq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9119C4CEF1; Wed, 1 Oct 2025 16:36:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1759336627; bh=Z2NyxMKwcPeMXXKKAv2xDnR4oJ5LczuNNOFthCmdrr0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pdEs2skqGh70Zo1YI7DOoy0aHJ4HyFogdGtdCIGleVtLKrtCn2RVAk0weWaPfpVaR QsjhbNwWzsEPIy3c6ubYWjwAvf+W12ZWE0sj4KXEuAj/6x+hItzGtqAzrsg6HH9uh1 tpwtJLVaLW9Gf3jMWeI1mgiOvjvntUQIlshpktbKoefzm2aDnjPWnR+1t/36brucD+ kJlZ7n6esgshltyonSUnbDHGsLosx1fPpraYDnKjRb8+thXVO+HWaKoFbcOCUjKHt/ KvDNqiz28a8Etu79fFmX+l8kL9EE39VtJvMA8AJXVBNg4dqMumlorzFCtiRqAirXW5 OlOUSv2m92lnA== Date: Wed, 1 Oct 2025 09:36:55 -0700 From: Nathan Chancellor To: Jason Gunthorpe Cc: Paolo Abeni , Tariq Toukan , Saeed Mahameed , Leon Romanovsky , Mark Bloch , netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Gal Pressman , Leon Romanovsky , Michael Guralnik , Moshe Shemesh , Will Deacon , Alexander Gordeev , Andrew Morton , Christian Borntraeger , Borislav Petkov , Dave Hansen , Gerald Schaefer , Vasily Gorbik , Heiko Carstens , "H. Peter Anvin" , Justin Stitt , linux-s390@vger.kernel.org, llvm@lists.linux.dev, Ingo Molnar , Bill Wendling , Nick Desaulniers , Salil Mehta , Sven Schnelle , Thomas Gleixner , x86@kernel.org, Yisen Zhuang , Arnd Bergmann , Leon Romanovsky , linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mark Rutland , Michael Guralnik , patches@lists.linux.dev, Niklas Schnelle , Jijie Shao , Simon Horman , Patrisious Haddad , Andrew Lunn , Eric Dumazet , Catalin Marinas , Jakub Kicinski , "David S. Miller" Subject: Re: [PATCH net-next V6] net/mlx5: Improve write-combining test reliability for ARM64 Grace CPUs Message-ID: <20251001163655.GA370262@ax162> References: <1759093688-841357-1-git-send-email-tariqt@nvidia.com> <651ee9fe-706e-4471-a71b-e7a12b42cc3e@redhat.com> <20251001145514.GC3024065@nvidia.com> Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251001145514.GC3024065@nvidia.com> On Wed, Oct 01, 2025 at 11:55:14AM -0300, Jason Gunthorpe wrote: > On Wed, Oct 01, 2025 at 11:28:09AM +0200, Paolo Abeni wrote: > > > > +static void mlx5_iowrite64_copy(struct mlx5_wc_sq *sq, __be32 mmio_wqe[16], > > > + size_t mmio_wqe_size, unsigned int offset) > > > +{ > > > +#if IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && IS_ENABLED(CONFIG_ARM64) > > > + if (cpu_has_neon()) { > > > + kernel_neon_begin(); > > > + asm volatile > > > + (".arch_extension simd;\n\t" > > > > Here I'm observing build errors with aarch64-linux-gnu-gcc 12.1.1 > > 20220507 (Red Hat Cross 12.1.1-1): > > > /tmp/cchqHdeI.s: Assembler messages: > > /tmp/cchqHdeI.s:746: Error: unknown architectural extension `simd;' > > This is a binutils error not gcc.. What is the binutils version? I can reproduce this with at least binutils 2.36.1, which is in the kernel.org GCC 8.5.0 toolchain. Removing the semicolon resolves the issue for me and matches the format of .arch_extension in the rest of the kernel. I am guessing binutils became less strict with parsing at some point. Cheers, Nathan