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 F15B7C4332F for ; Tue, 22 Nov 2022 21:27:41 +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:Subject:Cc:To:From:Date:References: In-Reply-To:Message-Id:Mime-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BC+K9L0Dd3i9VwEH2Qgsx3DuHgWYWyaBXXv+uShZ+5M=; b=4TvYUa9Caf/KW5 S3PTkOdjDQ1nSqMEuwq6rXY8UBseqzMquNosmvD58QlARGXV7jRTxeaVKRP43jrD/rqY1dkSNY0zI X8N3LHxzw1H2VydTgSpZMi/4SkqmFQAmn7iWXMlxiSXGYQR4ePI5ZpW/pxhF5vUgDrXvLTCZczLZh Q5ZlYzE/O1QWCoOk4v/nuI4BuGfNM+8EertXw+kDoQvPKUq0vFv6cP3mHPK3BBuDQsApTe9aFrvTy xljyVlB2WeRsMnOdVTIzmIKyTEV6E8ts1m5lBeG7ZSeQ9vt7s+fqstLAQsveBG4AsEqrT0lW8T42N y1fUaQQgzQQnHK8xS5qg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxamY-00Bytc-VQ; Tue, 22 Nov 2022 21:26:19 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxamV-00BysK-Eu for linux-arm-kernel@lists.infradead.org; Tue, 22 Nov 2022 21:26:17 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id C9ED25C024A; Tue, 22 Nov 2022 16:26:11 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Tue, 22 Nov 2022 16:26:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1669152371; x=1669238771; bh=Y27o7ls/C/ POGETtDqQFm890m4+vtj7zdLi7EVu9jcc=; b=nXWhpH2axb0EAXOPgeXt1eO8K/ hF+KlM/8k6hkrQVXJnIZzpYEQ1BYExtasiNnFokKrFsWdXogy9044caAdnCSHQtB 0/efOyrgkvURaYXE1tnvloIZzfodFnxhmbf1jtB//V+/fViLhtgtpmMx9Xks+atb aAx3bY7Ns8fNjZr5w5rzgQLY1+X6wIXSqSDOF6XwUTq2InaIZjsUXcaeufz1DkVW kvnsQ67+MMg0Qip9tFcoevcKiqaDFjnhdPmgVmbIwO4k/Zp6fbkWsjROWmGNMrvP eBytA0VfmJ0HufmEQOHeYXiZqn38ci9LZpO+h1Sz3+VmtWcY2QQz679BpHCw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1669152371; x=1669238771; bh=Y27o7ls/C/POGETtDqQFm890m4+v tj7zdLi7EVu9jcc=; b=hfkljb+uUGSlF1DuSLk7BpQPCuKOuyBekbgVZk6EfWnT r8xwv5UOF7lunw8csM7wbXUwCamX1kkzhG21qyZ8ZI69u7CDsUjtNt6005eQSWWU jWrug8WSbKvClTvqgXCBuHm7SusbuCnegoVZ1J9cJT5tRMrV5qsdRdGA6OtNTwsf 1eXnvDxyeY62Bk3XCRrXkNXZNQHf5dC6+oVytkD1S9pvy14u/7Bz61xs8rC9Sm92 yiH9RnjHmxu2WHOLoN7wKgx6P7FP+/IQ37p8DnPyVeYfw/wXwCVHF7YkBEgdUH5v 9Dfe4NBGtrZhd5+QqSAxqa5rVRsRGTwgMjVeCEBtbg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrheelgdduvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 03420B60086; Tue, 22 Nov 2022 16:26:10 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1115-g8b801eadce-fm-20221102.001-g8b801ead Mime-Version: 1.0 Message-Id: <374ae4ef-2f57-4737-95af-b1bdfdb03740@app.fastmail.com> In-Reply-To: <20221121171239.2041835-2-thierry.reding@gmail.com> References: <20221121171239.2041835-1-thierry.reding@gmail.com> <20221121171239.2041835-2-thierry.reding@gmail.com> Date: Tue, 22 Nov 2022 22:25:50 +0100 From: "Arnd Bergmann" To: "Thierry Reding" , arm@kernel.org, soc@kernel.org Cc: "Jon Hunter" , linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [GIT PULL v2 2/7] firmware: tegra: Changes for v6.2-rc1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221122_132615_848211_D1A80BE9 X-CRM114-Status: GOOD ( 10.08 ) 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 Mon, Nov 21, 2022, at 18:12, Thierry Reding wrote: > firmware: tegra: bpmp: Do not support big-endian I pulled the branch, but I think this patch is inconsistent with our normal approach: Since all ARMv7 and ARMv8 processors can run with both big-endian and little-endian kernels, we normally try to keep drivers portable between both ways, even though we don't expect anyone to actually want a big-endian kernel any more. Changing portable code to nonportable code doesn't seem helpful here. On the other hand, there are already examples of important drivers that are fundamentally incompatible with big-endian mode, notably drivers/efi/, which is required on a lot of machines. You don't have to revert this patch, but it would be helpful to mark code that is explicitly unportable with a 'depends on !CPU_BIG_ENDIAN' line in Kconfig. If you agree, I can add that. Do you know of other tegra drivers that only work on little-endian? Arnd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel