Skip to content

crypto: hisilicon/qm - misc fixes

Yang Shen linux-crypto lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest10 patches 1 replyIn review
  2. v410 patches 0 repliesSuperseded
  3. v310 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v29 patches4 repliesSuperseded
v19 patches1 replySuperseded

Changes in v5 from the cover letter

- add a error branch instead of return immediately in patch "fix wrong release after using strsep"

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10crypto: hisilicon/qm - fix wrong release after using strsepdrivers/crypto/hisilicon/qm.c+6 -40 replies
2/10crypto: hisilicon/qm - clear used reference count when start qpdrivers/crypto/hisilicon/qm.c+1 -00 replies
3/10crypto: hisilicon/qm - fix print frequence in hisi_qp_senddrivers/crypto/hisilicon/qm.c+1 -10 replies
4/10crypto: hisilicon/qm - fix judgement of queue is fulldrivers/crypto/hisilicon/qm.c+1 -10 replies
5/10crypto: hisilicon/qm - fix event queue depth to 2048drivers/crypto/hisilicon/qm.c+13 -60 replies
6/10crypto: hisilicon/qm - fix no stop reason when use 'hisi_qm_stop'drivers/crypto/hisilicon/hpre/hpre_main.c drivers/crypto/hisilicon/qm.c drivers/crypto/hisilicon/qm.h +2 more+17 -170 replies
7/10crypto: hisilicon/qm - fix VF not available after PF FLRdrivers/crypto/hisilicon/qm.c+6 -00 replies
8/10crypto: hisilicon/qm - register callback function to 'pci_driver.shutdown'drivers/crypto/hisilicon/hpre/hpre_main.c drivers/crypto/hisilicon/qm.c drivers/crypto/hisilicon/qm.h +2 more+21 -00 replies
9/10crypto: hisilicon/qm - fix the call trace when unbind devicedrivers/crypto/hisilicon/hpre/hpre_main.c drivers/crypto/hisilicon/qm.c drivers/crypto/hisilicon/qm.h +2 more+99 -90 replies
10/10crypto: hisilicon/qm - fix the process of register algorithms to cryptodrivers/crypto/hisilicon/hpre/hpre_crypto.c drivers/crypto/hisilicon/hpre/hpre_main.c drivers/crypto/hisilicon/qm.c +5 more+125 -1070 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchZhou Wang
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 00/10] crypto: hisilicon/qm - misc fixes

This patchset fix some qm bugs:
patch 1: store the string address before pass to 'strsep' patch 2: clear 'qp_status->used' when init the 'qp'
patch 3: use 'dev_info_ratelimited' to avoid printk flooding. patch 4: fix the judgement of queue is full
patch 7: save the vf configuration space to make sure it is available
after the 'PF' 'FLR'
patch 8: register callback to 'pci_driver.shutdown'
patch 9: wait for all working function finishs when remove the device patch 10: move the process of register alg to crypto in driver 'hisi_zip'

v5:
- add a error branch instead of return immediately in patch "fix wrong release after using strsep"

v4:
- exchange the patch 'fix the call trace when unbind device' and 'fix the process of register algorithms to crypto' to make sure the driver is stable.

v3:
- add the patch 10 which is aimed to fix the call trace when remove a working device

v2:
- fix the wrong email address on patch 1

Hui Tang (1):
crypto: hisilicon/qm - fix judgement of queue is full

Shukun Tan (3):
crypto: hisilicon/qm - clear used reference count when start qp
crypto: hisilicon/qm - fix event queue depth to 2048
crypto: hisilicon/qm - fix VF not available after PF FLR

Sihang Chen (1):
crypto: hisilicon/qm - fix wrong release after using strsep

Weili Qian (1):
crypto: hisilicon/qm - fix the call trace when unbind device

Yang Shen (4):
crypto: hisilicon/qm - fix print frequence in hisi_qp_send
crypto: hisilicon/qm - fix no stop reason when use 'hisi_qm_stop'
crypto: hisilicon/qm - register callback function to
'pci_driver.shutdown'
crypto: hisilicon/qm - fix the process of register algorithms to
crypto

 drivers/crypto/hisilicon/hpre/hpre_crypto.c |  36 ++---
 drivers/crypto/hisilicon/hpre/hpre_main.c   |  28 ++--
 drivers/crypto/hisilicon/qm.c               | 224 ++++++++++++++++++++++++----
 drivers/crypto/hisilicon/qm.h               |  27 ++--
 drivers/crypto/hisilicon/sec2/sec_crypto.c  |  35 ++---
 drivers/crypto/hisilicon/sec2/sec_main.c    |  34 ++---
 drivers/crypto/hisilicon/zip/zip_crypto.c   |   2 +-
 drivers/crypto/hisilicon/zip/zip_main.c     |  49 +++---
 8 files changed, 290 insertions(+), 145 deletions(-)

--
2.7.4