Skip to content

hisi_sas: DIF support

John Garry linux-scsi lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest0 of 3 patches 0 repliesNew
  2. v23 patches 0 repliesSuperseded
  3. v14 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- fix sparse warnings
- drop DIX support

Patches in v3 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/3] hisi_sas: DIF support

This patchset introduces support to the driver for DIF (or PI -protection information).

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

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:
- Fix pre-existing sparse warnings
- 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()

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

John Garry (1):
scsi: hisi_sas: Fix warnings detected by sparse

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 feature for v3 hw

 drivers/scsi/hisi_sas/hisi_sas.h       |  20 ++-
 drivers/scsi/hisi_sas/hisi_sas_main.c  | 248 +++++++++++++++++++++++----------
 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c |  17 +--
 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c |  68 +++++----
 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 227 +++++++++++++++++++++++++++---
 5 files changed, 448 insertions(+), 132 deletions(-)
Signature · 1 line
1.9.1