From 000295f8baf25bed023c651bf48409c5ac4b7724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Tue, 19 Jan 2016 20:59:10 +0000 Subject: [PATCH] bcm53xx: move iProc patches that went mainline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rafał Miłecki SVN-Revision: 48370 --- ...> 036-0001-PCI-iproc-Fix-code-comment-to-match-code.patch} | 2 +- ...0002-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch} | 2 +- ...CI-iproc-Call-pci_fixup_irqs-for-ARM64-as-well-as-A.patch} | 4 ++-- ...ic.patch => 036-0004-PCI-iproc-Fix-PCIe-reset-logic.patch} | 2 +- ... => 036-0005-PCI-iproc-Improve-link-detection-logic.patch} | 2 +- ...036-0006-PCI-iproc-Update-PCIe-device-tree-bindings.patch} | 2 +- ... => 036-0007-PCI-iproc-Add-outbound-mapping-support.patch} | 2 +- ...CI-iproc-Fix-header-comment-Corporation-misspelling.patch} | 3 +-- 8 files changed, 9 insertions(+), 10 deletions(-) rename target/linux/bcm53xx/patches-4.1/{140-PCI-iproc-Fix-code-comment-to-match-code.patch => 036-0001-PCI-iproc-Fix-code-comment-to-match-code.patch} (93%) rename target/linux/bcm53xx/patches-4.1/{141-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch => 036-0002-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch} (91%) rename target/linux/bcm53xx/patches-4.1/{142-PCI-iproc-Call-pci_fixup_irqs-for-ARM64-as-well-as-A.patch => 036-0003-PCI-iproc-Call-pci_fixup_irqs-for-ARM64-as-well-as-A.patch} (91%) rename target/linux/bcm53xx/patches-4.1/{143-PCI-iproc-Fix-PCIe-reset-logic.patch => 036-0004-PCI-iproc-Fix-PCIe-reset-logic.patch} (97%) rename target/linux/bcm53xx/patches-4.1/{144-PCI-iproc-Improve-link-detection-logic.patch => 036-0005-PCI-iproc-Improve-link-detection-logic.patch} (97%) rename target/linux/bcm53xx/patches-4.1/{145-PCI-iproc-Update-PCIe-device-tree-bindings.patch => 036-0006-PCI-iproc-Update-PCIe-device-tree-bindings.patch} (95%) rename target/linux/bcm53xx/patches-4.1/{146-PCI-iproc-Add-outbound-mapping-support.patch => 036-0007-PCI-iproc-Add-outbound-mapping-support.patch} (99%) rename target/linux/bcm53xx/patches-4.1/{147-PCI-iproc-Fix-header-comment-Corporation-misspelling.patch => 037-PCI-iproc-Fix-header-comment-Corporation-misspelling.patch} (90%) diff --git a/target/linux/bcm53xx/patches-4.1/140-PCI-iproc-Fix-code-comment-to-match-code.patch b/target/linux/bcm53xx/patches-4.1/036-0001-PCI-iproc-Fix-code-comment-to-match-code.patch similarity index 93% rename from target/linux/bcm53xx/patches-4.1/140-PCI-iproc-Fix-code-comment-to-match-code.patch rename to target/linux/bcm53xx/patches-4.1/036-0001-PCI-iproc-Fix-code-comment-to-match-code.patch index c018105159..edcfd55850 100644 --- a/target/linux/bcm53xx/patches-4.1/140-PCI-iproc-Fix-code-comment-to-match-code.patch +++ b/target/linux/bcm53xx/patches-4.1/036-0001-PCI-iproc-Fix-code-comment-to-match-code.patch @@ -1,7 +1,7 @@ From 5d92f41c48c5e3c6fa5be87e3d6fca57e2fbb127 Mon Sep 17 00:00:00 2001 From: Ray Jui Date: Tue, 15 Sep 2015 17:39:15 -0700 -Subject: [PATCH 140/147] PCI: iproc: Fix code comment to match code +Subject: [PATCH 1/7] PCI: iproc: Fix code comment to match code Fix code comment in pcie-iproc.h so it matches the code. diff --git a/target/linux/bcm53xx/patches-4.1/141-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch b/target/linux/bcm53xx/patches-4.1/036-0002-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch similarity index 91% rename from target/linux/bcm53xx/patches-4.1/141-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch rename to target/linux/bcm53xx/patches-4.1/036-0002-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch index e16822fae7..b81ff6d724 100644 --- a/target/linux/bcm53xx/patches-4.1/141-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch +++ b/target/linux/bcm53xx/patches-4.1/036-0002-PCI-iproc-Remove-unused-struct-iproc_pcie.irqs.patch @@ -1,7 +1,7 @@ From 98aac697a83db6e1d004e5d61cf6c976a0b1c35a Mon Sep 17 00:00:00 2001 From: Ray Jui Date: Tue, 15 Sep 2015 17:39:16 -0700 -Subject: [PATCH 141/147] PCI: iproc: Remove unused struct iproc_pcie.irqs[] +Subject: [PATCH 2/7] PCI: iproc: Remove unused struct iproc_pcie.irqs[] Remove unused struct iproc_pcie member irqs[] and unused #define IPROC_PCIE_MAX_NUM_IRQS. diff --git a/target/linux/bcm53xx/patches-4.1/142-PCI-iproc-Call-pci_fixup_irqs-for-ARM64-as-well-as-A.patch b/target/linux/bcm53xx/patches-4.1/036-0003-PCI-iproc-Call-pci_fixup_irqs-for-ARM64-as-well-as-A.patch similarity index 91% rename from target/linux/bcm53xx/patches-4.1/142-PCI-iproc-Call-pci_fixup_irqs-for-ARM64-as-well-as-A.patch rename to target/linux/bcm53xx/patches-4.1/036-0003-PCI-iproc-Call-pci_fixup_irqs-for-ARM64-as-well-as-A.patch index c309ef45f2..2b4b3ffb0d 100644 --- a/target/linux/bcm53xx/patches-4.1/142-PCI-iproc-Call-pci_fixup_irqs-for-ARM64-as-well-as-A.patch +++ b/target/linux/bcm53xx/patches-4.1/036-0003-PCI-iproc-Call-pci_fixup_irqs-for-ARM64-as-well-as-A.patch @@ -1,8 +1,8 @@ From bdb8a1844f3113ec08915d1e8e3fd5686fb2fb78 Mon Sep 17 00:00:00 2001 From: Ray Jui Date: Tue, 15 Sep 2015 17:39:17 -0700 -Subject: [PATCH 142/147] PCI: iproc: Call pci_fixup_irqs() for ARM64 as well - as ARM +Subject: [PATCH 3/7] PCI: iproc: Call pci_fixup_irqs() for ARM64 as well as + ARM After 459a07721c11 ("PCI: Build setup-irq.o for arm64"), we build setup-irq.o for arm64, so we can use pci_fixup_irqs() on both arm and diff --git a/target/linux/bcm53xx/patches-4.1/143-PCI-iproc-Fix-PCIe-reset-logic.patch b/target/linux/bcm53xx/patches-4.1/036-0004-PCI-iproc-Fix-PCIe-reset-logic.patch similarity index 97% rename from target/linux/bcm53xx/patches-4.1/143-PCI-iproc-Fix-PCIe-reset-logic.patch rename to target/linux/bcm53xx/patches-4.1/036-0004-PCI-iproc-Fix-PCIe-reset-logic.patch index b9020a5ac8..4da305ad8e 100644 --- a/target/linux/bcm53xx/patches-4.1/143-PCI-iproc-Fix-PCIe-reset-logic.patch +++ b/target/linux/bcm53xx/patches-4.1/036-0004-PCI-iproc-Fix-PCIe-reset-logic.patch @@ -1,7 +1,7 @@ From 199ff14100095d52cd1b232cc0f3b12f348b5b07 Mon Sep 17 00:00:00 2001 From: Ray Jui Date: Tue, 15 Sep 2015 17:39:18 -0700 -Subject: [PATCH 143/147] PCI: iproc: Fix PCIe reset logic +Subject: [PATCH 4/7] PCI: iproc: Fix PCIe reset logic The current reset logic does not always properly reset the device. For example, in the case when the perst_b signal is already de-asserted in the diff --git a/target/linux/bcm53xx/patches-4.1/144-PCI-iproc-Improve-link-detection-logic.patch b/target/linux/bcm53xx/patches-4.1/036-0005-PCI-iproc-Improve-link-detection-logic.patch similarity index 97% rename from target/linux/bcm53xx/patches-4.1/144-PCI-iproc-Improve-link-detection-logic.patch rename to target/linux/bcm53xx/patches-4.1/036-0005-PCI-iproc-Improve-link-detection-logic.patch index 3fecba2b26..4d71230956 100644 --- a/target/linux/bcm53xx/patches-4.1/144-PCI-iproc-Improve-link-detection-logic.patch +++ b/target/linux/bcm53xx/patches-4.1/036-0005-PCI-iproc-Improve-link-detection-logic.patch @@ -1,7 +1,7 @@ From aaf22ab4e916afa68a2e1aed4e913b76cbd58276 Mon Sep 17 00:00:00 2001 From: Ray Jui Date: Tue, 15 Sep 2015 17:39:19 -0700 -Subject: [PATCH 144/147] PCI: iproc: Improve link detection logic +Subject: [PATCH 5/7] PCI: iproc: Improve link detection logic Improve the link detection logic by explicitly querying the link status register to ensure link is active. diff --git a/target/linux/bcm53xx/patches-4.1/145-PCI-iproc-Update-PCIe-device-tree-bindings.patch b/target/linux/bcm53xx/patches-4.1/036-0006-PCI-iproc-Update-PCIe-device-tree-bindings.patch similarity index 95% rename from target/linux/bcm53xx/patches-4.1/145-PCI-iproc-Update-PCIe-device-tree-bindings.patch rename to target/linux/bcm53xx/patches-4.1/036-0006-PCI-iproc-Update-PCIe-device-tree-bindings.patch index eb5bb64bba..01db86c64c 100644 --- a/target/linux/bcm53xx/patches-4.1/145-PCI-iproc-Update-PCIe-device-tree-bindings.patch +++ b/target/linux/bcm53xx/patches-4.1/036-0006-PCI-iproc-Update-PCIe-device-tree-bindings.patch @@ -1,7 +1,7 @@ From 8d0afa1a93be2da954c85392bbc7b2264c9d241c Mon Sep 17 00:00:00 2001 From: Ray Jui Date: Tue, 15 Sep 2015 17:39:20 -0700 -Subject: [PATCH 145/147] PCI: iproc: Update PCIe device tree bindings +Subject: [PATCH 6/7] PCI: iproc: Update PCIe device tree bindings Update the device tree bindings with added support for outbound mapping configurations. diff --git a/target/linux/bcm53xx/patches-4.1/146-PCI-iproc-Add-outbound-mapping-support.patch b/target/linux/bcm53xx/patches-4.1/036-0007-PCI-iproc-Add-outbound-mapping-support.patch similarity index 99% rename from target/linux/bcm53xx/patches-4.1/146-PCI-iproc-Add-outbound-mapping-support.patch rename to target/linux/bcm53xx/patches-4.1/036-0007-PCI-iproc-Add-outbound-mapping-support.patch index b65d3057bc..e335f45780 100644 --- a/target/linux/bcm53xx/patches-4.1/146-PCI-iproc-Add-outbound-mapping-support.patch +++ b/target/linux/bcm53xx/patches-4.1/036-0007-PCI-iproc-Add-outbound-mapping-support.patch @@ -1,7 +1,7 @@ From e99a187b5c5f60fe55ca586f82ac1a3557fb166a Mon Sep 17 00:00:00 2001 From: Ray Jui Date: Fri, 16 Oct 2015 08:18:24 -0500 -Subject: [PATCH 146/147] PCI: iproc: Add outbound mapping support +Subject: [PATCH 7/7] PCI: iproc: Add outbound mapping support Certain SoCs require the PCIe outbound mapping to be configured in software. Add support for those chips. diff --git a/target/linux/bcm53xx/patches-4.1/147-PCI-iproc-Fix-header-comment-Corporation-misspelling.patch b/target/linux/bcm53xx/patches-4.1/037-PCI-iproc-Fix-header-comment-Corporation-misspelling.patch similarity index 90% rename from target/linux/bcm53xx/patches-4.1/147-PCI-iproc-Fix-header-comment-Corporation-misspelling.patch rename to target/linux/bcm53xx/patches-4.1/037-PCI-iproc-Fix-header-comment-Corporation-misspelling.patch index 9ad5f00c04..ed581dd1ec 100644 --- a/target/linux/bcm53xx/patches-4.1/147-PCI-iproc-Fix-header-comment-Corporation-misspelling.patch +++ b/target/linux/bcm53xx/patches-4.1/037-PCI-iproc-Fix-header-comment-Corporation-misspelling.patch @@ -1,8 +1,7 @@ From be908d21b2e9c2cab1ef568dfca4f9777611b3dd Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Fri, 16 Oct 2015 12:04:04 -0700 -Subject: [PATCH 147/147] PCI: iproc: Fix header comment "Corporation" - misspelling +Subject: [PATCH] PCI: iproc: Fix header comment "Corporation" misspelling Fix an obvious "Broadcom Corporation" typo in a header comment.