[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3ads
From: |
Max Filippov |
Subject: |
Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines |
Date: |
Thu, 6 Feb 2025 09:34:15 -0800 |
On Thu, Feb 6, 2025 at 7:04 AM Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
> On 6/2/25 15:31, Daniel P. Berrangé wrote:
> > We would pick an arbitrary endianness of our choosing
> > I guess. How does this work in physical machines ? Is
> > the choice of endianess a firmware setting, or a choice
> > by the vendor when manufacturing in some way ?
>
> Like MIPS*, SH4* and Xtensa*, it is a jumper on the board
> (wired to a CPU pin which is sampled once at cold reset).
This is not exactly the case for xtensa. Each xtensa CPU is either
big- or little-endian and it's a static property of the CPU
configuration. On physical machines it's either fixed (e.g. if
the CPU is a part of an ASIC), or it's a part of a bitstream that
gets loaded into an FPGA and there may be a selector for one
of the bitstreams in the onboard FLASH. In either case there's
normally no board-level switch for the CPU endianness.
Also big- and little-endian instruction encodings are different on
otherwise identical xtensa CPUs.
--
Thanks.
-- Max
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines, (continued)
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines, Daniel P . Berrangé, 2025/02/06
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines, Philippe Mathieu-Daudé, 2025/02/06
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines, Thomas Huth, 2025/02/06
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines, Daniel P . Berrangé, 2025/02/06
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines, Philippe Mathieu-Daudé, 2025/02/06
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines, Daniel P . Berrangé, 2025/02/06
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines, Philippe Mathieu-Daudé, 2025/02/06
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines, Daniel P . Berrangé, 2025/02/06
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines, Philippe Mathieu-Daudé, 2025/02/06
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines, Philippe Mathieu-Daudé, 2025/02/06
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines,
Max Filippov <=
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines, Philippe Mathieu-Daudé, 2025/02/06
- Re: [PATCH v5 11/16] hw/microblaze: Support various endianness for s3adsp1800 machines, Philippe Mathieu-Daudé, 2025/02/11
[PATCH v5 12/16] tests/functional: Explicit endianness of microblaze assets, Philippe Mathieu-Daudé, 2025/02/06
[PATCH v5 13/16] tests/functional: Allow microblaze tests to take a machine name argument, Philippe Mathieu-Daudé, 2025/02/06
[PATCH v5 14/16] tests/functional: Remove sleep() kludges from microblaze tests, Philippe Mathieu-Daudé, 2025/02/06
[PATCH v5 15/16] tests/functional: Have microblaze tests inherit common parent class, Philippe Mathieu-Daudé, 2025/02/06
[PATCH v5 16/16] tests/functional: Run cross-endian microblaze tests, Philippe Mathieu-Daudé, 2025/02/06
Re: [PATCH v5 00/16] hw/microblaze: Allow running cross-endian vCPUs, Philippe Mathieu-Daudé, 2025/02/10