milos-linux/drivers
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
..
accel
accessibility
acpi
amba
android
ata ata: ahci: Use correct DMI identifier for ASUSPRO-D840SA LPM quirk 2025-06-25 15:17:57 +02:00
atm atm: idt77252: Add missing dma_map_error() 2025-06-25 15:28:57 -07:00
auxdisplay
base
bcma
block block-6.16-20250626 2025-06-27 09:02:33 -07:00
bluetooth
bus
cache
cdrom
cdx
char
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto crypto: stm32 - remove crc32 and crc32c support 2025-06-30 09:31:56 -07:00
cxl cxl/edac: Fix using wrong repair type to check dram event record 2025-06-25 12:05:45 -07:00
dax
dca
devfreq
dio
dma
dma-buf
dpll
edac EDAC/amd64: Fix size calculation for Non-Power-of-Two DIMMs 2025-06-25 16:40:03 +02:00
eisa
extcon
firewire
firmware
fpga
fsi
fwctl
gnss
gpio
gpu Merge tag 'drm-misc-fixes-2025-06-26' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes 2025-06-28 06:53:00 +10:00
greybus
hid hid-for-linus-2025062701 2025-06-26 17:06:01 -07:00
hsi
hte
hv
hwmon
hwspinlock
hwtracing
i2c i2c: scx200_acb: depends on HAS_IOPORT 2025-06-27 12:28:33 +02:00
i3c
idle
iio
infiniband
input
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md - dm-crypt: fix a crash on 32-bit machines 2025-06-23 15:02:57 -07:00
media
memory
memstick
message
mfd
misc
mmc
most
mtd
mux
net net: libwx: fix the creation of page_pool 2025-06-26 11:02:23 +02:00
nfc
ntb
nubus
nvdimm
nvme block-6.16-20250626 2025-06-27 09:02:33 -07:00
nvmem
of
opp
parisc
parport
pci pci-v6.16-fixes-2 2025-06-27 20:17:48 -07:00
pcmcia
peci
perf
phy
pinctrl
platform platform/x86: Use i2c adapter name to fix build errors 2025-06-25 23:39:22 +02:00
pmdomain
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi
sh
siox
slimbus
soc
soundwire
spi spi: spi-cadence-quadspi: Fix pm runtime unbalance 2025-06-24 16:40:31 +01:00
spmi
ssb
staging
target
tc
tee
thermal
thunderbolt
tty serial: imx: Restore original RXTL for console to fix data loss 2025-06-24 15:34:21 +01:00
ufs
uio
usb
vdpa
vfio
vhost
video
virt
virtio
w1
watchdog
xen
zorro
Kconfig
Makefile