From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Garry Subject: [PATCH 0/4] hisi_sas: DIF/DIX support Date: Tue, 20 Nov 2018 22:59:00 +0800 Message-ID: <1542725944-244183-1-git-send-email-john.garry@huawei.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Sender: linux-kernel-owner@vger.kernel.org To: jejb@linux.vnet.ibm.com, martin.petersen@oracle.com Cc: linuxarm@huawei.com, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, John Garry List-Id: linux-scsi@vger.kernel.org This patchset introduces support to the driver for DIF/DIX (or PI - protection information). We will only support PI in v3 hw at the moment, even though previous hw versions also support. The series is broken down as follows: - Add a generic helper for checking Scsi command normal operation - Some tidy-up to accept PI support - Add components for PI support for main and v3 driver John Garry (1): scsi: Add scsi_prot_op_normal() Xiang Chen (3): scsi: hisi_sas: Relocate some code to reduce complexity scsi: hisi_sas: Make sg_tablesize consistent value scsi: hisi_sas: Add support for DIF/DIX feature for v3 hw drivers/scsi/hisi_sas/hisi_sas.h | 18 +++ drivers/scsi/hisi_sas/hisi_sas_main.c | 242 ++++++++++++++++++++++++--------- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 2 +- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 2 +- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 192 +++++++++++++++++++++++++- include/scsi/scsi_cmnd.h | 5 + 6 files changed, 385 insertions(+), 76 deletions(-) -- 1.9.1