From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 837164519A2 for ; Tue, 18 Aug 2026 10:33:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787049238; cv=none; b=hXs0ueb6GZjoFnXI1gosGbI4RJzF1I3GCRWpCpQc2vDtUeTmospG4vDkzCVoANMPPJfxAkXtr6AHxEIiwXyBAbHZeWh4c+HITH0u6SGK0RKKE3LDqti/wtyNNuyQ4wEQBq6xg+QN79MwI274esYv6XroUhnWxl/Wz3jyyiMWlSI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787049238; c=relaxed/simple; bh=xTrgu/6Sz8o0Z1d+NrwhoDQord/4pIMZ7PBpA9myIA0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Jb3h5Qa0zyCKsgHuE5C8jlcNOW5WQ/tVVFMRUMTsIqbMckhU2KIWhYmM5UXdfLo30KsxCStVg0ytuMpUgrEkaFDSNW1XpQIkVo15SFRlmk8KePi1U3BxjFyxnfxTZ59ZXTV20ic1fz7bllm3fx2GBNg2Ky6mYNMhm/17Yaq9m6k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=XRrBCzA1; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="XRrBCzA1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E82101F000E9; Tue, 18 Aug 2026 10:33:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1787049237; bh=sZM15aJl/IiF+ko6tAqrikn0vE3IWALTGs5YFH4xitE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=XRrBCzA1/25V6ScR6VDocxj61aZ0LB13yx9J5vVmkRZNCoyAknKZwvurJG05lqxYN pryFy4Ljaf3tLH/Rh9F+Slko2hSg6UjUjxinWJhmnzG4tscOFmsYaqLtbLfgtgNPNO 2VBstL9ueAMHnHitbRxMkoA4GNBgQWVHfpfDRFhzKiDeMnfSypmhDwcItD8I4Wbb7J W2RYH2JwzXjluGgsZvqaMfebcrC59l9swSpeTLb5Fsxhe3KWa4ojJDD5a6i8frITwG 44W80b7Q9OSLgLUvPbw8H+wI/80TfYP4+4ja8Etd0uvWO2Vct6AJ9GrfpGz1KK3wUn 8aEp2bY5z9PqQ== Date: Tue, 18 Aug 2026 11:33:51 +0100 From: Will Deacon To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ard Biesheuvel , Eric Biggers , Daniel Borkmann , Catalin Marinas , Alexei Starovoitov , Oliver Upton , Herbert Xu , Marc Zyngier , Linus Walleij Subject: Re: [PATCH 00/12] arm64: Remove unused big-endian support Message-ID: References: <20260811140132.22778-1-will@kernel.org> <6632712f-7782-4580-84c0-62124a016f46@app.fastmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Sun, Aug 16, 2026 at 12:15:44PM +0200, Arnd Bergmann wrote: > On Sun, Aug 16, 2026, at 11:47, Will Deacon wrote: > > On Tue, Aug 11, 2026 at 05:11:47PM +0200, Arnd Bergmann wrote: > >> On Tue, Aug 11, 2026, at 16:01, Will Deacon wrote: > >> > >> My suggestions there was to possibly remove arm32 big-endian mode at > >> the same time as on arm64, but that does feel a little rushed if > >> ixp4xx only has one release of supporting both, and removing be8 > >> but leaving be32 for a little while longer is probably not worth it. > > > > Yeah, maybe give it another LTS on the arm32 side? I think arm64 going > > first is ok, though. > > Right, one more LTS for 32-bit is probably good. We'll see how the > OpenWRT/ixp4xx conversion goes for users. > > My feeling so far is that running ixp4xx in LE mode is probably fine > (there may still be driver bugs), but flashing a running system > from one mode to the other is a bit risky and BE32 mode makes this > more confusing the BE8. > > >> > I've broken this down into fairly coarse chunks, as it seemed a lot > >> > easier to manage than one giant patch (even with the Kconfig being > >> > effectively disabled already) and not all of it is just mindless > >> > deletion. Despite that, I'm anticipating the whole thing going via the > >> > arm64 tree. > >> > >> I would have done even larger patches, this does already feel fairly > >> fine-grained to me ;-). I had a look at the individual patches to make > >> sure this all makes sense, and I found nothing wrong here. > > > > If it was just a sed script or similar, I think I'd would've done a giant > > patch, but some of it is surprisingly error-prone (e.g. when you have a > > file with a load of '#ifdef CPU_BIG_ENDIAN' and then an '#ifndef > > CPU_BIG_ENDIAN' hiding in the middle of it all). > > Yes, definitely, I've found out the hard way during other feature > removal before. > > scripts/unifdef.c should be able to help with this, but I never > remember that this is a thing. I didn't even know about that! I'll see if it spots anything I missed... Will