From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796210262; b=wsoKNvkOYIM0mSYocarzuy94snNoJSykSvIS+2cbTa0lftf698UzPpIzkunjSoaB/yE4 WlUN+b0sdiiOkZr+4RvmooEmdpZ7Ow+CkIUwfklc7iTxeCjZRCfw7ryoYqwM0WScZCyJW tq9C1U1CYdEgjbSDDAV6je60GKXXE87TPjnP+4K4wK53fGmaegSsz557IbT3cPlTYVjG3 iWrnBrxifuwBgYtSSLu/7Bw2C+gGiJwA6S70PolgsH+fzzcfCgxblkF3GLsbd3kDIGCwB XQo4wuBvS5IQ2sSads12FhGaHV/M876M5xzAN1f4uOUsoLNzQ7fLAV4GFpfTFuvNrSw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796210262; h=DMARC-Filter:Received:Received:DKIM-Signature:Message-ID:Date: MIME-Version:User-Agent:Subject:To:Cc:References:Content-Language: From:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=4aAFeCmcWddlLXKXQVTU/ZER8nKtmIUfOp43v/L3tZA=; b=iQgs6VsfQUrT9L05RPoD/31R1PWBmYeSHWLgurmqKdlENMIJ/Ahv6m3lYV7AsT2Ij+3U 3/vBOyKIdoefkK1g0wTq3qns4WHb4uMINIJmNupyWu3O9q37JYcaANUr+FHlfRtkbNUDW CMB4wTOO50iMjgUg480fmqHHya+vx6PlAcsYj4ryP2y+WS+b5gOU48qildxU9b+FIU7s+ DM0HhBm9QXzu0HoviFHt+XtPTZPXITs/P0kyOeznz8aDvKD2A1nYqQRN5F515Sy2sDjTQ AEuj17cWm0cAGONeRzefgbQQFMw++YRWJ6UDvtPFYUqf1y6Y79+ulCNJpO8uZCzwXiw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=BBaZw5Rm; arc=none smtp.remote-ip=217.140.110.172 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 11037606A31A; Wed, 2 Dec 2026 11:17:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 11037606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=BBaZw5Rm Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 09E5C1570; Wed, 2 Dec 2026 03:17:37 -0800 (PST) Received: from [192.168.178.24] (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2EB8E3F7D8; Wed, 2 Dec 2026 03:17:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796210259; bh=BD8d7KA+79T9+79z+OxW1UfcZDINEEjXtPf6g3HPSEo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=BBaZw5RmmY/gFU2tELr03VWGtVKsaqoE40G8hObFXBtQK/JVTAxhopfgcMRIC4GO0 MxMvdyrT/g6vKDvCsXthsBkD2xa5NN4inrcIvH7T1G5QgpvGWzn6eNoil5iIEVKIuB iZ+2gDWTEb69X87+64i2zM0lPPkWTzlFCJp7c3p4= Message-ID: <31614877-c6ba-4b6f-a036-60a17b0805c8@arm.com> Date: Wed, 2 Dec 2026 12:17:35 +0100 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/4] crypto: sun55i-ce: Add Allwinner A733 CE v5 TRNG support To: Alastair D'Silva , Herbert Xu , "David S . Miller" , Olivia Mackall , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland 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 References: <20261130020253.3574516-1-alastair@d-silva.org> Content-Language: en-GB From: Andre Przywara In-Reply-To: <20261130020253.3574516-1-alastair@d-silva.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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