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
002-PCI-aardvark-Don-t-rely-on-jiffies-while-holding-spi.patch
003-net-mvneta-introduce-mvneta_update_stats-routine.patch
004-net-mvneta-introduce-page-pool-API-for-sw-buffer-man.patch
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
007-net-mvneta-move-header-prefetch-in-mvneta_swbm_rx_fr.patch
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
011-arm64-dts-uDPU-remove-i2c-fast-mode.patch
012-arm64-dts-uDPU-SFP-cages-support-3W-modules.patch
013-net-mvneta-rely-on-page_pool_recycle_direct-in-mvnet.patch
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
017-PCI-aardvark-Improve-link-training.patch
018-PCI-aardvark-Issue-PERST-via-GPIO.patch
019-PCI-aardvark-Add-PHY-support.patch
020-arm64-dts-marvell-armada-37xx-Set-pcie_reset_pin-to-.patch
021-arm64-dts-marvell-armada-37xx-Move-PCIe-comphy-handl.patch
022-arm64-dts-marvell-armada-37xx-Move-PCIe-max-link-spe.patch
023-arm64-dts-add-uDPU-i2c-bus-recovery.patch
024-PCI-aardvark-Don-t-touch-PCIe-registers-if-no-card-c.patch
025-power-reset-add-driver-for-LinkStation-power-off.patch
026-PCI-aardvark-Fix-initialization-with-old-Marvell-s-A.patch
027-arm64-dts-marvell-espressobin-Add-ethernet-switch-al.patch
028-arm64-dts-mcbin-singleshot-add-heartbeat-LED.patch
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
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
315-arm64-dts-marvell-armada-3720-espressobin-add-ports-.patch
316-arm64-dts-uDPU-switch-PHY-operation-mode-to-2500base.patch
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
801-pci-mvebu-time-out-reset-on-link-up.patch