Re: [PATCH v6] SATA: OCTEON: support SATA on OCTEON platform

From: David Daney
Date: Tue Feb 02 2016 - 13:38:04 EST


On 02/02/2016 10:24 AM, Zubair Lutfullah Kakakhel wrote:
From: Aleksey Makarov <aleksey.makarov@xxxxxxxxxxxxxxxxxx>

The OCTEON SATA controller is currently found on cn71XX devices.

Cc: Arnd Bergmann <arnd@xxxxxxxx>
Acked-by: Hans de Goede <hdegoede@xxxxxxxxxx>
Signed-off-by: David Daney <david.daney@xxxxxxxxxx>
Signed-off-by: Vinita Gupta <vgupta@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Aleksey Makarov <aleksey.makarov@xxxxxxxxxx>

Typically, someone sending a patch would append their own Signed-off-by:

I suggest that you do the same. I think Documentation/SubmittingPatches section 11 talks about how to do this.



---
Changes in v6
- Rebase to v4.5-rc1
- Tested by Zubair Kakakhel on utm8 platform (CN7130 based)

Changes in v5:
- Sparse warnings are fixed
- Device tree docs are improved

Changes in v4:
- The call to dma_coerce_mask_and_coherent() was removed as suggested
by Arnd Bergmann dma_mask and coherent_dma_mask are actually set
in the ahci_platform_init_host() (libahci_platform.c)

Changes in v3:
- Rebased to v4.0-rc2
- Cosmetic changes

Changes in v2:
- The driver was rewritten as a driver for the UCTL SATA controller glue.
It allowed to get rid of the most changes in ahci_platform.c
- Documentation for the device tree bindings was fixed.
---
.../devicetree/bindings/ata/ahci-platform.txt | 1 +
.../devicetree/bindings/mips/cavium/sata-uctl.txt | 42 ++++++
drivers/ata/Kconfig | 9 ++
drivers/ata/Makefile | 1 +
drivers/ata/ahci_platform.c | 2 +
drivers/ata/sata_octeon.c | 155 +++++++++++++++++++++
6 files changed, 210 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mips/cavium/sata-uctl.txt
create mode 100644 drivers/ata/sata_octeon.c

[...]