mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Alastair D'Silva <alastair@d-silva.org>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	"David S . Miller" <davem@davemloft.net>,
	Olivia Mackall <olivia@selenic.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Chen-Yu Tsai <wens@kernel.org>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Samuel Holland <samuel@sholland.org>
Cc: linux-crypto@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/4] crypto: sun55i-ce: Add Allwinner A733 CE v5 TRNG support
Date: Wed, 2 Dec 2026 12:17:35 +0100	[thread overview]
Message-ID: <31614877-c6ba-4b6f-a036-60a17b0805c8@arm.com> (raw)
In-Reply-To: <20261130020253.3574516-1-alastair@d-silva.org>

Hi Alastair,

just a quick reply with some general comments. As you have probably 
learned, this is not the right time for new drivers. So wait for any new 
revision until after v7.5-rc1 (around beginning of January). This should 
reduce the list of dependencies substantially.

On 11/30/26 03:02, Alastair D'Silva wrote:
> This series adds True Random Number Generator (TRNG) support for the
> Allwinner Crypto Engine v5 on A523 and A733 SoCs.

Thanks for adding the A523 to that. But please note that we should still 
make some efforts to support the crypto operations. Please look at the 
existing crypto driver, to see if you can at least provision for crypto 
operations. Maybe prepare the framework, but keep the list of supported 
algorithm empty for now, so it becomes easier to actually add them later.
And then this still bears the question if the difference to the last 
generation of crypto IP is really that big that it deserves a separate 
driver. We usually try to share as much code as possible, and my feeling 
is that there is substantial amount of code that can be reused.

> It also enables the device on all supported A733 boards.

Please note that we enable the crypto engine on a SoC level, since it's 
internal to the SoC, without any board involvement.
So there is just the node in the .dtsi file, without any status property 
at all. A missing status means enabled, so boards do not need to touch 
that in any way. So no need for patch 4/4.

> This series is rebased on linux-next (next-20261125) and builds on the
> following unmerged prerequisite series:

As far as the pure driver is concerned, it is independent. For patch 3/4 
you would need the basic .dtsi, but the other patches you list below 
(AXP, DT fixes) affect only functionality, they are no dependencies 
code-wise.

Please note that the --base option for git format-patch is only meant to 
list some very few patches that have not been merged yet, a long list 
like yours below is really not a good idea.

Hope that helps!

Cheers,
Andre

