milos-linux/drivers/crypto
Eric Biggers 5b019bb25f crypto: stm32 - remove crc32 and crc32c support
Remove the crc32 and crc32c support from the stm32 driver.  Since it's
not wired up to the CRC library, almost no CRC user in the kernel can
actually be taking advantage of it, so it's effectively dead code.

Support for this hardware could be migrated to the CRC library, but
there doesn't seem to be much point.  This CRC engine is present only on
a couple older SoCs that lacked CRC instructions.

Even for those SoCs, it probably wouldn't be worthwhile.  This driver
has to deal with things like locking and runtime power management that
do not exist in software CRC code and are a source of bugs (as is clear
from the commit log) and add significant overhead to the processing of
short messages, which are common.  The patch that added this driver
seemed to justify it based purely on a microbenchmark on Cortex-M7 on
long messages, not a real use case.  These days, if this driver were to
be used at all it would likely be on Cortex-A7 instead.  This CRC engine
is also not supported by QEMU, making the driver not easily testable.

Acked-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Fabien Dessenne <fabien.dessenne@foss.st.com>
Cc: Lionel Debieve <lionel.debieve@foss.st.com>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
Link: https://lore.kernel.org/r/20250601193441.6913-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2025-06-30 09:31:56 -07:00
..
allwinner crypto: sun8i-ce - move fallback ahash_request to the end of the struct 2025-05-19 13:48:48 +08:00
amcc crypto: crypto4xx - Remove ahash-related code 2025-05-12 13:32:52 +08:00
amlogic
aspeed
axis treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
bcm
caam crypto: caam - Add support for i.MX8QM 2025-04-16 15:16:21 +08:00
cavium crypto: cavium/zip - Remove driver 2025-04-07 13:22:25 +08:00
ccp Core x86 updates for v6.16: 2025-05-26 16:04:17 -07:00
ccree
chelsio
gemini
hisilicon crypto: hisilicon/qm - replace devm_kzalloc with devm_kcalloc 2025-05-05 18:20:46 +08:00
inside-secure crypto: inside-secure - remove crc32 support 2025-06-30 09:31:56 -07:00
intel crypto: qat - add missing header inclusion 2025-05-23 19:25:47 +08:00
marvell crypto: marvell/cesa - Do not chain submitted requests 2025-05-21 13:27:46 +08:00
nx crypto: nx - Use API partial block handling 2025-04-23 15:52:47 +08:00
qce
rockchip crypto: rk3288 - use API helpers to setup fallback request 2025-04-16 15:16:21 +08:00
starfive
stm32 crypto: stm32 - remove crc32 and crc32c support 2025-06-30 09:31:56 -07:00
tegra crypto: tegra - use API helpers to setup fallback request 2025-04-16 15:16:21 +08:00
virtio
xilinx crypto: zynqmp-sha - Fix partial block implementation 2025-05-05 18:20:46 +08:00
atmel-aes-regs.h
atmel-aes.c crypto: atmel - add CRYPTO_ALG_KERN_DRIVER_ONLY flag 2025-04-16 15:16:21 +08:00
atmel-authenc.h
atmel-ecc.c
atmel-i2c.c
atmel-i2c.h
atmel-sha-regs.h
atmel-sha.c crypto: atmel - add CRYPTO_ALG_KERN_DRIVER_ONLY flag 2025-04-16 15:16:21 +08:00
atmel-sha204a.c crypto: atmel-sha204a - Set hwrng quality to lowest possible 2025-04-23 09:32:57 +08:00
atmel-tdes-regs.h
atmel-tdes.c crypto: atmel - add CRYPTO_ALG_KERN_DRIVER_ONLY flag 2025-04-16 15:16:21 +08:00
exynos-rng.c
geode-aes.c
geode-aes.h
hifn_795x.c
img-hash.c crypto: img-hash - use API helpers to setup fallback request 2025-04-16 15:16:21 +08:00
Kconfig s390/crypto: Select crypto engine in Kconfig when PAES is chosen 2025-06-02 10:49:52 +02:00
Makefile crypto: cavium - Move cpt and nitrox rules into cavium Makefile 2025-04-07 13:22:25 +08:00
mxs-dcp.c
omap-aes-gcm.c
omap-aes.c crypto: omap-aes - use dev_groups to register attribute groups 2025-04-07 13:22:26 +08:00
omap-aes.h
omap-crypto.c
omap-crypto.h
omap-des.c
omap-sham.c crypto: omap-sham - use dev_groups to register attribute groups 2025-04-07 13:22:26 +08:00
padlock-aes.c
padlock-sha.c crypto: padlock-sha - Use core import and export for fallback 2025-05-05 18:20:46 +08:00
qcom-rng.c
s5p-sss.c crypto: s5p-sss - Add missing header inclusions 2025-04-16 15:16:21 +08:00
sa2ul.c crypto: sa2ul - Use proper helpers to setup request 2025-04-07 13:22:26 +08:00
sa2ul.h
sahara.c
talitos.c
talitos.h