openwrt/target/linux
Daniel González Cabanelas d530ff37bf 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>
(cherry picked from commit 2e1ebe96c6)
2021-04-18 12:04:33 +02:00
..
apm821xx kernel: bump 5.4 to 5.4.108 2021-03-27 16:26:56 +01:00
arc770 target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
archs38 archs38: Add CONFIG_HZ=100 2021-03-19 18:01:55 +01:00
armvirt kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
at91 at91: use SPDX license identifiers on DTS files 2021-02-10 15:47:23 +01:00
ath25 target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
ath79 ath79: mikrotik: enable 2nd USB on RouterBOARD 922UAGS-5HPacD 2021-04-12 13:20:48 +02:00
bcm27xx kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
bcm47xx bcm47xx: make WGT634U NVRAM patch apply again 2021-03-17 23:38:46 +01:00
bcm53xx bcm53xx: add pending TRX patch for "firmware" partition 2021-04-16 16:19:12 +02:00
bcm63xx bcm63xx: AD1018-nor: add NAND flash 2021-03-08 12:46:46 +01:00
bcm4908 kernel: bump 5.4 to 5.4.111 2021-04-11 17:35:12 +02:00
gemini gemini,layerscape,oxnas: don't disable option CONFIG_BPF_SYSCALL 2021-04-16 11:42:42 +01:00
generic kernel: bump 5.4 to 5.4.111 2021-04-11 17:35:12 +02:00
imx6 kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
ipq40xx kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
ipq806x kernel: bump 5.4 to 5.4.111 2021-04-11 17:35:12 +02:00
kirkwood kernel: backport 5.13 mtd partitioning changes 2021-04-08 11:25:41 +02:00
lantiq kernel: 5.4: import wireguard backport 2021-04-10 14:21:32 +02:00
layerscape gemini,layerscape,oxnas: don't disable option CONFIG_BPF_SYSCALL 2021-04-16 11:42:42 +01:00
malta target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
mediatek kernel: bump 5.4 to 5.4.111 2021-04-11 17:35:12 +02:00
mpc85xx mpc85xx: p2020: fix cfi-nor detection 2021-03-01 21:49:55 +01:00
mvebu mvebu: armada 370: dts: fix the crypto engine 2021-04-18 12:04:33 +02:00
mxs target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
octeon kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
octeontx kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
omap kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
oxnas gemini,layerscape,oxnas: don't disable option CONFIG_BPF_SYSCALL 2021-04-16 11:42:42 +01:00
pistachio kernel: add pending mtd patches adding NVMEM support 2021-03-17 21:24:22 +01:00
ramips ramips: Fix booting on MTC WR1201 2021-04-18 12:04:19 +02:00
realtek kernel: bump 5.4 to 5.4.102 2021-03-06 15:51:54 +01:00
rockchip kernel: bump 5.4 to 5.4.111 2021-04-11 17:35:12 +02:00
sunxi sunxi: disable LPAE on cortexa8 2021-04-11 00:00:49 +02:00
tegra kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
uml target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
x86 kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
zynq kernel: move some disabled symbols to generic 2021-04-11 16:54:22 +02:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00