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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 0A8EFC433FE for ; Wed, 12 Oct 2022 07:46:11 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4MnPpn3nNxz3cMq for ; Wed, 12 Oct 2022 18:46:09 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=arndb.de header.i=@arndb.de header.a=rsa-sha256 header.s=fm2 header.b=ESKrS8/c; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=Jcr3VMp5; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=arndb.de (client-ip=64.147.123.19; helo=wout3-smtp.messagingengine.com; envelope-from=arnd@arndb.de; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=arndb.de header.i=@arndb.de header.a=rsa-sha256 header.s=fm2 header.b=ESKrS8/c; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.a=rsa-sha256 header.s=fm3 header.b=Jcr3VMp5; dkim-atps=neutral Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4MnPnf1nx6z2ypV for ; Wed, 12 Oct 2022 18:45:09 +1100 (AEDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 808A43200936; Wed, 12 Oct 2022 03:45:01 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute3.internal (MEProxy); Wed, 12 Oct 2022 03:45:02 -0400 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=fm2; t=1665560701; x=1665647101; bh=7YAQuizW1H 09X/Vy78bUOvfH4cmFBBJBnKdNJKbi+rc=; b=ESKrS8/ccbuz9mwVUC+zMk4GNA 22fuf8RHLpCplxs5b1w2q36jCntK/WWIwxEBnjHEPHyFvyFGMAilbX/hGJ/qpimU /y+fh0scVKseSeC2jsdK9V76JumFLhbezVqaZGXsDbVzRqdVOsI7Q+iQSaFCJBX2 AykWBgg6mT3MDF8K22vDnprgDyaDaPJDJwBLg/KYELA/uD2K0USXuPqefwctsaww sXoPtVs7pMJay71/ylHFhhax7byXOlgHDs+Kur40A87uNzt+blm3va+BB7UCun/k tLhTrIkv+w2ij4uoq5LXyYYve4jK3tkJznODx1qJvAraT88atGsy4cDTwXBg== 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= fm3; t=1665560701; x=1665647101; bh=7YAQuizW1H09X/Vy78bUOvfH4cmF BBJBnKdNJKbi+rc=; b=Jcr3VMp5JzsrkN+epBnjEVUHCDdAKKUgH225CYICaXEA 6zIuzpIqfv2gzFn9th41YShF4vXBD7EmcMa7uyXj8DbwzOTqaLSC3yiR7WZ8NUS8 CiERUU+ZaFAjDjGDFDAMWu8kFldBI0uvh053YqX640v/xHW9C90KSGW8GHZbCva3 yHtzW7LqpwYt7JpFdBAspa4ZwkRoqRfXsKt2kWH3Fe3+LXYfYiTIQgRKx9Abb7k9 OQJdqmouFmm6l4Bp5+G+JoEs8xhE8ho9uub85O6yyRZ2zhifm3f1Jwt8ZyZvbPas 74e3bEoVjjNrIA+ssLw/JQuvJikmVrKmoJ8v6YO9kg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeejjedguddvgecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedt keetffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 90177B60086; Wed, 12 Oct 2022 03:45:00 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1047-g9e4af4ada4-fm-20221005.001-g9e4af4ad Mime-Version: 1.0 Message-Id: In-Reply-To: <866c7033-0d4e-7b5d-008c-8eb16f99498b@suse.de> References: <20220928105010.18880-1-tzimmermann@suse.de> <20220928105010.18880-6-tzimmermann@suse.de> <23333ff7-3ae1-494f-7abe-62da6698fd00@redhat.com> <83071743-a7f2-f761-baa3-da688f26b5e3@suse.de> <9162f41f-28c3-493c-ab54-b1c4a2fdf494@app.fastmail.com> <654e3cfe-80d7-46c9-8e5e-461846e4df35@app.fastmail.com> <866c7033-0d4e-7b5d-008c-8eb16f99498b@suse.de> Date: Wed, 12 Oct 2022 09:44:39 +0200 From: "Arnd Bergmann" To: "Thomas Zimmermann" , "Javier Martinez Canillas" , "David Airlie" , "Daniel Vetter" , "Helge Deller" , maxime@cerno.tech, sam@ravnborg.org, "Michal Suchanek" , "Michael Ellerman" , benh@kernel.crashing.org, "Paul Mackerras" , "Geert Uytterhoeven" , mark.cave-ayland@ilande.co.uk Subject: Re: [PATCH v4 5/5] drm/ofdrm: Support big-endian scanout buffers Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fbdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, dri-devel@lists.freedesktop.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Wed, Oct 12, 2022, at 9:40 AM, Thomas Zimmermann wrote: > Am 12.10.22 um 09:17 schrieb Arnd Bergmann: >> On Wed, Oct 12, 2022, at 8:46 AM, Thomas Zimmermann wrote: > >> Does qemu mark the device has having a particular endianess then, or >> does it switch the layout of the framebuffer to match what the CPU >> does? > > The latter. On neither architecture does qemu expose this flag. The > default endianess corresponds to the host. "host" as in the machine that qemu runs on, or the machine that is being emulated? I suppose it would be broken either way, but in the latter case, we could get away with detecting that the machine is running under qemu. Arnd