]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mvebu: sort patches
authorTomasz Maciej Nowak <tmn505@gmail.com>
Mon, 23 Nov 2020 13:59:45 +0000 (14:59 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 25 Nov 2020 12:57:50 +0000 (13:57 +0100)
Sort patches according to target/linux/generic/PATCHES. Additionally:
- replace hashes in backported patches with the ones from main Linux tree
- add descriptions to some patches

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
[remove 004-add_sata_disk_activity_trigger.patch separately]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
50 files changed:
target/linux/mvebu/patches-5.4/001-PCI-aardvark-Wait-for-endpoint-to-be-ready-before-tr.patch [moved from target/linux/mvebu/patches-5.4/402-PCI-aardvark-Wait-for-endpoint-to-be-ready-before-tr.patch with 100% similarity]
target/linux/mvebu/patches-5.4/002-PCI-aardvark-Don-t-rely-on-jiffies-while-holding-spi.patch [moved from target/linux/mvebu/patches-5.4/403-PCI-aardvark-Don-t-rely-on-jiffies-while-holding-spi.patch with 100% similarity]
target/linux/mvebu/patches-5.4/003-net-mvneta-introduce-mvneta_update_stats-routine.patch [moved from target/linux/mvebu/patches-5.4/010-net-mvneta-introduce-mvneta_update_stats-routine.patch with 97% similarity]
target/linux/mvebu/patches-5.4/004-net-mvneta-introduce-page-pool-API-for-sw-buffer-man.patch [moved from target/linux/mvebu/patches-5.4/011-net-mvneta-introduce-page-pool-API-for-sw-buffer-man.patch with 98% similarity]
target/linux/mvebu/patches-5.4/005-net-mvneta-rely-on-build_skb-in-mvneta_rx_swbm-poll-.patch [moved from target/linux/mvebu/patches-5.4/012-net-mvneta-rely-on-build_skb-in-mvneta_rx_swbm-poll-.patch with 99% similarity]
target/linux/mvebu/patches-5.4/006-net-mvneta-add-basic-XDP-support.patch [moved from target/linux/mvebu/patches-5.4/013-net-mvneta-add-basic-XDP-support.patch with 99% similarity]
target/linux/mvebu/patches-5.4/007-net-mvneta-move-header-prefetch-in-mvneta_swbm_rx_fr.patch [moved from target/linux/mvebu/patches-5.4/014-net-mvneta-move-header-prefetch-in-mvneta_swbm_rx_fr.patch with 95% similarity]
target/linux/mvebu/patches-5.4/008-net-mvneta-make-tx-buffer-array-agnostic.patch [moved from target/linux/mvebu/patches-5.4/015-net-mvneta-make-tx-buffer-array-agnostic.patch with 98% similarity]
target/linux/mvebu/patches-5.4/009-net-mvneta-add-XDP_TX-support.patch [moved from target/linux/mvebu/patches-5.4/016-net-mvneta-add-XDP_TX-support.patch with 98% similarity]
target/linux/mvebu/patches-5.4/010-net-mvneta-fix-build-skb-for-bm-capable-devices.patch [moved from target/linux/mvebu/patches-5.4/020-net-mvneta-fix-build-skb-for-bm-capable-devices.patch with 100% similarity]
target/linux/mvebu/patches-5.4/011-arm64-dts-uDPU-remove-i2c-fast-mode.patch [moved from target/linux/mvebu/patches-5.4/545-arm64-dts-uDPU-remove-i2c-fast-mode.patch with 76% similarity]
target/linux/mvebu/patches-5.4/012-arm64-dts-uDPU-SFP-cages-support-3W-modules.patch [moved from target/linux/mvebu/patches-5.4/546-arm64-dts-uDPU-SFP-cages-support-3W-modules.patch with 81% similarity]
target/linux/mvebu/patches-5.4/013-net-mvneta-rely-on-page_pool_recycle_direct-in-mvnet.patch [moved from target/linux/mvebu/patches-5.4/021-net-mvneta-rely-on-page_pool_recycle_direct-in-mvnet.patch with 100% similarity]
target/linux/mvebu/patches-5.4/014-mvneta-driver-disallow-XDP-program-on-hardware-buffe.patch [moved from target/linux/mvebu/patches-5.4/022-mvneta-driver-disallow-XDP-program-on-hardware-buffe.patch with 100% similarity]
target/linux/mvebu/patches-5.4/015-net-mvneta-fix-XDP-support-if-sw-bm-is-used-as-fallb.patch [moved from target/linux/mvebu/patches-5.4/023-net-mvneta-fix-XDP-support-if-sw-bm-is-used-as-fallb.patch with 100% similarity]
target/linux/mvebu/patches-5.4/016-PCI-aardvark-Train-link-immediately-after-enabling-t.patch [moved from target/linux/mvebu/patches-5.4/404-PCI-aardvark-Train-link-immediately-after-enabling-t.patch with 100% similarity]
target/linux/mvebu/patches-5.4/017-PCI-aardvark-Improve-link-training.patch [moved from target/linux/mvebu/patches-5.4/405-PCI-aardvark-Improve-link-training.patch with 100% similarity]
target/linux/mvebu/patches-5.4/018-PCI-aardvark-Issue-PERST-via-GPIO.patch [moved from target/linux/mvebu/patches-5.4/406-PCI-aardvark-Issue-PERST-via-GPIO.patch with 100% similarity]
target/linux/mvebu/patches-5.4/019-PCI-aardvark-Add-PHY-support.patch [moved from target/linux/mvebu/patches-5.4/407-PCI-aardvark-Add-PHY-support.patch with 100% similarity]
target/linux/mvebu/patches-5.4/020-arm64-dts-marvell-armada-37xx-Set-pcie_reset_pin-to-.patch [moved from target/linux/mvebu/patches-5.4/552-arm64-dts-marvell-armada-37xx-Set-pcie_reset_pin-to-.patch with 99% similarity]
target/linux/mvebu/patches-5.4/021-arm64-dts-marvell-armada-37xx-Move-PCIe-comphy-handl.patch [moved from target/linux/mvebu/patches-5.4/553-arm64-dts-marvell-armada-37xx-Move-PCIe-comphy-handl.patch with 99% similarity]
target/linux/mvebu/patches-5.4/022-arm64-dts-marvell-armada-37xx-Move-PCIe-max-link-spe.patch [moved from target/linux/mvebu/patches-5.4/554-arm64-dts-marvell-armada-37xx-Move-PCIe-max-link-spe.patch with 98% similarity]
target/linux/mvebu/patches-5.4/023-arm64-dts-add-uDPU-i2c-bus-recovery.patch [moved from target/linux/mvebu/patches-5.4/551-v5.8-arm64-dts-add-uDPU-i2c-bus-recovery.patch with 72% similarity]
target/linux/mvebu/patches-5.4/024-PCI-aardvark-Don-t-touch-PCIe-registers-if-no-card-c.patch [moved from target/linux/mvebu/patches-5.4/408-PCI-aardvark-Don-t-touch-PCIe-registers-if-no-card-c.patch with 100% similarity]
target/linux/mvebu/patches-5.4/025-power-reset-add-driver-for-LinkStation-power-off.patch [moved from target/linux/mvebu/patches-5.4/030-linkstation-poweroff.patch with 79% similarity]
target/linux/mvebu/patches-5.4/026-PCI-aardvark-Fix-initialization-with-old-Marvell-s-A.patch [moved from target/linux/mvebu/patches-5.4/410-PCI-aardvark-Fix-initialization-with-old-Marvell-s-A.patch with 100% similarity]
target/linux/mvebu/patches-5.4/027-arm64-dts-marvell-espressobin-Add-ethernet-switch-al.patch [moved from target/linux/mvebu/patches-5.4/521-arm64-dts-marvell-espressobin-Add-ethernet-switch-al.patch with 100% similarity]
target/linux/mvebu/patches-5.4/300-mvebu-Mangle-bootloader-s-kernel-arguments.patch [moved from target/linux/mvebu/patches-5.4/006-mvebu-Mangle-bootloader-s-kernel-arguments.patch with 100% similarity]
target/linux/mvebu/patches-5.4/301-mvebu-armada-38x-enable-libata-leds.patch [moved from target/linux/mvebu/patches-5.4/561-mvebu-armada-38x-enable-libata-leds.patch with 100% similarity]
target/linux/mvebu/patches-5.4/302-add_powertables.patch [moved from target/linux/mvebu/patches-5.4/002-add_powertables.patch with 100% similarity]
target/linux/mvebu/patches-5.4/303-linksys_hardcode_nand_ecc_settings.patch [moved from target/linux/mvebu/patches-5.4/005-linksys_hardcode_nand_ecc_settings.patch with 100% similarity]
target/linux/mvebu/patches-5.4/304-revert_i2c_delay.patch [moved from target/linux/mvebu/patches-5.4/102-revert_i2c_delay.patch with 100% similarity]
target/linux/mvebu/patches-5.4/305-armada-385-rd-mtd-partitions.patch [moved from target/linux/mvebu/patches-5.4/205-armada-385-rd-mtd-partitions.patch with 100% similarity]
target/linux/mvebu/patches-5.4/306-ARM-mvebu-385-ap-Add-partitions.patch [moved from target/linux/mvebu/patches-5.4/206-ARM-mvebu-385-ap-Add-partitions.patch with 100% similarity]
target/linux/mvebu/patches-5.4/307-armada-xp-linksys-mamba-broken-idle.patch [moved from target/linux/mvebu/patches-5.4/230-armada-xp-linksys-mamba-broken-idle.patch with 100% similarity]
target/linux/mvebu/patches-5.4/308-armada-xp-linksys-mamba-wan.patch [moved from target/linux/mvebu/patches-5.4/231-armada-xp-linksys-mamba-wan.patch with 100% similarity]
target/linux/mvebu/patches-5.4/309-linksys-status-led.patch [moved from target/linux/mvebu/patches-5.4/240-linksys-status-led.patch with 100% similarity]
target/linux/mvebu/patches-5.4/310-linksys-use-eth0-as-cpu-port.patch [moved from target/linux/mvebu/patches-5.4/241-linksys-use-eth0-as-cpu-port.patch with 100% similarity]
target/linux/mvebu/patches-5.4/311-adjust-compatible-for-linksys.patch [moved from target/linux/mvebu/patches-5.4/250-adjust-compatible-for-linksys.patch with 100% similarity]
target/linux/mvebu/patches-5.4/312-ARM-dts-armada388-clearfog-emmc-on-clearfog-base.patch [moved from target/linux/mvebu/patches-5.4/412-ARM-dts-armada388-clearfog-emmc-on-clearfog-base.patch with 100% similarity]
target/linux/mvebu/patches-5.4/312-helios4-dts-status-led-alias.patch [moved from target/linux/mvebu/patches-5.4/560-helios4-dts-status-led-alias.patch with 100% similarity]
target/linux/mvebu/patches-5.4/314-arm64-dts-marvell-armada37xx-Add-eth0-alias.patch [moved from target/linux/mvebu/patches-5.4/520-arm64-dts-marvell-armada37xx-Add-eth0-alias.patch with 100% similarity]
target/linux/mvebu/patches-5.4/315-arm64-dts-marvell-armada-3720-espressobin-add-ports-.patch [moved from target/linux/mvebu/patches-5.4/522-arm64-dts-marvell-armada-3720-espressobin-add-ports-.patch with 100% similarity]
target/linux/mvebu/patches-5.4/316-arm64-dts-marvell-espressobin-remove-COMPHY-nodes-as.patch [moved from target/linux/mvebu/patches-5.4/523-arm64-dts-marvell-espressobin-remove-COMPHY-nodes-as.patch with 100% similarity]
target/linux/mvebu/patches-5.4/317-arm64-dts-uDPU-switch-PHY-operation-mode-to-2500base.patch [new file with mode: 0644]
target/linux/mvebu/patches-5.4/400-find_active_root.patch [moved from target/linux/mvebu/patches-5.4/100-find_active_root.patch with 100% similarity]
target/linux/mvebu/patches-5.4/550-arm64-dts-uDPU-switch-PHY-operation-mode-to-2500base.patch [deleted file]
target/linux/mvebu/patches-5.4/700-mvneta-tx-queue-workaround.patch [moved from target/linux/mvebu/patches-5.4/300-mvneta-tx-queue-workaround.patch with 100% similarity]
target/linux/mvebu/patches-5.4/800-cpuidle-mvebu-indicate-failure-to-enter-deeper-sleep.patch [moved from target/linux/mvebu/patches-5.4/400-cpuidle-mvebu-indicate-failure-to-enter-deeper-sleep.patch with 100% similarity]
target/linux/mvebu/patches-5.4/801-pci-mvebu-time-out-reset-on-link-up.patch [moved from target/linux/mvebu/patches-5.4/401-pci-mvebu-time-out-reset-on-link-up.patch with 100% similarity]

similarity index 97%
rename from target/linux/mvebu/patches-5.4/010-net-mvneta-introduce-mvneta_update_stats-routine.patch
rename to target/linux/mvebu/patches-5.4/003-net-mvneta-introduce-mvneta_update_stats-routine.patch
index 2c8ed30e4a4856325b67397e37e14c15eb8e4258..f6ce6163cff2901136e3f847ed533fd565fc40ac 100644 (file)
@@ -1,4 +1,4 @@
-From 06815202344ee6c256b63e68c16cdc3b0480f4ee Mon Sep 17 00:00:00 2001
+From ff519e2acd463bff6c5bb4e8d7ed350c9bae885b Mon Sep 17 00:00:00 2001
 From: Lorenzo Bianconi <lorenzo@kernel.org>
 Date: Sat, 19 Oct 2019 10:13:21 +0200
 Subject: [PATCH 1/7] net: mvneta: introduce mvneta_update_stats routine
similarity index 98%
rename from target/linux/mvebu/patches-5.4/011-net-mvneta-introduce-page-pool-API-for-sw-buffer-man.patch
rename to target/linux/mvebu/patches-5.4/004-net-mvneta-introduce-page-pool-API-for-sw-buffer-man.patch
index dbed6df873557ac5ad8e262e66813fed8fdebdd9..fbcae20f742488718c28a785a59950c7b129ded7 100644 (file)
@@ -1,4 +1,4 @@
-From 160f006a6fe904177cbca867c48dfb6d27262dd5 Mon Sep 17 00:00:00 2001
+From 568a3fa24a95476d40afe3f8616bafb543bc4182 Mon Sep 17 00:00:00 2001
 From: Lorenzo Bianconi <lorenzo@kernel.org>
 Date: Sat, 19 Oct 2019 10:13:22 +0200
 Subject: [PATCH 2/7] net: mvneta: introduce page pool API for sw buffer
similarity index 99%
rename from target/linux/mvebu/patches-5.4/012-net-mvneta-rely-on-build_skb-in-mvneta_rx_swbm-poll-.patch
rename to target/linux/mvebu/patches-5.4/005-net-mvneta-rely-on-build_skb-in-mvneta_rx_swbm-poll-.patch
index e3269a592f1768dfabc44e397eeeccf79e7d4196..9038ca8ca8da0ff15876c6ba59187f9c08f4aa4c 100644 (file)
@@ -1,4 +1,4 @@
-From 00cf2a1d7d58631ba137b9acabe1de1d542625a8 Mon Sep 17 00:00:00 2001
+From 8dc9a0888f4c8e27b25e48ff1b4bc2b3a845cc2d Mon Sep 17 00:00:00 2001
 From: Lorenzo Bianconi <lorenzo@kernel.org>
 Date: Sat, 19 Oct 2019 10:13:23 +0200
 Subject: [PATCH 3/7] net: mvneta: rely on build_skb in mvneta_rx_swbm poll
similarity index 99%
rename from target/linux/mvebu/patches-5.4/013-net-mvneta-add-basic-XDP-support.patch
rename to target/linux/mvebu/patches-5.4/006-net-mvneta-add-basic-XDP-support.patch
index 62c00ddeb19376934d0cb61afeb1436ee7781b76..163632df513ad649c814f9540add3b7be2101fc8 100644 (file)
@@ -1,4 +1,4 @@
-From f21366d964bd41a2b823beed36a7c3e7a728857b Mon Sep 17 00:00:00 2001
+From 0db51da7a8e99f0803ec3a8e25c1a66234a219cb Mon Sep 17 00:00:00 2001
 From: Lorenzo Bianconi <lorenzo@kernel.org>
 Date: Sat, 19 Oct 2019 10:13:24 +0200
 Subject: [PATCH 4/7] net: mvneta: add basic XDP support
similarity index 95%
rename from target/linux/mvebu/patches-5.4/014-net-mvneta-move-header-prefetch-in-mvneta_swbm_rx_fr.patch
rename to target/linux/mvebu/patches-5.4/007-net-mvneta-move-header-prefetch-in-mvneta_swbm_rx_fr.patch
index ecda482875af7ba5b9331aa3866a14163664c770..e075796e41b844e73d105f936a96cdbc4306a5a5 100644 (file)
@@ -1,4 +1,4 @@
-From 8abaeebfa7ef9a5600f4f596d2e94aa253f47553 Mon Sep 17 00:00:00 2001
+From fa383f6b77a2ed788266fa8fbfb659aa284d2f58 Mon Sep 17 00:00:00 2001
 From: Lorenzo Bianconi <lorenzo@kernel.org>
 Date: Sat, 19 Oct 2019 10:13:25 +0200
 Subject: [PATCH 5/7] net: mvneta: move header prefetch in mvneta_swbm_rx_frame
similarity index 98%
rename from target/linux/mvebu/patches-5.4/015-net-mvneta-make-tx-buffer-array-agnostic.patch
rename to target/linux/mvebu/patches-5.4/008-net-mvneta-make-tx-buffer-array-agnostic.patch
index 1146c1f2b8696df90782e08fde22d86c8df12965..e79aa816b88605a67e0aae3696aee7626521914f 100644 (file)
@@ -1,4 +1,4 @@
-From f7f705a63cd4bd1e3463db7662011717c5149e8a Mon Sep 17 00:00:00 2001
+From 9e58c8b410650b5a6eb5b8fad8474bd8425a4023 Mon Sep 17 00:00:00 2001
 From: Lorenzo Bianconi <lorenzo@kernel.org>
 Date: Sat, 19 Oct 2019 10:13:26 +0200
 Subject: [PATCH 6/7] net: mvneta: make tx buffer array agnostic
similarity index 98%
rename from target/linux/mvebu/patches-5.4/016-net-mvneta-add-XDP_TX-support.patch
rename to target/linux/mvebu/patches-5.4/009-net-mvneta-add-XDP_TX-support.patch
index 012bdee8bf3075939722e0c4b024f5a174f1c885..c971030a1edb20d41e0afbc7006b29fabab37e73 100644 (file)
@@ -1,4 +1,4 @@
-From 2ca7bbf394e6d98741f19566b82b3d5a56e9cc2c Mon Sep 17 00:00:00 2001
+From b0a43db9087a21d96e1a0b716b8d9963064b2d58 Mon Sep 17 00:00:00 2001
 From: Lorenzo Bianconi <lorenzo@kernel.org>
 Date: Sat, 19 Oct 2019 10:13:27 +0200
 Subject: [PATCH 7/7] net: mvneta: add XDP_TX support
similarity index 76%
rename from target/linux/mvebu/patches-5.4/545-arm64-dts-uDPU-remove-i2c-fast-mode.patch
rename to target/linux/mvebu/patches-5.4/011-arm64-dts-uDPU-remove-i2c-fast-mode.patch
index b984eb4ba16d6ecbbadf908d9ea33f9f13c65879..2922d49f44940e0b6d7ad4e97f64d56cb3d7c9ed 100644 (file)
@@ -1,12 +1,13 @@
-From 662eb8fc87f982e63ccb9a9df25c7aeabf9fe341 Mon Sep 17 00:00:00 2001
+From fe3ec631a77ded87817f449691710a436a80caa7 Mon Sep 17 00:00:00 2001
 From: Russell King <rmk+kernel@armlinux.org.uk>
-Date: Thu, 14 Nov 2019 00:23:35 +0000
-Subject: [PATCH 658/660] arm64: dts: uDPU: remove i2c-fast-mode
+Date: Sat, 16 Nov 2019 11:07:01 +0000
+Subject: [PATCH] arm64: dts: uDPU: remove i2c-fast-mode
 
 The I2C bus violates the timing specifications when run in fast mode
 on the uDPU, so switch to 100kHz mode.
 
 Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
+Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
 ---
  arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 2 ++
  1 file changed, 2 insertions(+)
similarity index 81%
rename from target/linux/mvebu/patches-5.4/546-arm64-dts-uDPU-SFP-cages-support-3W-modules.patch
rename to target/linux/mvebu/patches-5.4/012-arm64-dts-uDPU-SFP-cages-support-3W-modules.patch
index d025f36a53c1c4b934a3a7277f1a3549d3a6056f..1884def2c6994bddb5bf9c687848198195062746 100644 (file)
@@ -1,7 +1,7 @@
-From 1cb114a20854e34324a2cb308f23054ff8227ffa Mon Sep 17 00:00:00 2001
+From cd592187f9de3c6305d6c1c66f7fac084cb5b846 Mon Sep 17 00:00:00 2001
 From: Russell King <rmk+kernel@armlinux.org.uk>
-Date: Tue, 19 Nov 2019 22:48:50 +0000
-Subject: [PATCH 659/660] arm64: dts: uDPU: SFP cages support 3W modules
+Date: Tue, 19 Nov 2019 22:53:04 +0000
+Subject: [PATCH] arm64: dts: uDPU: SFP cages support 3W modules
 
 The SFP cages are designed to support up to 3W modules, such as G.hn,
 G.fast and MoCA modules. Although there is no way for such modules to
@@ -9,6 +9,7 @@ declare to software that they consume 3W, we document in DT that this
 is the designed power level for these cages.
 
 Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
+Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
 ---
  arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts | 2 ++
  1 file changed, 2 insertions(+)
similarity index 99%
rename from target/linux/mvebu/patches-5.4/552-arm64-dts-marvell-armada-37xx-Set-pcie_reset_pin-to-.patch
rename to target/linux/mvebu/patches-5.4/020-arm64-dts-marvell-armada-37xx-Set-pcie_reset_pin-to-.patch
index 9eeddaeba1600ec86940f145f1fe377d0a75f43c..87247b63ad7b23deb78530b03a7d877c1a028d74 100644 (file)
@@ -82,7 +82,7 @@ Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
        pinctrl-0 = <&pcie_reset_pins &pcie_clkreq_pins>;
 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
 +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
-@@ -318,7 +318,7 @@
+@@ -317,7 +317,7 @@
  
                                pcie_reset_pins: pcie-reset-pins {
                                        groups = "pcie1";
similarity index 99%
rename from target/linux/mvebu/patches-5.4/553-arm64-dts-marvell-armada-37xx-Move-PCIe-comphy-handl.patch
rename to target/linux/mvebu/patches-5.4/021-arm64-dts-marvell-armada-37xx-Move-PCIe-comphy-handl.patch
index 0c7830cb4750dbff21421f50b56159d01768fb4e..e92393ff6f74b449d87b5b799a0e5ccbb54e57fc 100644 (file)
@@ -47,7 +47,7 @@ Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
        status = "disabled";
 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
 +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
-@@ -494,6 +494,7 @@
+@@ -493,6 +493,7 @@
                                        <0 0 0 2 &pcie_intc 1>,
                                        <0 0 0 3 &pcie_intc 2>,
                                        <0 0 0 4 &pcie_intc 3>;
similarity index 98%
rename from target/linux/mvebu/patches-5.4/554-arm64-dts-marvell-armada-37xx-Move-PCIe-max-link-spe.patch
rename to target/linux/mvebu/patches-5.4/022-arm64-dts-marvell-armada-37xx-Move-PCIe-max-link-spe.patch
index 04002480cc5a07d75b1548e1008e972d9993edbd..ad918bef88761c4907f4ab4198e46c4cb0b82813 100644 (file)
@@ -34,7 +34,7 @@ Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
        /* enabled by U-Boot if PCIe module is present */
 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
 +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
-@@ -494,6 +494,7 @@
+@@ -493,6 +493,7 @@
                                        <0 0 0 2 &pcie_intc 1>,
                                        <0 0 0 3 &pcie_intc 2>,
                                        <0 0 0 4 &pcie_intc 3>;
similarity index 72%
rename from target/linux/mvebu/patches-5.4/551-v5.8-arm64-dts-add-uDPU-i2c-bus-recovery.patch
rename to target/linux/mvebu/patches-5.4/023-arm64-dts-add-uDPU-i2c-bus-recovery.patch
index 53916a59e6b00e9161f54d60ac8777dd0614b322..818fce85a8b620decb9cb3cd5acc57deb95d7022 100644 (file)
@@ -1,13 +1,11 @@
+From 11b2af36cc874027ce701c5784cb957c99c7de3d Mon Sep 17 00:00:00 2001
 From: Russell King <rmk+kernel@armlinux.org.uk>
-Bcc: linux@mail.armlinux.org.uk
-Cc: Vladimir Vid <vladimir.vid@sartura.hr>,Jason Cooper <jason@lakedaemon.net>,Andrew Lunn <andrew@lunn.ch>,Gregory Clement <gregory.clement@bootlin.com>,Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,Rob Herring <robh+dt@kernel.org>,Mark Rutland <mark.rutland@arm.com>,linux-arm-kernel@lists.infradead.org,devicetree@vger.kernel.org
+Date: Wed, 6 May 2020 10:40:37 +0100
 Subject: [PATCH] arm64: dts: add uDPU i2c bus recovery
-MIME-Version: 1.0
-Content-Disposition: inline
-Content-Transfer-Encoding: 8bit
-Content-Type: text/plain; charset="utf-8"
 
 Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
+Reviewed-by: Andrew Lunn <andrew@lunn.ch>
+Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
 ---
  .../boot/dts/marvell/armada-3720-uDPU.dts     | 22 +++++++++++++++++--
  1 file changed, 20 insertions(+), 2 deletions(-)
similarity index 79%
rename from target/linux/mvebu/patches-5.4/030-linkstation-poweroff.patch
rename to target/linux/mvebu/patches-5.4/025-power-reset-add-driver-for-LinkStation-power-off.patch
index 7b7e8cd0344ee3ea6fe8e3dc36084f652602678f..64ea26559e17a11af4745c8a4767424f332bb08a 100644 (file)
@@ -1,3 +1,33 @@
+From a7f79f99541eff4e6bcae0014eb08d3019337565 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Daniel=20Gonz=C3=A1lez=20Cabanelas?= <dgcbueu@gmail.com>
+Date: Wed, 15 Jul 2020 15:35:14 +0200
+Subject: [PATCH] power: reset: add driver for LinkStation power off
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Some Buffalo LinkStations perform the power off operation, at restart
+time, depending on the state of an output pin (LED2/INTn) at the ethernet
+PHY. This pin is also used to wake the machine when a WoL packet is
+received by the PHY.
+
+The driver is required by the Buffalo LinkStation LS421DE (ARM MVEBU),
+and other models. Without it, the board remains forever halted if a
+power off command is executed, unless the PSU is disconnected and
+connected again.
+
+Add the driver to provide the power off function and also make the WoL
+feature to be available.
+
+Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
+Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
+---
+ drivers/power/reset/Kconfig                |  11 ++
+ drivers/power/reset/Makefile               |   1 +
+ drivers/power/reset/linkstation-poweroff.c | 136 +++++++++++++++++++++
+ 3 files changed, 148 insertions(+)
+ create mode 100644 drivers/power/reset/linkstation-poweroff.c
+
 --- a/drivers/power/reset/Kconfig
 +++ b/drivers/power/reset/Kconfig
 @@ -99,6 +99,17 @@ config POWER_RESET_HISI
 +              __phy_read(phydev, MII_M1011_IEVENT);
 +
 +              /* If WOL was enabled and a magic packet was received before powering
-+               * off, we won't be able to wake up by sending another magic packet. 
++               * off, we won't be able to wake up by sending another magic packet.
 +               * Clear WOL status.
 +               */
 +              __phy_write(phydev, MII_MARVELL_PHY_PAGE, MII_MARVELL_WOL_PAGE);
diff --git a/target/linux/mvebu/patches-5.4/317-arm64-dts-uDPU-switch-PHY-operation-mode-to-2500base.patch b/target/linux/mvebu/patches-5.4/317-arm64-dts-uDPU-switch-PHY-operation-mode-to-2500base.patch
new file mode 100644 (file)
index 0000000..2240d0b
--- /dev/null
@@ -0,0 +1,34 @@
+Certain SFP modules (most notably Nokia GPON ones) first check
+connectivity on 1000base-x, and switch to 2500base-x afterwards. This
+is considered a quirk so the phylink switches the interface to
+2500base-x as well.
+
+However, after power-cycling the uDPU device, network interface/SFP module
+will not work correctly until the module is re-seated. This patch
+resolves this issue by forcing the interface to be brought up in
+2500base-x mode by default.
+
+Signed-off-by: Jakov Petrina <jakov.petrina@sartura.hr>
+Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr>
+Cc: Luka Perkov <luka.perkov@sartura.hr>
+
+--- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
++++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
+@@ -162,7 +162,7 @@
+ };
+ &eth0 {
+-      phy-mode = "sgmii";
++      phy-mode = "2500base-x";
+       status = "okay";
+       managed = "in-band-status";
+       phys = <&comphy1 0>;
+@@ -170,7 +170,7 @@
+ };
+ &eth1 {
+-      phy-mode = "sgmii";
++      phy-mode = "2500base-x";
+       status = "okay";
+       managed = "in-band-status";
+       phys = <&comphy0 1>;
diff --git a/target/linux/mvebu/patches-5.4/550-arm64-dts-uDPU-switch-PHY-operation-mode-to-2500base.patch b/target/linux/mvebu/patches-5.4/550-arm64-dts-uDPU-switch-PHY-operation-mode-to-2500base.patch
deleted file mode 100644 (file)
index 8271531..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
-+++ b/arch/arm64/boot/dts/marvell/armada-3720-uDPU.dts
-@@ -144,7 +144,7 @@
- };
- &eth0 {
--      phy-mode = "sgmii";
-+      phy-mode = "2500base-x";
-       status = "okay";
-       managed = "in-band-status";
-       phys = <&comphy1 0>;
-@@ -152,7 +152,7 @@
- };
- &eth1 {
--      phy-mode = "sgmii";
-+      phy-mode = "2500base-x";
-       status = "okay";
-       managed = "in-band-status";
-       phys = <&comphy0 1>;