Re: [PATCH for-8.1] hw/arm/smmu: Handle big-endian hosts correctly

2023-07-17 Thread Eric Auger
Hi Peter, On 7/17/23 15:26, Peter Maydell wrote: > The implementation of the SMMUv3 has multiple places where it reads a > data structure from the guest and directly operates on it without > doing a guest-to-host endianness conversion. Since all SMMU data > structures are little-endian, this mean

Re: [PATCH for-8.1] hw/arm/smmu: Handle big-endian hosts correctly

2023-07-17 Thread Philippe Mathieu-Daudé
On 17/7/23 15:26, Peter Maydell wrote: The implementation of the SMMUv3 has multiple places where it reads a data structure from the guest and directly operates on it without doing a guest-to-host endianness conversion. Since all SMMU data structures are little-endian, this means that the SMMU d

Re: [PATCH for-8.1] hw/arm/smmu: Handle big-endian hosts correctly

2023-07-17 Thread Thomas Huth
On 17/07/2023 15.26, Peter Maydell wrote: The implementation of the SMMUv3 has multiple places where it reads a data structure from the guest and directly operates on it without doing a guest-to-host endianness conversion. Since all SMMU data structures are little-endian, this means that the SMM