openwrt/target/linux/mvebu/patches-5.10
Daniel González Cabanelas 2e1ebe96c6 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>
2021-04-17 21:56:05 +02:00
..
001-v5.11-arm64-dts-mcbin-singleshot-add-heartbeat-LED.patch mvebu: fix the patch numbering 2021-02-23 18:31:35 +01:00
002-v5.11-ARM-dts-turris-omnia-enable-HW-buffer-management.patch mvebu: fix the Turris Omnia device tree 2021-02-23 18:31:35 +01:00
100-ARM-dts-turris-omnia-fix-hardware-buffer-management.patch kernel: bump version 5.10 to 5.10.18 2021-02-24 18:45:59 +01:00
300-mvebu-Mangle-bootloader-s-kernel-arguments.patch
301-mvebu-armada-38x-enable-libata-leds.patch
302-add_powertables.patch
303-linksys_hardcode_nand_ecc_settings.patch
304-revert_i2c_delay.patch
305-armada-385-rd-mtd-partitions.patch
306-ARM-mvebu-385-ap-Add-partitions.patch
307-armada-xp-linksys-mamba-broken-idle.patch
308-armada-xp-linksys-mamba-wan.patch
309-linksys-status-led.patch
310-linksys-use-eth0-as-cpu-port.patch
311-adjust-compatible-for-linksys.patch
312-ARM-dts-armada388-clearfog-emmc-on-clearfog-base.patch
313-helios4-dts-status-led-alias.patch kernel: bump 5.10 to 5.10.20 2021-03-05 20:35:01 +01:00
314-arm64-dts-marvell-armada37xx-Add-eth0-alias.patch
315-arm64-dts-uDPU-switch-PHY-operation-mode-to-2500base.patch mvebu: fix the patch numbering 2021-02-23 18:31:35 +01:00
316-armada-xp-linksys-mamba-resize-kernel.patch mvebu: mamba resize kernel to 4MB 2021-03-19 15:30:01 +01:00
317-armada-370-dts-fix-crypto-engine.patch mvebu: armada 370: dts: fix the crypto engine 2021-04-17 21:56:05 +02:00
400-find_active_root.patch kernel: backport 5.13 mtd partitioning changes 2021-03-29 08:46:17 +02:00
700-mvneta-tx-queue-workaround.patch kernel: bump 5.10 to 5.10.20 2021-03-05 20:35:01 +01:00
800-cpuidle-mvebu-indicate-failure-to-enter-deeper-sleep.patch
801-pci-mvebu-time-out-reset-on-link-up.patch