mbox series

[v10,net-next,0/3] Add Support for Marvell OcteonTX2 Cryptographic

Message ID 20201118114416.28307-1-schalla@marvell.com (mailing list archive)
Headers show
Series Add Support for Marvell OcteonTX2 Cryptographic | expand

Message

Srujana Challa Nov. 18, 2020, 11:44 a.m. UTC
This patchset adds support for CPT in OcteonTX2 admin function(AF).
CPT is a cryptographic accelerator unit and it includes microcoded
Giga Cipher engines.

OcteonTX2 SOC's resource virtualization unit (RVU) supports multiple
physical and virtual functions. Each of the PF/VF's functionality is
determined by what kind of resources are attached to it. When the CPT
block is attached to a VF, it can function as a security device.
The following document provides an overview of the hardware and
different drivers for the OcteonTX2 SOC:
https://www.kernel.org/doc/Documentation/networking/device_drivers/marvell/octeontx2.rst

This patch series includes:
- Patch to update existing Marvell sources to support CPT.
- Patch that adds mailbox messages to the admin function (AF) driver,
to configure CPT HW registers.
- Patch to provide debug information about CPT.

Changes since v9:
 * Dropped CPT PF & VF driver patches to submit to cryptodev-2.6 in next
   release cycle.
Changes since v8:
 * Load firmware files individually instead of tar.
Changes since v7:
 * Removed writable entries in debugfs.
 * Dropped IPsec support.
Changes since v6:
 * Removed driver version.
Changes since v4:
 * Rebased the patches onto net-next tree with base
   'commit bc081a693a56 ("Merge branch 'Offload-tc-vlan-mangle-to-mscc_ocelot-switch'")'
Changes since v3:
 * Splitup the patches into smaller patches with more informartion.
Changes since v2:
 * Fixed C=1 warnings.
 * Added code to exit CPT VF driver gracefully.
 * Moved OcteonTx2 asm code to a header file under include/linux/soc/
Changes since v1:
 * Moved Makefile changes from patch4 to patch2 and patch3.

Srujana Challa (3):
  octeontx2-pf: move lmt flush to include/linux/soc
  octeontx2-af: add mailbox interface for CPT
  octeontx2-af: add debugfs entries for CPT block

 MAINTAINERS                                   |   2 +
 .../ethernet/marvell/octeontx2/af/Makefile    |   3 +-
 .../net/ethernet/marvell/octeontx2/af/mbox.h  |  33 +++
 .../net/ethernet/marvell/octeontx2/af/rvu.h   |   1 +
 .../ethernet/marvell/octeontx2/af/rvu_cpt.c   | 233 +++++++++++++++
 .../marvell/octeontx2/af/rvu_debugfs.c        | 272 ++++++++++++++++++
 .../ethernet/marvell/octeontx2/af/rvu_reg.h   |  63 +++-
 .../marvell/octeontx2/nic/otx2_common.h       |  13 +-
 include/linux/soc/marvell/octeontx2/asm.h     |  29 ++
 9 files changed, 630 insertions(+), 19 deletions(-)
 create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c
 create mode 100644 include/linux/soc/marvell/octeontx2/asm.h

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 20, 2020, 7:10 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Wed, 18 Nov 2020 17:14:13 +0530 you wrote:
> This patchset adds support for CPT in OcteonTX2 admin function(AF).
> CPT is a cryptographic accelerator unit and it includes microcoded
> Giga Cipher engines.
> 
> OcteonTX2 SOC's resource virtualization unit (RVU) supports multiple
> physical and virtual functions. Each of the PF/VF's functionality is
> determined by what kind of resources are attached to it. When the CPT
> block is attached to a VF, it can function as a security device.
> The following document provides an overview of the hardware and
> different drivers for the OcteonTX2 SOC:
> https://www.kernel.org/doc/Documentation/networking/device_drivers/marvell/octeontx2.rst
> 
> [...]

Here is the summary with links:
  - [v10,net-next,1/3] octeontx2-pf: move lmt flush to include/linux/soc
    https://git.kernel.org/netdev/net-next/c/956fb852181e
  - [v10,net-next,2/3] octeontx2-af: add mailbox interface for CPT
    https://git.kernel.org/netdev/net-next/c/ae454086e3c2
  - [v10,net-next,3/3] octeontx2-af: add debugfs entries for CPT block
    https://git.kernel.org/netdev/net-next/c/76638a2e5850

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html