Skip to content

hisi_sas: DIF support

John Garry linux-scsi lkml 3 versions – Applied

Status from this message: Applied to 4.21/scsi-queue, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 2 repliesApplied
  2. v45 patches 10 repliesSuperseded
  3. v34 patches 5 repliesSuperseded

Changes in v5 from the cover letter

- Drop already accepted patches
- Fix comments according to Martin
- use t10_pi_ref_tag()
- stop using protection options in LLDD in favour of prot flags
- allow user to set prot mask

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/2scsi: hisi_sas: Add support for DIF feature for v2 hwdrivers/scsi/hisi_sas/hisi_sas.h drivers/scsi/hisi_sas/hisi_sas_v3_hw.c+137 -32 replies
2/2scsi: hisi_sas: Add support for DIX feature for v3 hw as experimentaldrivers/scsi/hisi_sas/hisi_sas.h drivers/scsi/hisi_sas/hisi_sas_main.c drivers/scsi/hisi_sas/hisi_sas_v3_hw.c+174 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/2] hisi_sas: DIF support

This patchset introduces support to the driver for DIF/DIX.

We are making DIX support as RFC for now, based on issues discussed in the following:
https://marc.info/?l=linux-scsi&m=154357719329297&w=4 and
https://marc.info/?l=linux-scsi&m=154406987703456&w=2

We will only support PI in v3 hw at the moment, even though previous hw versions also support it.

Differences:
v4->v5:
- Drop already accepted patches
- Fix comments according to Martin
- use t10_pi_ref_tag()
- stop using protection options in LLDD in favour of prot flags
- allow user to set prot mask

v3->v4:
- re-add DIX support as RFC - do not commit please!
- also DIX support is labelled experimental in the driver

v2->v3:
- fix sparse warnings
- drop DIX support

v1->v2:
- drop scsi_prot_op_normal()
Xiang Chen (2):
scsi: hisi_sas: Add support for DIF feature for v2 hw
scsi: hisi_sas: Add support for DIX feature for v3 hw as experimental

 drivers/scsi/hisi_sas/hisi_sas.h       |  28 +++++
 drivers/scsi/hisi_sas/hisi_sas_main.c  |  97 ++++++++++++++--
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 197 ++++++++++++++++++++++++++++++++-
 3 files changed, 305 insertions(+), 17 deletions(-)
Signature · 1 line
1.9.1