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

John Crispin john at phrozen.org
Sun Feb 18 06:33:00 EST 2018



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 at 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list