On Wed, May 17, 2017 at 12:49 PM, John Garry <john.garry@xxxxxxxxxx> wrote: > This patchset adds support for the HiSilicon SAS controller > in the hip08 chipset. > > The key difference compared to earlier chipsets is that the > controller is an integrated PCI endpoint in hip08. > As such, the controller is a pci device (not a platform device, > like v2 hw in hip07). > > The driver is refactored so it can support both platform and > pci device-based controllers. > > File hisi_sas_pci_init.c is introduced for pci device probing > and initialization. Common functionality is still in > hisi_sas_main.c, along with platform device probing and > initialization. > > New hw layer file hisi_sas_v3_hw.c is added for hip08 > controller support. HW revisions v2 and v3 are very similar, > but it was decided to keep support in separate files for now. > > As for the patches, (ignoring #1 and #2) the first few > reorganise some functions from v2 hw.c into main.c, as they > are required for v3 hw. Then support is added for pci > device-based controller in subsequent patches. > And then hip08 support is added in the final patches. Looks good overall, but I have some high-level comments on a couple of patches. I'm sure we can resolve them all easily. Arnd