Re: [PATCH v2] crypto: hisilicon/sec - remove SEC crypto block cipher accelerator
From: Herbert Xu
Date: Fri Sep 11 2026 - 01:11:04 EST
On Wed, Aug 19, 2026 at 03:53:53PM +0800, Chenghai Huang wrote:
> The Hisilicon SEC crypto cipher accelerator has been superseded
> by the newer SEC2 driver (drivers/crypto/hisilicon/sec2/). SEC2
> provides wider algorithm coverage and is the maintained path forward,
> and users have migrated to it.
>
> The legacy SEC driver has had no active users for some time, and its
> primary maintainer, Jonathan Cameron, has moved on from Huawei and
> is no longer in a position to maintain it. With thanks to Jonathan
> for his contributions to this driver over the years, and with no one
> left to keep it up to date, remove it from the tree.
>
> This drops the legacy SEC driver together with all of its residual
> configuration, devicetree binding and board description references:
>
> - drivers/crypto/hisilicon/sec/
> - CONFIG_CRYPTO_DEV_HISI_SEC Kconfig option
> - sec/ entry from drivers/crypto/hisilicon/Makefile
> - Documentation/devicetree/bindings/crypto/hisilicon,hip06-sec.yaml
> - hisilicon,hip07-sec device nodes and their supporting mbigen_alg /
> smmu_alg infrastructure from arch/arm64/boot/dts/hisilicon/hip07.dtsi
>
> Signed-off-by: Chenghai Huang <huangchenghai2@xxxxxxxxxx>
> Reviewed-by: Longfang Liu <liulongfang@xxxxxxxxxx>
> Acked-by: Eric Biggers <ebiggers@xxxxxxxxxx>
> Acked-by: Wei Xu <xuwei5@xxxxxxxxxxxxx>
> ---
> .../bindings/crypto/hisilicon,hip06-sec.yaml | 134 --
> arch/arm64/boot/dts/hisilicon/hip07.dtsi | 280 ----
> drivers/crypto/hisilicon/Kconfig | 14 -
> drivers/crypto/hisilicon/Makefile | 1 -
> drivers/crypto/hisilicon/sec/Makefile | 3 -
> drivers/crypto/hisilicon/sec/sec_algs.c | 1122 --------------
> drivers/crypto/hisilicon/sec/sec_drv.c | 1307 -----------------
> drivers/crypto/hisilicon/sec/sec_drv.h | 428 ------
> 8 files changed, 3289 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/crypto/hisilicon,hip06-sec.yaml
> delete mode 100644 drivers/crypto/hisilicon/sec/Makefile
> delete mode 100644 drivers/crypto/hisilicon/sec/sec_algs.c
> delete mode 100644 drivers/crypto/hisilicon/sec/sec_drv.c
> delete mode 100644 drivers/crypto/hisilicon/sec/sec_drv.h
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt