mbox series

[PULL,Focal] Hisilicon crypto drivers update

Message ID 9a2cfd5d-91bc-3d12-3d6d-27406bc1b0aa@canonical.com
State New
Headers show
Series [PULL,Focal] Hisilicon crypto drivers update | expand

Pull-request

git://kernel.ubuntu.com/ikepanhc/public.git lp1854549

Message

Ike Panhc Dec. 16, 2019, 8:27 a.m. UTC
Hi,

Here are patches to upgrade hisilicon crypto drivers to 5.5 for Focal.
All patches are clean cherry-picked from upstream and also adjust configs
for new drivers

BugLink: https://bugs.launchpad.net/bugs/1854549
BugLink: https://bugs.launchpad.net/bugs/1850117

The following changes since commit c776e8fff2a89fd3039a12abd41ccbec63435398:

  UBUNTU: Ubuntu-5.4.0-8.11 (2019-12-06 15:55:35 -0600)

are available in the Git repository at:

  git://kernel.ubuntu.com/ikepanhc/public.git lp1854549

for you to fetch changes up to 5400ffda457e01eadd29088a3da9195d53fbfc07:

  UBUNTU: [Config] Enable HISI crypto drivers and update previous module (2019-12-16 16:13:39 +0800)

----------------------------------------------------------------
Arnd Bergmann (1):
      crypto: hisilicon - allow compile-testing on x86

Dan Carpenter (1):
      crypto: hisilicon - fix a NULL vs IS_ERR() bug in sec_create_qp_ctx()

Greg Kroah-Hartman (1):
      crypto: hisilicon - no need to check return value of debugfs_create functions

Hao Fang (1):
      crypto: hisilicon - add vfs_num module param for zip

Ike Panhc (1):
      UBUNTU: [Config] Enable HISI crypto drivers and update previous module

Longfang Liu (1):
      Documentation: add DebugFS doc for HiSilicon SEC

Rikard Falkeborn (1):
      crypto: hisilicon: Fix misuse of GENMASK macro

Shukun Tan (4):
      crypto: hisilicon - add sgl_sge_nr module param for zip
      crypto: hisilicon - Fix using plain integer as NULL pointer
      crypto: hisilicon - fix param should be static when not external.
      crypto: hisilicon - fix endianness verification problem of QM

Zaibo Xu (11):
      crypto: hisilicon - add HiSilicon HPRE accelerator
      crypto: hisilicon - add SRIOV support for HPRE
      crypto: hisilicon - Add debugfs for HPRE
      crypto: hisilicon - add HiSilicon SEC V2 driver
      crypto: hisilicon - add SRIOV for HiSilicon SEC
      crypto: hisilicon - add DebugFS for HiSilicon SEC
      hwrng: hisi - add HiSilicon TRNG driver support
      MAINTAINERS: Add maintainer for HiSilicon HPRE driver
      MAINTAINERS: Add maintainer for HiSilicon TRNG V2 driver
      MAINTAINERS: Add maintainer for HiSilicon SEC V2 driver
      Documentation: Add debugfs doc for hisi_hpre

Zhou Wang (8):
      crypto: hisilicon - merge sgl support to hisi_qm module
      crypto: hisilicon - fix large sgl memory allocation problem when disable smmu
      crypto: hisilicon - misc fix about sgl
      crypto: hisilicon - select NEED_SG_DMA_LENGTH in qm Kconfig
      crypto: hisilicon - tiny fix about QM/ZIP error callback print
      crypto: hisilicon - use sgl API to get sgl dma addr and len
      crypto: hisilicon - fix to return sub-optimal device when best device has no qps
      crypto: hisilicon - replace #ifdef with IS_ENABLED for CONFIG_NUMA

 Documentation/ABI/testing/debugfs-hisi-hpre        |   57 +
 Documentation/ABI/testing/debugfs-hisi-sec         |   43 +
 MAINTAINERS                                        |   25 +-
 debian.master/abi/5.4.0-7.8/arm64/generic.modules  |    2 -
 .../abi/5.4.0-7.8/arm64/snapdragon.modules         |    2 -
 debian.master/config/config.common.ubuntu          |    4 +-
 drivers/char/hw_random/Kconfig                     |   13 +
 drivers/char/hw_random/Makefile                    |    1 +
 drivers/char/hw_random/hisi-trng-v2.c              |   99 ++
 drivers/crypto/hisilicon/Kconfig                   |   43 +-
 drivers/crypto/hisilicon/Makefile                  |    6 +-
 drivers/crypto/hisilicon/hpre/Makefile             |    2 +
 drivers/crypto/hisilicon/hpre/hpre.h               |   83 ++
 drivers/crypto/hisilicon/hpre/hpre_crypto.c        | 1137 ++++++++++++++++++++
 drivers/crypto/hisilicon/hpre/hpre_main.c          | 1052 ++++++++++++++++++
 drivers/crypto/hisilicon/qm.c                      |  142 +--
 drivers/crypto/hisilicon/qm.h                      |   17 +-
 drivers/crypto/hisilicon/sec2/Makefile             |    2 +
 drivers/crypto/hisilicon/sec2/sec.h                |  156 +++
 drivers/crypto/hisilicon/sec2/sec_crypto.c         |  889 +++++++++++++++
 drivers/crypto/hisilicon/sec2/sec_crypto.h         |  198 ++++
 drivers/crypto/hisilicon/sec2/sec_main.c           | 1095 +++++++++++++++++++
 drivers/crypto/hisilicon/sgl.c                     |  184 ++--
 drivers/crypto/hisilicon/sgl.h                     |   24 -
 drivers/crypto/hisilicon/zip/zip.h                 |    1 -
 drivers/crypto/hisilicon/zip/zip_crypto.c          |   46 +-
 drivers/crypto/hisilicon/zip/zip_main.c            |  294 ++---
 27 files changed, 5302 insertions(+), 315 deletions(-)
 create mode 100644 Documentation/ABI/testing/debugfs-hisi-hpre
 create mode 100644 Documentation/ABI/testing/debugfs-hisi-sec
 create mode 100644 drivers/char/hw_random/hisi-trng-v2.c
 create mode 100644 drivers/crypto/hisilicon/hpre/Makefile
 create mode 100644 drivers/crypto/hisilicon/hpre/hpre.h
 create mode 100644 drivers/crypto/hisilicon/hpre/hpre_crypto.c
 create mode 100644 drivers/crypto/hisilicon/hpre/hpre_main.c
 create mode 100644 drivers/crypto/hisilicon/sec2/Makefile
 create mode 100644 drivers/crypto/hisilicon/sec2/sec.h
 create mode 100644 drivers/crypto/hisilicon/sec2/sec_crypto.c
 create mode 100644 drivers/crypto/hisilicon/sec2/sec_crypto.h
 create mode 100644 drivers/crypto/hisilicon/sec2/sec_main.c
 delete mode 100644 drivers/crypto/hisilicon/sgl.h

Comments

Seth Forshee Jan. 7, 2020, 10 p.m. UTC | #1
On Mon, Dec 16, 2019 at 04:27:04PM +0800, Ike Panhc wrote:
> Hi,
> 
> Here are patches to upgrade hisilicon crypto drivers to 5.5 for Focal.
> All patches are clean cherry-picked from upstream and also adjust configs
> for new drivers
> 
> BugLink: https://bugs.launchpad.net/bugs/1854549
> BugLink: https://bugs.launchpad.net/bugs/1850117

Applied to focal/master-next, with the last patch ammended to also
update the annotations for the changed config options. Thanks!