Author: nbd Date: 2015-11-21 11:55:05 +0100 (Sat, 21 Nov 2015) New Revision: 47545
Modified: trunk/target/linux/ipq806x/patches-3.18/114-pcie-add-ctlr-init.patch trunk/target/linux/ipq806x/patches-4.1/114-pcie-add-ctlr-init.patch Log: ipq806x: reduce PCIe buffer size setting to fix potential data corruption issues Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/target/linux/ipq806x/patches-3.18/114-pcie-add-ctlr-init.patch =================================================================== --- trunk/target/linux/ipq806x/patches-3.18/114-pcie-add-ctlr-init.patch 2015-11-21 10:54:58 UTC (rev 47544) +++ trunk/target/linux/ipq806x/patches-3.18/114-pcie-add-ctlr-init.patch 2015-11-21 10:55:05 UTC (rev 47545) @@ -229,8 +229,8 @@ + writel(upper_32_bits(pp->mem_bus_addr), + pcie->dbi + PCIE20_PLR_IATU_UTAR); + -+ /* 1K PCIE buffer setting */ -+ writel(0x3, pcie->dbi + PCIE20_AXI_MSTR_RESP_COMP_CTRL0); ++ /* 256B PCIE buffer setting */ ++ writel(0x1, pcie->dbi + PCIE20_AXI_MSTR_RESP_COMP_CTRL0); + writel(0x1, pcie->dbi + PCIE20_AXI_MSTR_RESP_COMP_CTRL1); +} + Modified: trunk/target/linux/ipq806x/patches-4.1/114-pcie-add-ctlr-init.patch =================================================================== --- trunk/target/linux/ipq806x/patches-4.1/114-pcie-add-ctlr-init.patch 2015-11-21 10:54:58 UTC (rev 47544) +++ trunk/target/linux/ipq806x/patches-4.1/114-pcie-add-ctlr-init.patch 2015-11-21 10:55:05 UTC (rev 47545) @@ -229,8 +229,8 @@ + writel(upper_32_bits(pp->mem_bus_addr), + pcie->dbi + PCIE20_PLR_IATU_UTAR); + -+ /* 1K PCIE buffer setting */ -+ writel(0x3, pcie->dbi + PCIE20_AXI_MSTR_RESP_COMP_CTRL0); ++ /* 256B PCIE buffer setting */ ++ writel(0x1, pcie->dbi + PCIE20_AXI_MSTR_RESP_COMP_CTRL0); + writel(0x1, pcie->dbi + PCIE20_AXI_MSTR_RESP_COMP_CTRL1); +} + _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
