DMA Engine development
 help / color / mirror / Atom feed
From: Jia Jie Ho <jiajie.ho@starfivetech.com>
To: Herbert Xu <herbert@gondor.apana.org.au>,
	"David S . Miller" <davem@davemloft.net>,
	Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>,
	Vinod Koul <vkoul@kernel.org>,
	linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org,
	dmaengine@vger.kernel.org
Subject: [PATCH v5 0/3] crypto: starfive: Add support for JH8100
Date: Thu, 30 May 2024 11:11:09 +0800	[thread overview]
Message-ID: <20240530031112.4952-1-jiajie.ho@starfivetech.com> (raw)

This patch series add driver support for StarFive JH8100 SoC crypto
engine. Patch 1 adds compatible string and update irq descriptions for
JH8100 device. Subsequent patches update current driver implementations
to support both 7110 and 8100 variants.

v4->v5:
- Dropped patch 1-4 from series as they are mainlined.
- Rebased to v6.10-rc.

v3->v4:
- Updated interrupts descriptions for jh8100-crypto compatible. (Rob)
- Added patch 3 to skip unneeded key freeing for RSA module.

v2->v3:
- Use of device data instead of #ifdef CONFIG_ for different device
  variants.
- Updated dt bindings compatible and interrupts descriptions.
- Added patch 4 to support hardware quirks for dw-axi-dmac driver.

v1->v2:
- Resolved build warnings reported by kernel test robot
  https://lore.kernel.org/oe-kbuild-all/202312170614.24rtwf9x-lkp@intel.com/

Jia Jie Ho (3):
  dmaengine: dw-axi-dmac: Support hardware quirks
  crypto: starfive: Add sm3 support for JH8100
  crypto: starfive: Add sm4 support for JH8100

 drivers/crypto/starfive/Kconfig               |   26 +-
 drivers/crypto/starfive/Makefile              |    5 +-
 drivers/crypto/starfive/jh7110-aes.c          |    3 +
 drivers/crypto/starfive/jh7110-cryp.c         |   36 +-
 drivers/crypto/starfive/jh7110-cryp.h         |  106 +-
 drivers/crypto/starfive/jh7110-hash.c         |   45 +-
 drivers/crypto/starfive/jh8100-sm3.c          |  544 ++++++++
 drivers/crypto/starfive/jh8100-sm4.c          | 1123 +++++++++++++++++
 .../dma/dw-axi-dmac/dw-axi-dmac-platform.c    |   32 +-
 drivers/dma/dw-axi-dmac/dw-axi-dmac.h         |    2 +
 include/linux/dma/dw_axi.h                    |   11 +
 11 files changed, 1907 insertions(+), 26 deletions(-)
 create mode 100644 drivers/crypto/starfive/jh8100-sm3.c
 create mode 100644 drivers/crypto/starfive/jh8100-sm4.c
 create mode 100644 include/linux/dma/dw_axi.h

-- 
2.43.0


             reply	other threads:[~2024-05-30  6:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-30  3:11 Jia Jie Ho [this message]
2024-05-30  3:11 ` [PATCH v5 1/3] dmaengine: dw-axi-dmac: Support hardware quirks Jia Jie Ho
2024-06-11 17:50   ` Vinod Koul
2024-06-12 10:13     ` JiaJie Ho
2024-06-28  7:39       ` Vinod Koul
2024-05-30  3:11 ` [PATCH v5 2/3] crypto: starfive: Add sm3 support for JH8100 Jia Jie Ho
2024-05-30  3:11 ` [PATCH v5 3/3] crypto: starfive: Add sm4 " Jia Jie Ho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240530031112.4952-1-jiajie.ho@starfivetech.com \
    --to=jiajie.ho@starfivetech.com \
    --cc=Eugeniy.Paltsev@synopsys.com \
    --cc=davem@davemloft.net \
    --cc=dmaengine@vger.kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox