Re: [PATCH for-5.2 v3] s390x/pci: fix endianness issues

2020-11-18 Thread Cornelia Huck
On Wed, 18 Nov 2020 11:42:02 +0100 Cornelia Huck wrote: > The zPCI group and function structures are big endian. However, we do > not consistently store them as big endian locally, and are missing some > conversions. > > Let's just store the structures as host endian instead and convert to >

Re: [PATCH for-5.2 v3] s390x/pci: fix endianness issues

2020-11-18 Thread Cornelia Huck
On Wed, 18 Nov 2020 09:20:39 -0500 Matthew Rosato wrote: > On 11/18/20 5:42 AM, Cornelia Huck wrote: > > The zPCI group and function structures are big endian. However, we do > > not consistently store them as big endian locally, and are missing some > > conversions. > > > > Let's just store

Re: [PATCH for-5.2 v3] s390x/pci: fix endianness issues

2020-11-18 Thread Matthew Rosato
On 11/18/20 5:42 AM, Cornelia Huck wrote: The zPCI group and function structures are big endian. However, we do not consistently store them as big endian locally, and are missing some conversions. Let's just store the structures as host endian instead and convert to big endian when actually

Re: [PATCH for-5.2 v3] s390x/pci: fix endianness issues

2020-11-18 Thread Thomas Huth
On 18/11/2020 11.42, Cornelia Huck wrote: > The zPCI group and function structures are big endian. However, we do > not consistently store them as big endian locally, and are missing some > conversions. > > Let's just store the structures as host endian instead and convert to > big endian when

[PATCH for-5.2 v3] s390x/pci: fix endianness issues

2020-11-18 Thread Cornelia Huck
The zPCI group and function structures are big endian. However, we do not consistently store them as big endian locally, and are missing some conversions. Let's just store the structures as host endian instead and convert to big endian when actually handling the instructions retrieving the data.