diff mbox series

[OpenWrt-Devel,v3,1/4] kernel: backport dwc pci enumeration fix

Message ID 1518712478-21603-2-git-send-email-tharvey@gateworks.com
State Superseded
Delegated to: John Crispin
Headers show
Series : imx6: update to Linux 4.14 | expand

Commit Message

Tim Harvey Feb. 15, 2018, 4:34 p.m. UTC
Backport of:  http://patchwork.ozlabs.org/patch/860701/

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 .../generic/pending-4.14/812-pci-dwc-fix-enumeration.patch    | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch

Comments

Hauke Mehrtens Feb. 17, 2018, 12:33 p.m. UTC | #1
On 02/15/2018 05:34 PM, Tim Harvey wrote:
> Backport of:  http://patchwork.ozlabs.org/patch/860701/
> 
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
> ---
>  .../generic/pending-4.14/812-pci-dwc-fix-enumeration.patch    | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>  create mode 100644 target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch
> 
> diff --git a/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch b/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch
> new file mode 100644
> index 0000000..ce9e815
> --- /dev/null
> +++ b/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch

Please put this into target/linux/generic/backport-4.14/ as this is or
will be a backport from the mainline kernel.

Can you also add the original commit comment.
> @@ -0,0 +1,11 @@
> +--- a/drivers/pci/dwc/pcie-designware-host.c
> ++++ b/drivers/pci/dwc/pcie-designware-host.c
> +@@ -607,7 +607,7 @@ void dw_pcie_setup_rc(struct pcie_port *
> + 	/* setup bus numbers */
> + 	val = dw_pcie_readl_dbi(pci, PCI_PRIMARY_BUS);
> + 	val &= 0xff000000;
> +-	val |= 0x00010100;
> ++	val |= 0x00ff0100;
> + 	dw_pcie_writel_dbi(pci, PCI_PRIMARY_BUS, val);
> + 
> + 	/* setup command register */
>
John Crispin Feb. 18, 2018, 11:33 a.m. UTC | #2
On 17/02/18 13:33, Hauke Mehrtens wrote:
> On 02/15/2018 05:34 PM, Tim Harvey wrote:
>> Backport of:  http://patchwork.ozlabs.org/patch/860701/
>>
>> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
>> ---
>>   .../generic/pending-4.14/812-pci-dwc-fix-enumeration.patch    | 11 +++++++++++
>>   1 file changed, 11 insertions(+)
>>   create mode 100644 target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch
>>
>> diff --git a/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch b/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch
>> new file mode 100644
>> index 0000000..ce9e815
>> --- /dev/null
>> +++ b/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch
> Please put this into target/linux/generic/backport-4.14/ as this is or
> will be a backport from the mainline kernel.
the patch is not in the subsystem tree for some formal reasons. I have 
taken the original version that Koen sent and replaced the one Tim sent 
with it. I've alos left the patch inside the pending folder

     John
> Can you also add the original commit comment.
>> @@ -0,0 +1,11 @@
>> +--- a/drivers/pci/dwc/pcie-designware-host.c
>> ++++ b/drivers/pci/dwc/pcie-designware-host.c
>> +@@ -607,7 +607,7 @@ void dw_pcie_setup_rc(struct pcie_port *
>> + 	/* setup bus numbers */
>> + 	val = dw_pcie_readl_dbi(pci, PCI_PRIMARY_BUS);
>> + 	val &= 0xff000000;
>> +-	val |= 0x00010100;
>> ++	val |= 0x00ff0100;
>> + 	dw_pcie_writel_dbi(pci, PCI_PRIMARY_BUS, val);
>> +
>> + 	/* setup command register */
>>
>
> _______________________________________________
> Lede-dev mailing list
> Lede-dev@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
diff mbox series

Patch

diff --git a/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch b/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch
new file mode 100644
index 0000000..ce9e815
--- /dev/null
+++ b/target/linux/generic/pending-4.14/812-pci-dwc-fix-enumeration.patch
@@ -0,0 +1,11 @@ 
+--- a/drivers/pci/dwc/pcie-designware-host.c
++++ b/drivers/pci/dwc/pcie-designware-host.c
+@@ -607,7 +607,7 @@ void dw_pcie_setup_rc(struct pcie_port *
+ 	/* setup bus numbers */
+ 	val = dw_pcie_readl_dbi(pci, PCI_PRIMARY_BUS);
+ 	val &= 0xff000000;
+-	val |= 0x00010100;
++	val |= 0x00ff0100;
+ 	dw_pcie_writel_dbi(pci, PCI_PRIMARY_BUS, val);
+ 
+ 	/* setup command register */