openwrt/target/linux/mvebu
Daniel González Cabanelas 05e71fff4c mvebu: armada 370: dts: fix the crypto engine
The crypto engine in Armada 370 SoCs is currently broken. It can be
checked installing the required packages for testing openssl with hw
acceleration:

  opkg install openssl-util
  opkg install kmod-cryptodev
  opkg install libopenssl-devcrypto

After configuring /etc/ssl/openssl.cnf to let openssl use the crypto
engine for digest operations, and performing some checksums..

  md5sum 10M-file.bin
  openssl md5 10M-file.bin

...we can see they don't match.

There might be an alignment or size constraint issue caused by the
idle-sram area.

Use the whole crypto sram and disable the idle-sram area to fix it. Also
disable the idle support by adding the broken-idle property to prevent
accessing the disabled idle-sram.

We don't care about disabling the idle support since it is already broken
in Armada 370 causing a huge performance loss because it disables
permanently the L2 cache. This was reported in the Openwrt forum and
elsewhere by Debian users with different board models.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:08:00 +00:00
..
base-files/lib mvebu: sysupgrade: write additional information to log output 2021-09-01 08:07:16 +00:00
cortexa9 mvebu: venom resize kernel to 6MB 2021-09-01 08:07:51 +00:00
cortexa53 kernel: move some disabled symbols to generic 2021-09-01 08:07:50 +00:00
cortexa72 kernel: move some disabled symbols to generic 2021-09-01 08:07:50 +00:00
files/arch mvebu: Fix mac addresses for GL.iNet GL-MV1000 2021-09-01 08:07:53 +00:00
files-5.4/arch/arm64/boot/dts/marvell mvebu: remove upstreamed DTS files in 5.10 2021-09-01 08:07:40 +00:00
image mvebu: enable WRT1900AC v1 and WRT32X for buildbots 2021-09-01 08:07:51 +00:00
patches-5.4 mvebu: armada 370: dts: fix the crypto engine 2021-09-01 08:08:00 +00:00
patches-5.10 mvebu: armada 370: dts: fix the crypto engine 2021-09-01 08:08:00 +00:00
config-5.4 kernel: move some disabled symbols to generic 2021-09-01 08:07:50 +00:00
config-5.10 kernel: move some disabled symbols to generic 2021-09-01 08:07:50 +00:00
Makefile mvebu: add 5.10 as a testing kernel 2021-09-01 08:07:40 +00:00
modules.mk mvebu: backport linkstation-poweroff upstream driver 2021-09-01 08:06:54 +00:00