From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Subject: Re: [PATCH 1/5] hw/arm: Mark Allwinner Technology devices as little-endian
Date: Wed, 12 Feb 2025 09:47:50 -0800 [thread overview]
Message-ID: <7be4a73c-6fc4-4f60-8b29-4cbc9026557b@linaro.org> (raw)
In-Reply-To: <20250212113938.38692-2-philmd@linaro.org>
On 2/12/25 03:39, Philippe Mathieu-Daudé wrote:
> These devices are only used by the ARM targets, which are
> only built as little-endian. Therefore the DEVICE_NATIVE_ENDIAN
> definition expand to DEVICE_LITTLE_ENDIAN (besides, the
> DEVICE_BIG_ENDIAN case isn't tested). Simplify directly using
> DEVICE_LITTLE_ENDIAN.
>
> Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
> ---
> hw/arm/allwinner-a10.c | 2 +-
> hw/arm/allwinner-h3.c | 8 ++++----
> hw/arm/allwinner-r40.c | 2 +-
> hw/i2c/allwinner-i2c.c | 2 +-
> hw/intc/allwinner-a10-pic.c | 2 +-
> hw/misc/allwinner-a10-ccm.c | 2 +-
> hw/misc/allwinner-a10-dramc.c | 2 +-
> hw/misc/allwinner-cpucfg.c | 2 +-
> hw/misc/allwinner-h3-ccu.c | 2 +-
> hw/misc/allwinner-h3-dramc.c | 6 +++---
> hw/misc/allwinner-h3-sysctrl.c | 2 +-
> hw/misc/allwinner-r40-ccu.c | 2 +-
> hw/misc/allwinner-r40-dramc.c | 10 +++++-----
> hw/misc/allwinner-sid.c | 2 +-
> hw/misc/allwinner-sramc.c | 2 +-
> hw/net/allwinner-sun8i-emac.c | 2 +-
> hw/net/allwinner_emac.c | 2 +-
> hw/rtc/allwinner-rtc.c | 2 +-
> hw/sd/allwinner-sdhost.c | 2 +-
> hw/ssi/allwinner-a10-spi.c | 2 +-
> hw/timer/allwinner-a10-pit.c | 2 +-
> hw/watchdog/allwinner-wdt.c | 2 +-
> 22 files changed, 31 insertions(+), 31 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
next prev parent reply other threads:[~2025-02-12 17:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-12 11:39 [PATCH 0/5] hw: More DEVICE_ [NATIVE -> LITTLE] _ENDIAN conversions Philippe Mathieu-Daudé
2025-02-12 11:39 ` [PATCH 1/5] hw/arm: Mark Allwinner Technology devices as little-endian Philippe Mathieu-Daudé
2025-02-12 17:47 ` Richard Henderson [this message]
2025-02-12 11:39 ` [PATCH 2/5] hw/mips: Mark Boston machine " Philippe Mathieu-Daudé
2025-02-12 17:51 ` Richard Henderson
2025-02-12 11:39 ` [PATCH 3/5] hw/mips: Mark Loonson3 Virt " Philippe Mathieu-Daudé
2025-02-12 17:51 ` Richard Henderson
2025-02-12 11:39 ` [PATCH 4/5] hw/pci-host: Mark versatile regions " Philippe Mathieu-Daudé
2025-02-12 17:53 ` Richard Henderson
2025-02-12 11:39 ` [PATCH 5/5] target/i386: Mark WHPX APIC region " Philippe Mathieu-Daudé
2025-02-12 17:54 ` Richard Henderson
2025-02-16 21:03 ` [PATCH 0/5] hw: More DEVICE_ [NATIVE -> LITTLE] _ENDIAN conversions Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7be4a73c-6fc4-4f60-8b29-4cbc9026557b@linaro.org \
--to=richard.henderson@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).