[LEDE-DEV] [PATCH 2/4] imx6: add support for Linux 4.14

Koen Vandeputte koen.vandeputte at ncentric.com
Mon Feb 12 03:41:24 PST 2018



On 2018-02-01 23:35, Tim Harvey wrote:

<snip>
> diff --git a/target/linux/imx6/patches-4.14/300-fix-enumeration.patch b/target/linux/imx6/patches-4.14/300-fix-enumeration.patch
> new file mode 100644
> index 0000000..ce9e815
> --- /dev/null
> +++ b/target/linux/imx6/patches-4.14/300-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 */

Hi Tim,

Would it be possible to send this one separately, adding it to Generic 
target?
All platforms using PCIe DW init are suffering from this issue, not only 
imx6.  [1]

It's needed for both kernels 4.14 and 4.9

Thanks,

Koen


[1]  Backport of:  http://patchwork.ozlabs.org/patch/860701/




More information about the Lede-dev mailing list