[PATCH v2 0/3] hisi_sas: DIF/DIX support
From: John Garry
Date: Wed Nov 21 2018 - 09:23:26 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 it.
The series is broken down as follows:
- Tidy sg table size config
- Some tidy-up to accept PI support
- Add components for PI support for main and v3 driver
Difference v1->v2:
- drop 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 +++++++++++++++++++++++++-
5 files changed, 380 insertions(+), 76 deletions(-)
--
1.9.1