Re: [PATCH v2] ocxl: Fix endiannes bug in read_afu_name()

2018-12-20 Thread Greg Kurz
On Wed, 12 Dec 2018 13:26:10 +1100 Andrew Donnellan wrote: > On 12/12/18 4:58 am, Greg Kurz wrote: > > The AFU Descriptor Template in the PCI config space has a Name Space > > field which is a 24 Byte ASCII character string of descriptive name > > space for the AFU. The OCXL driver read the strin

Re: [PATCH v2] ocxl: Fix endiannes bug in read_afu_name()

2018-12-11 Thread Andrew Donnellan
On 12/12/18 4:58 am, Greg Kurz wrote: The AFU Descriptor Template in the PCI config space has a Name Space field which is a 24 Byte ASCII character string of descriptive name space for the AFU. The OCXL driver read the string four characters at a time with pci_read_config_dword(). This optimizat