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 281A0C25B48 for ; Thu, 26 Oct 2023 15:29:21 +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=896myzOJuCCCs2iTTVvM5OL1steKtPEGPSA97SZdJEM=; b=szdzBGOpTYDyyu bsjbdXUUMA/bkW2nKANpIhcGwAEzbeb4bHiD7qfiIUeWtmJmgi2sE0s/fLadw0B9FN7YH0TvQu1wZ ex9ivF7Wf7X2g5yEbHGiwWo14KuwZ7n8BK6arzkks11xkm7zFX3ftaOP6QRbm6TqJVrBMqGbrMJEA ZJlh0KfeIZUBd1ivUW4u19qIlzS0mLVKu0+hWBGSgq0eQ5uN6dvxo1SFdPWHI4zFT02EKWmMyWBmC +TEZV7AcKHdHmMoOWry2dAdKK84wOvw5lpkPpJ/6NKPqVYoYbUF2tYHvNDtHw47FcTCBqgBHVtLLi Xmidndeop464LvxhmVxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qw2I3-00Enyo-0o; Thu, 26 Oct 2023 15:28:55 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qw2I0-00Eny1-0M for linux-arm-kernel@lists.infradead.org; Thu, 26 Oct 2023 15:28:53 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 50C79B8077C; Thu, 26 Oct 2023 15:28:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44278C433C8; Thu, 26 Oct 2023 15:28:48 +0000 (UTC) Date: Thu, 26 Oct 2023 16:28:45 +0100 From: Catalin Marinas To: Nathan Chancellor Cc: Mark Rutland , 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: <20231025183114.GA669177@dev-arch.thelio-3990X> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231026_082852_290659_E55A70E7 X-CRM114-Status: GOOD ( 21.30 ) 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 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. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel