From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Subject: Re: [PATCH v8 5/6] hw/char/xilinx_uartlite: Make device endianness configurable
Date: Thu, 13 Feb 2025 09:06:26 -0800 [thread overview]
Message-ID: <eb211153-6dbd-4113-859a-9fe6cb87e7b8@linaro.org> (raw)
In-Reply-To: <20250213122217.62654-6-philmd@linaro.org>
On 2/13/25 04:22, Philippe Mathieu-Daudé wrote:
> Replace the DEVICE_NATIVE_ENDIAN MemoryRegionOps by a pair of
> DEVICE_LITTLE_ENDIAN / DEVICE_BIG_ENDIAN.
>
> Add the "endianness" property to select the device endianness.
> This property is unspecified by default, and machines need to
> make it explicit.
>
> Set the proper endianness for each machine using the device.
>
> Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
> Reviewed-by: Thomas Huth<thuth@redhat.com>
> ---
> hw/char/xilinx_uartlite.c | 34 ++++++++++++++++--------
> hw/microblaze/petalogix_s3adsp1800_mmu.c | 1 +
> hw/riscv/microblaze-v-generic.c | 1 +
> 3 files changed, 25 insertions(+), 11 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
next prev parent reply other threads:[~2025-02-13 17:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-13 12:22 [PATCH v8 0/6] hw/microblaze: Allow running cross-endian vCPUs Philippe Mathieu-Daudé
2025-02-13 12:22 ` [PATCH v8 1/6] hw/qdev-properties-system: Introduce EndianMode QAPI enum Philippe Mathieu-Daudé
2025-02-13 17:05 ` Richard Henderson
2025-02-13 12:22 ` [PATCH v8 2/6] hw/intc/xilinx_intc: Make device endianness configurable Philippe Mathieu-Daudé
2025-02-13 17:01 ` Richard Henderson
2025-02-13 12:22 ` [PATCH v8 3/6] hw/net/xilinx_ethlite: " Philippe Mathieu-Daudé
2025-02-13 17:03 ` Richard Henderson
2025-02-13 12:22 ` [PATCH v8 4/6] hw/timer/xilinx_timer: " Philippe Mathieu-Daudé
2025-02-13 17:04 ` Richard Henderson
2025-02-13 12:22 ` [PATCH v8 5/6] hw/char/xilinx_uartlite: " Philippe Mathieu-Daudé
2025-02-13 17:06 ` Richard Henderson [this message]
2025-02-13 12:22 ` [PATCH v8 6/6] hw/ssi/xilinx_spi: " Philippe Mathieu-Daudé
2025-02-13 17:07 ` Richard Henderson
2025-02-16 21:03 ` [PATCH v8 0/6] hw/microblaze: Allow running cross-endian vCPUs 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=eb211153-6dbd-4113-859a-9fe6cb87e7b8@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).