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 DDDB2C25B67 for ; Thu, 26 Oct 2023 15:33:45 +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=GTS8FZFpCqXPRBufsLitxICrCT4fVfDDVoT9fMUSxis=; b=UX+4lc0SRC67/E rA3prVFS8Hhk0vBFyqblmgBPnPzAfDFTDsZmk6ugT4NNV6+Ows5TwArbiy1DhxG2vEiBDP3ODxQy7 QeY8LPaOx9Skg6vS/M3eXBxA/KJHlzOnrWMtEnCI7irxYiuOFNrqIpkontD20uWocoKvgHwqr35yc HstHdCR7igHTV+2+7rKBN0nrI/WlnzToM23wyFkS3neEuSJpnl/CKRP+llJy/0hIsmkRH8szLvz0O qho/4aU0nOa/q8M87+8IFfCMMS3bckk24FZe19u2WaGPrgqKfXlFzq7UbM6aLu+y3P2lcc3ELoGuE GYKrIViUu/jRFGY3ln1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qw2MP-00EoPh-0H; Thu, 26 Oct 2023 15:33:25 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qw2ML-00EoOo-2A for linux-arm-kernel@lists.infradead.org; Thu, 26 Oct 2023 15:33:23 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 07E6BCE40D3; Thu, 26 Oct 2023 15:33:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BCD21C433C7; Thu, 26 Oct 2023 15:33:17 +0000 (UTC) Date: Thu, 26 Oct 2023 16:33:15 +0100 From: Catalin Marinas To: Mark Rutland 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_083321_875018_3C8AA5BF X-CRM114-Status: GOOD ( 27.29 ) 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:31:59PM +0100, Mark Rutland wrote: > 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. I can still fix it, hasn't pushed it out yet. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel