[PATCH 0/4] hisi_sas: DIF/DIX support

From: John Garry
Date: Tue Nov 20 2018 - 09:58:30 EST


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