> - [PATCH v2] clk: sunxi-ng: a733: Keep SCP firmware bus clocks enabled
>    https://lore.kernel.org/r/20261112-a733-fwclk-v2@gmail.com
> - [PATCH RESEND v3 0/3] pinctrl: sunxi: number the IRQ banks from the first one that has IRQs
>    https://lore.kernel.org/r/20261124215048.42074-1-pmazzini@gmail.com
> - [PATCH v4] pinctrl: sunxi: use automatic voltage detection on A733
>    https://lore.kernel.org/r/20261125-a733-pinctrl-v4@gmail.com
> - [PATCH v8 0/5] regulator: Add X-Powers AXP318W PMIC support
>    https://lore.kernel.org/r/20260910-axp318-regulator-v8-0-e906a61a7f3d@baylibre.com
> - [PATCH v2 0/4] serial: 8250_dw: Allwinner A733 UART support
>    https://lore.kernel.org/r/cover.1792439398.git.vinicius.eduardo.pedrosa@gmail.com
> - [PATCH v6 0/5] arm64: dts: allwinner: add A733 and Radxa Cubie A7 support
>    https://lore.kernel.org/r/20261126-a733-cubie-a7s-dt-v6-0@gmail.com
> - [PATCH v2 0/2] arm64: dts: allwinner: Add Xunlong OrangePi 4 Pro support
>    https://lore.kernel.org/r/20261127065343.1449675-1-alastair@d-silva.org
> 
> Tested on Xunlong OrangePi 4 Pro (/dev/hwrng).
> 
> Changes in v2:
> - Move the driver from drivers/char/hw_random/ to
>    drivers/crypto/allwinner/sun55i-ce/ (Andre Przywara).
> - Rebase onto next-20261125 + A733 SoC DTSI v6 (&hosc, 4-cell GIC
>    interrupts) and OrangePi 4 Pro v2.
> - Enable Crypto Engine on Radxa Cubie A7A, Cubie A7S, and Cubie A7Z in
>    addition to OrangePi 4 Pro.
> - Add base-commit and prerequisite-patch-id footer and lore URLs.
> - Link to v1: https://lore.kernel.org/r/20261125210532.695823-1-alastair@d-silva.org
> 
> Alastair D'Silva (4):
>    dt-bindings: crypto: Add Allwinner A523/A733 Crypto Engine
>    crypto: sun55i-ce - Add Allwinner CE v5 TRNG driver
>    arm64: dts: allwinner: sun60i-a733: Add Crypto Engine node
>    arm64: dts: allwinner: sun60i-a733: Enable Crypto Engine on boards
> 
>   .../crypto/allwinner,sun55i-a523-crypto.yaml  |  68 ++++
>   MAINTAINERS                                   |   7 +
>   .../dts/allwinner/sun60i-a733-cubie-a7a.dts   |   4 +
>   .../dts/allwinner/sun60i-a733-cubie-a7s.dts   |   4 +
>   .../dts/allwinner/sun60i-a733-cubie-a7z.dts   |   4 +
>   .../allwinner/sun60i-a733-orangepi-4-pro.dts  |   4 +
>   .../arm64/boot/dts/allwinner/sun60i-a733.dtsi |  12 +
>   drivers/crypto/allwinner/Kconfig              |  13 +
>   drivers/crypto/allwinner/Makefile             |   1 +
>   drivers/crypto/allwinner/sun55i-ce/Makefile   |   2 +
>   .../allwinner/sun55i-ce/sun55i-ce-trng.c      | 377 ++++++++++++++++++
>   11 files changed, 496 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/crypto/allwinner,sun55i-a523-crypto.yaml
>   create mode 100644 drivers/crypto/allwinner/sun55i-ce/Makefile
>   create mode 100644 drivers/crypto/allwinner/sun55i-ce/sun55i-ce-trng.c
> 
> base-commit: 9437046953b2fb3bf55b36582450ea0267df82a7
> prerequisite-patch-id: 19691099774bd3dc41f56585c03ddefb7bdc6f9c
> prerequisite-patch-id: 85db03df3394cdcb2780a0da122a74b2c1fe220d
> prerequisite-patch-id: a3e883da50bf03e8f522444def66fec7f996ffbe
> prerequisite-patch-id: c6889699a6dc13c336ce4cf4659e21b551e9a9fc
> prerequisite-patch-id: ef2f0344452092edb2221b93c44a3e82cb896a2d
> prerequisite-patch-id: c598480f753e36b7f6230129b864c559b9f185d5
> prerequisite-patch-id: f86b468a896a40f132adfcba885700327dff1bc5
> prerequisite-patch-id: 079d60101e1b9e5425458060314bde3e9cc2fe4c
> prerequisite-patch-id: 090c5ff78d4e2150804aa8d294581cd338b1e971
> prerequisite-patch-id: af0aebcae7c38d58354925119c412178b5821b5e
> prerequisite-patch-id: beb8a098ba14724e316ff243bdf8e00e729243c1
> prerequisite-patch-id: 63342c5ec38e8eb9e55c8c74d3c5a81a630d5f69
> prerequisite-patch-id: 1dc8d70f80674c98b2b15d09556dd27f643b20da
> prerequisite-patch-id: 4555860586ef50f27bf787a23f6ba693e9c3b0d6
> prerequisite-patch-id: 0279f281cd59cf54bceee39b0fa4d0b6a7b87c48
> prerequisite-patch-id: 14424bd8324b6cae2b8c4d6840df0db626d1385f
> prerequisite-patch-id: 7b42728bc8271e5dfd57fffec47a7f5745eff357
> prerequisite-patch-id: 74f5c7d066477024a374a789b3180e841398fb07
> prerequisite-patch-id: 309a5a3ca5b216915907263dea7024263abf1d1c
> prerequisite-patch-id: 55e543b9854c7ae2fa86969233d05ccadd3792e9


      parent reply	other threads:[~2026-12-02 11:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  2:02 Alastair D'Silva
2026-11-30  2:02 ` [PATCH v2 1/4] dt-bindings: crypto: Add Allwinner A523/A733 Crypto Engine Alastair D'Silva
2026-11-30  2:02 ` [PATCH v2 2/4] crypto: sun55i-ce - Add Allwinner CE v5 TRNG driver Alastair D'Silva
2026-11-30  2:02 ` [PATCH v2 3/4] arm64: dts: allwinner: sun60i-a733: Add Crypto Engine node Alastair D'Silva
2026-11-30  2:02 ` [PATCH v2 4/4] arm64: dts: allwinner: sun60i-a733: Enable Crypto Engine on boards Alastair D'Silva
2026-11-30  2:02 ` [PATCH v2 4/4] arm64: dts: allwinner: sun60i-a733-orangepi-4-pro: Enable Crypto Engine Alastair D'Silva
2026-11-30  2:06   ` Alastair D'Silva
2026-11-30  3:21 ` [PATCH v2 0/4] crypto: sun55i-ce: Add Allwinner A733 CE v5 TRNG support Chen-Yu Tsai
2026-12-02 11:17 ` Andre Przywara [this message]

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=31614877-c6ba-4b6f-a036-60a17b0805c8@arm.com \
    --to=andre.przywara@arm.com \
    --cc=alastair@d-silva.org \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=olivia@selenic.com \
    --cc=robh@kernel.org \
    --cc=samuel@sholland.org \
    --cc=wens@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

all inboxes | Powered by JetHome®