openwrt/target/linux/mvebu/patches-5.4
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-PCI-aardvark-Wait-for-endpoint-to-be-ready-before-tr.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
002-PCI-aardvark-Don-t-rely-on-jiffies-while-holding-spi.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
003-net-mvneta-introduce-mvneta_update_stats-routine.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
004-net-mvneta-introduce-page-pool-API-for-sw-buffer-man.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
005-net-mvneta-rely-on-build_skb-in-mvneta_rx_swbm-poll-.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
006-net-mvneta-add-basic-XDP-support.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
007-gpio-mvebu-avoid_error_message_for_optional_IRQ.patch kernel: bump 5.4 to 5.4.94 2021-02-01 19:10:43 +01:00
007-net-mvneta-move-header-prefetch-in-mvneta_swbm_rx_fr.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
008-net-mvneta-make-tx-buffer-array-agnostic.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
009-net-mvneta-add-XDP_TX-support.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
010-net-mvneta-fix-build-skb-for-bm-capable-devices.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
011-arm64-dts-uDPU-remove-i2c-fast-mode.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
012-arm64-dts-uDPU-SFP-cages-support-3W-modules.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
013-net-mvneta-rely-on-page_pool_recycle_direct-in-mvnet.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
014-mvneta-driver-disallow-XDP-program-on-hardware-buffe.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
015-net-mvneta-fix-XDP-support-if-sw-bm-is-used-as-fallb.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
016-PCI-aardvark-Train-link-immediately-after-enabling-t.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
017-PCI-aardvark-Improve-link-training.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
018-PCI-aardvark-Issue-PERST-via-GPIO.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
019-PCI-aardvark-Add-PHY-support.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
020-arm64-dts-marvell-armada-37xx-Set-pcie_reset_pin-to-.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
021-arm64-dts-marvell-armada-37xx-Move-PCIe-comphy-handl.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
022-arm64-dts-marvell-armada-37xx-Move-PCIe-max-link-spe.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
023-arm64-dts-add-uDPU-i2c-bus-recovery.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
024-PCI-aardvark-Don-t-touch-PCIe-registers-if-no-card-c.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
025-power-reset-add-driver-for-LinkStation-power-off.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
026-PCI-aardvark-Fix-initialization-with-old-Marvell-s-A.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
027-arm64-dts-marvell-espressobin-Add-ethernet-switch-al.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
028-arm64-dts-mcbin-singleshot-add-heartbeat-LED.patch mvebu: macchiatobin-singleshot: enable heartbeat LED 2020-12-20 00:00:33 +01:00
300-mvebu-Mangle-bootloader-s-kernel-arguments.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
301-mvebu-armada-38x-enable-libata-leds.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
302-add_powertables.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
303-linksys_hardcode_nand_ecc_settings.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
304-revert_i2c_delay.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
305-armada-385-rd-mtd-partitions.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
306-ARM-mvebu-385-ap-Add-partitions.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
307-armada-xp-linksys-mamba-broken-idle.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
308-armada-xp-linksys-mamba-wan.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
309-linksys-status-led.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
310-linksys-use-eth0-as-cpu-port.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
311-adjust-compatible-for-linksys.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
312-ARM-dts-armada388-clearfog-emmc-on-clearfog-base.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
312-helios4-dts-status-led-alias.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
314-arm64-dts-marvell-armada37xx-Add-eth0-alias.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
315-arm64-dts-marvell-armada-3720-espressobin-add-ports-.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
316-arm64-dts-uDPU-switch-PHY-operation-mode-to-2500base.patch mvebu: espressobin: drop COMPHY removement patch 2021-02-14 09:34:57 +01:00
317-ARM-dts-turris-omnia-enable-HW-buffer-management.patch mvebu/omnia: fix the device tree 2021-03-01 00:34:22 +01:00
318-ARM-dts-turris-omnia-fix-hardware-buffer-management.patch mvebu/omnia: fix the device tree 2021-03-01 00:34:22 +01:00
318-armada-xp-linksys-mamba-resize-kernel.patch mvebu: mamba resize kernel to 4MB 2021-03-19 15:30:01 +01:00
320-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-5.4: bump to 5.4.102 and refresh patches 2021-03-04 22:06:53 +01:00
800-cpuidle-mvebu-indicate-failure-to-enter-deeper-sleep.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00
801-pci-mvebu-time-out-reset-on-link-up.patch mvebu: sort patches 2020-11-25 13:57:50 +01:00