From patchwork Wed Nov 6 18:46:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 841070 Delivered-To: patch@linaro.org Received: by 2002:a5d:6307:0:b0:381:e71e:8f7b with SMTP id i7csp685827wru; Wed, 6 Nov 2024 10:47:03 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWDROfG2o6YlfU5xtb0wS8jpkQ6MrchSlw0Lq7yI2xiT6FokORjHjsPaAUXFUs0dsI6GPGWmQ==@linaro.org X-Google-Smtp-Source: AGHT+IHcG+0xBk6pTdezA+XsQ++Nbs3BTaf5mMv2Akp5BQZS7VGb/yk3zcYWJf+yBs8xfZ+mnN1G X-Received: by 2002:a05:620a:44d2:b0:79f:197d:fe6e with SMTP id af79cd13be357-7b193f3cfb6mr5876531185a.45.1730918822890; Wed, 06 Nov 2024 10:47:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1730918822; cv=none; d=google.com; s=arc-20240605; b=HCriB7qGie+ob5ZYp/p591Cw1R+G61cUlkORlLDvLI7S4KR0Jdr1YVxReKqHiYQVCZ FldISkRUWczDtQK62Z2M/afaXOgBfbkdi1U9OCQLXO2YjLZRGmEFqTW9CfT8sqdGmkB4 oZfut4UMIvD9xuPhpLEclah47L2sgmwGY0E/DhrmBakNFm2TCHRH9zPn2x6xbat54LHO 6A0Jr4LZRuZ76QOnKsdXlfs9T+TKaR7RBG1qXVI0N/T/9C5jDkHPJbHXHVqH404Gn/R9 l/PDfVElfxHHAEUbh768AdmOscquZ4LBgSyLjAzSZN5J5LIqCWBHKYg5K8W9whtBboFj zmZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=XmhWRZXxp83O2InQlFonyaildfIoabED880hXmnDZ7g=; fh=jDhTT5t6/SNd3Lmy0g3KlPwh8+DK1Bwi2jXD8rwBeIY=; b=GRJQPqzELA+jzP0C1mZ9ZyzRBEhFwUBzPcBeKUSTs99pGruMvcPOw1xdKLG9wZHrQv YX3Ti4lMVl6zb76SW7GYx3fUGllgX//Tw91+Usz48Urzm8Cy9pxXeMaiuLMojna48o6S sCg3Ko+EhFCotcxHPgrbgWpAL9MF1iDgRtkNaGgiJGqhUz8vVcD+u8jJy1uftgOWBxIo 7uG6ySJ/xgucVRJoMAsubBINY8XgW4GNY29T33x8VXYKKt9A4FMq/+3PM6oKjeF8CTYL /HMCFFRTHVePxUGV1kOhZuoLA5zl8Rfkn1mptSk2+1HF/gg2NhvK0pFSL5/ZDBP6owNF lBFQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j47ycYpW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b2f3ab1431si1658349785a.584.2024.11.06.10.47.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Nov 2024 10:47:02 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j47ycYpW; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8l2r-0008Mh-Ih; Wed, 06 Nov 2024 13:46:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t8l2p-0008MQ-Gm for qemu-devel@nongnu.org; Wed, 06 Nov 2024 13:46:19 -0500 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t8l2n-0000u6-2W for qemu-devel@nongnu.org; Wed, 06 Nov 2024 13:46:18 -0500 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a9ed49ec0f1so13035866b.1 for ; Wed, 06 Nov 2024 10:46:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730918775; x=1731523575; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=XmhWRZXxp83O2InQlFonyaildfIoabED880hXmnDZ7g=; b=j47ycYpWQ3YhFePX+vwCAV89wIhbEs/zkAv8QjGPSxv6Peg2yZe197e6GsV0eUJVwZ BHksVttCG5SzHlxa9PAK67g6lt2Ivwh1fmblLKUhOZZcuxFOoJjaarzYSQ6XQHP6x8NK g4ZX+uLTTcUUP4RzkWV78oL/XHEd31hmaSDBaKpSqlf2MKVF2B2xoq8Pv7+Pk+yw9QGV JVm1s8oBZZuD+XUqEouPuL/pENNxKF3vkI/FsJ5iz9IYJHgwp1jE+ffngBsqw2QxlJNp DnoYWqgol+jIaxIGQjHF+A9X053+34YKNeuCxljUaT3NC8+etbgTiLLbvlyw4Zaq6E8y v+/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730918775; x=1731523575; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=XmhWRZXxp83O2InQlFonyaildfIoabED880hXmnDZ7g=; b=UUpoNSK4PNZa5Nb1GzntTO/6yj9j7Ic72ao/v53BVZWbqDDmX4mhuypL1JtRZLFJZz pkr9Vsr1LyL6wumj43tBQ5jeBMuXUtSLgaiyXtpvFRceOduDLBbapmKaMxo1NDZj2FIq 2PUHTeju5E5UvEOTfKMFCh1hOntBo7WWc+gVNWVD7KiB4Tp7oRuLF2OFZ77vSA/QO+UW zkb39TkYXtHI9fmOCFJBRzJnN2sHEDVp4mB6IMV/5UaEVcISdt+44eoVypstz/TZZ0LZ tBhj87mbHz0YxvYQS1UJAvrwSIM0blnYRv7LRI6UU+DdYD+SCf8y8a0K0cfHAcfS2RBE 7gEA== X-Gm-Message-State: AOJu0YxwRHhnDHmlGQi9bOEKMMKGU7ZBDERna/n7Dyuz3I9xuusont0Q 5iAb66J8M5MdHCYb8ITlr8x0alj8Hhqhj0uxRDm4XDQb/5c9Kg1mC+o/pnU8rqnRElUMExV0PAd j X-Received: by 2002:a17:906:f34a:b0:a9e:c696:8f78 with SMTP id a640c23a62f3a-a9ec6969260mr306265266b.51.1730918775010; Wed, 06 Nov 2024 10:46:15 -0800 (PST) Received: from localhost.localdomain ([154.14.63.34]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9eb16f8c5asm317692666b.90.2024.11.06.10.46.13 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 06 Nov 2024 10:46:14 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Artyom Tarasenko , Stefano Stabellini , Richard Henderson , xen-devel@lists.xenproject.org, Paolo Bonzini , Marcel Apfelbaum , "Edgar E. Iglesias" , Bastian Koppelmann , Anthony PERARD , Eduardo Habkost , Thomas Huth , Jia Liu , Stafford Horne , Paul Durrant , Mark Cave-Ayland , "Michael S. Tsirkin" , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= Subject: [PATCH 0/5] hw: Mark architecture specific devices with specific endianness Date: Wed, 6 Nov 2024 18:46:07 +0000 Message-ID: <20241106184612.71897-1-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=philmd@linaro.org; helo=mail-ej1-x633.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org When a device is only built for an architecture built for a particular endianness, we can simplify the device to not use the "target native endianness" definition and directly use the proper target endianness. Philippe Mathieu-Daudé (5): hw/i386: Mark devices as little-endian hw/tricore: Mark devices as little-endian hw/m68k: Mark devices as big-endian hw/openrisc: Mark devices as big-endian hw/sparc: Mark devices as big-endian hw/i386/kvm/apic.c | 2 +- hw/i386/pc.c | 4 ++-- hw/i386/vapic.c | 2 +- hw/i386/xen/xen_apic.c | 2 +- hw/i386/xen/xen_platform.c | 2 +- hw/m68k/mcf5206.c | 2 +- hw/m68k/mcf5208.c | 6 +++--- hw/m68k/mcf_intc.c | 2 +- hw/m68k/next-kbd.c | 2 +- hw/openrisc/openrisc_sim.c | 2 +- hw/openrisc/virt.c | 2 +- hw/sparc/sun4m_iommu.c | 2 +- hw/sparc64/sun4u.c | 2 +- hw/tricore/tricore_testdevice.c | 2 +- 14 files changed, 17 insertions(+), 17 deletions(-)