Re: [PATCH v2 08/16] hw/ssi/xilinx_spi: Make device endianness configurable

2024-11-08 Thread Philippe Mathieu-Daudé
On 7/11/24 11:01, Richard Henderson wrote: On 11/7/24 01:22, Philippe Mathieu-Daudé wrote: Replace the DEVICE_NATIVE_ENDIAN MemoryRegionOps by a pair of DEVICE_LITTLE_ENDIAN / DEVICE_BIG_ENDIAN. Add the "little-endian" property to select the device endianness, defaulting to little endian. Set th

Re: [PATCH v2 08/16] hw/ssi/xilinx_spi: Make device endianness configurable

2024-11-07 Thread Richard Henderson
On 11/7/24 01:22, Philippe Mathieu-Daudé wrote: Replace the DEVICE_NATIVE_ENDIAN MemoryRegionOps by a pair of DEVICE_LITTLE_ENDIAN / DEVICE_BIG_ENDIAN. Add the "little-endian" property to select the device endianness, defaulting to little endian. Set the proper endianness on the single machine us

[PATCH v2 08/16] hw/ssi/xilinx_spi: Make device endianness configurable

2024-11-06 Thread Philippe Mathieu-Daudé
Replace the DEVICE_NATIVE_ENDIAN MemoryRegionOps by a pair of DEVICE_LITTLE_ENDIAN / DEVICE_BIG_ENDIAN. Add the "little-endian" property to select the device endianness, defaulting to little endian. Set the proper endianness on the single machine using the device. Signed-off-by: Philippe Mathieu-D