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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1C946C25B48 for ; Thu, 26 Oct 2023 15:32:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xF8E56zTekQAAPBJ21nlUMLDYhjnCkM4HAoj1psvYEk=; b=ROq4fwYCcSXY5s UDNsU4niinTv/1Vq8pW/T702B+IABWoFKo7Z7CfcYyPxgkXH7pJHkK/4ivsExzJiE+8KE6wcd2874 6svqVUAcw7Zmm3lJYkuXRN6BPdPVX3AqZqmm2TCxO6ZsKmAOmnIJ0kV+JcNrHke384nR6pjDHh+MJ 0GJEnlSSbtWT29NbvcG4JLtqrXYlWvDR6TQLQJCaAxRDAB2kanlx7/7I8obtQsaEVzPDc4pjyH481 F+TypzJ1AFulzAGhMvHL9jDTV6MQ+HSPKbiANW8vUePdel3ngFD0ctP4+A9vJAClWatfYrAX8RSpy itcqll9T1Wn7I+PgL6Dg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qw2LB-00EoI5-22; Thu, 26 Oct 2023 15:32:09 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qw2L8-00EoHO-1h for linux-arm-kernel@lists.infradead.org; Thu, 26 Oct 2023 15:32:08 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7C9062F4; Thu, 26 Oct 2023 08:32:44 -0700 (PDT) Received: from FVFF77S0Q05N.cambridge.arm.com (FVFF77S0Q05N.cambridge.arm.com [10.1.31.183]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C1B5D3F64C; Thu, 26 Oct 2023 08:32:01 -0700 (PDT) Date: Thu, 26 Oct 2023 16:31:59 +0100 From: Mark Rutland To: Catalin Marinas Cc: Nathan Chancellor , will@kernel.org, ndesaulniers@google.com, trix@redhat.com, linux-arm-kernel@lists.infradead.org, llvm@lists.linux.dev, patches@lists.linux.dev Subject: Re: [PATCH] arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer Message-ID: References: <20231025-disable-arm64-be-ias-b4-llvm-15-v1-1-b25263ed8b23@kernel.org> <20231025183114.GA669177@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231026_083206_611346_ED3BCCAF X-CRM114-Status: GOOD ( 24.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 26, 2023 at 04:28:45PM +0100, Catalin Marinas wrote: > On Wed, Oct 25, 2023 at 11:31:14AM -0700, Nathan Chancellor wrote: > > On Wed, Oct 25, 2023 at 07:01:53PM +0100, Mark Rutland wrote: > > > On Wed, Oct 25, 2023 at 10:21:28AM -0700, Nathan Chancellor wrote: > > > > A recent refactoring in the arm64 tree exposed an assembler bug in LLVM > > > > with regards to the generation of NOPs for arm64 big endian, resulting > > > > in near-immediate crashes on boot in QEMU. > > > > > > Could we please put a bit more detail into the commit message about what > > > exactly went wrong and how this was detected? I know that can be found > > > from the github links below, but having to go chase that is a bit of a > > > pain. > > > > Sure, sorry for leaving that out of the initial revision. > > > > > Would you be happy with the below? I've also added a Cc stable, since > > > this is a potential state corruption issue. > > > > That text looks much better to me, especially since it explains exactly > > what goes wrong here (which I was unsure of, this helps). Thanks a lot! > > > > Will / Catalin, would you like a v2 with that text or could it just be > > copied and pasted from Mark's mail during application time? I am happy > > to do whatever. > > I'll copy/paste Mark's text, no need for v2. Thanks. If you do, could you fix my typo in the first line? I accidentally wrote: LLVM's integrated assemble When that should have been: LLVM's integrated assembler If you're already picked the patch it's not worth worrying about. Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel