Re: [PULL 04/32] hw/timer/xilinx_timer: Make device endianness configurable

2025-02-12 Thread Philippe Mathieu-Daudé
On 12/2/25 11:24, Thomas Huth wrote: On 12/02/2025 10.19, Philippe Mathieu-Daudé wrote: On 12/2/25 09:27, Thomas Huth wrote: On 10/02/2025 21.41, Philippe Mathieu-Daudé wrote: Replace the DEVICE_NATIVE_ENDIAN MemoryRegionOps by a pair of DEVICE_LITTLE_ENDIAN / DEVICE_BIG_ENDIAN. Add the "littl

Re: [PULL 04/32] hw/timer/xilinx_timer: Make device endianness configurable

2025-02-12 Thread Thomas Huth
On 12/02/2025 10.19, Philippe Mathieu-Daudé wrote: On 12/2/25 09:27, Thomas Huth wrote: On 10/02/2025 21.41, 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 devic

Re: [PULL 04/32] hw/timer/xilinx_timer: Make device endianness configurable

2025-02-12 Thread Philippe Mathieu-Daudé
On 12/2/25 10:34, Philippe Mathieu-Daudé wrote: On 12/2/25 10:19, Philippe Mathieu-Daudé wrote: On 12/2/25 09:27, Thomas Huth wrote: On 10/02/2025 21.41, Philippe Mathieu-Daudé wrote: Replace the DEVICE_NATIVE_ENDIAN MemoryRegionOps by a pair of DEVICE_LITTLE_ENDIAN / DEVICE_BIG_ENDIAN. Add th

Re: [PULL 04/32] hw/timer/xilinx_timer: Make device endianness configurable

2025-02-12 Thread Philippe Mathieu-Daudé
On 12/2/25 10:19, Philippe Mathieu-Daudé wrote: On 12/2/25 09:27, Thomas Huth wrote: On 10/02/2025 21.41, 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 e

Re: [PULL 04/32] hw/timer/xilinx_timer: Make device endianness configurable

2025-02-12 Thread Philippe Mathieu-Daudé
On 12/2/25 09:27, Thomas Huth wrote: On 10/02/2025 21.41, 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 p

Re: [PULL 04/32] hw/timer/xilinx_timer: Make device endianness configurable

2025-02-12 Thread Thomas Huth
On 10/02/2025 21.41, 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 for each machine usin

[PULL 04/32] hw/timer/xilinx_timer: Make device endianness configurable

2025-02-10 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 for each machine using the device. Reviewed-by: Richard Henderson Signed