From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932344AbcAHOL0 (ORCPT ); Fri, 8 Jan 2016 09:11:26 -0500 Received: from szxga01-in.huawei.com ([58.251.152.64]:29589 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755184AbcAHODU (ORCPT ); Fri, 8 Jan 2016 09:03:20 -0500 From: John Garry To: , , , , , , CC: , , , , , , , , John Garry Subject: [PATCH 00/23] HiSilicon SAS v2 hw support Date: Fri, 8 Jan 2016 22:15:19 +0800 Message-ID: <1452262542-64589-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.568FC1A1.0126,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 5204418f9b86da8877815169582677bc Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset introduces support for the HiSi SAS v2 hw. The major difference between v1 and v2 hw is support for SATA/STP. Known limitation: - We cannot connect a SATA disk through a 12G expander without disabling the STP buffer. Direcly connecting a SATA disk to the HBA is ok. John Garry (23): devicetree: bindings: hisi_sas: add v2 HW bindings hisi_sas: relocate DEV_IS_EXPANDER hisi_sas: set max commands as configurable hisi_sas: reduce max itct entries hisi_sas: add hisi_sas_err_record_v1 hisi_sas: rename some fields in hisi_sas_itct hisi_sas: add bare v2 hw driver hisi_sas: add v2 register definitions hisi_sas: add v2 hw init hisi_sas: add init_id_frame_v2_hw() hisi_sas: add v2 phy init code hisi_sas: add v2 int init and phy up handler hisi_sas: add v2 phy down handler hisi_sas: add v2 channel interrupt handler hisi_sas: add v2 SATA interrupt handler hisi_sas: add v2 cq interrupt handler hisi_sas: add v2 path to send ssp frame hisi_sas: add v2 code to send smp command hisi_sas: add v2 code for itct setup and free hisi_sas: add v2 path to send ATA command hisi_sas: add v2 slot error handler hisi_sas: add v2 tmf functions hisi_sas: update driver version to 1.1 .../devicetree/bindings/scsi/hisilicon-sas.txt | 20 +- drivers/scsi/hisi_sas/Makefile | 2 +- drivers/scsi/hisi_sas/hisi_sas.h | 39 +- drivers/scsi/hisi_sas/hisi_sas_main.c | 36 +- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 20 +- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 2206 ++++++++++++++++++++ 6 files changed, 2277 insertions(+), 46 deletions(-) create mode 100644 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c -- 1.9.1