openwrt/target/linux/ipq806x/patches-4.4
Jonas Gorski 532eb5f581 ipq806x: fix boot hang if cmdline contains words with r in the middle
The ATB DTB mangle code will enter an infinite loop if it encounters a
word in the command line that contains an r in the middle of the word.

Fix this by increasing ptr everytime before invoking strchr, ot avoid
finding the same r again.

This fixes booting at least on Netgear R7500v1, which contains
"ubi.mtd=rootfs" in its commandline, triggering the misbehaviour.

Fixes: 0ddcbee261 ("ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dts")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2016-08-01 00:13:35 +02:00
..
020-add-ap148-bootargs.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
021-add-ap148-partitions.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
022-add-db149-dts.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
023-ARM-dts-ipq806x-Disable-i2c-device-on-gsbi4.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
024-ap148-add-memory-node.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
033-ARM-qcom-add-SFPB-nodes-to-IPQ806x-dts.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
036-ARM-qcom-add-SMEM-device-node-to-IPQ806x-dts.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
037-mtd-add-SMEM-parser-for-QCOM-platforms.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
100-usb-phy-Add-Qualcomm-DWC3-HS-SS-PHY-drivers.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
101-ARM-qcom-add-USB-nodes-to-ipq806x-ap148.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
110-DT-PCI-qcom-Document-PCIe-devicetree-bindings.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
111-PCI-qcom-Add-Qualcomm-PCIe-controller-driver.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
113-ARM-qcom-automatically-select-PCI_DOMAINS-if-PCI-is-.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
114-pcie-add-ctlr-init.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
115-add-pcie-aux-clk-dts.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
126-add-rpm-to-ipq8064-dts.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
133-ARM-Add-Krait-L2-register-accessor-functions.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
134-clk-mux-Split-out-register-accessors-for-reuse.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
135-clk-Avoid-sending-high-rates-to-downstream-clocks-du.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
136-clk-Add-safe-switch-hook.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
137-clk-qcom-Add-support-for-High-Frequency-PLLs-HFPLLs.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
138-clk-qcom-Add-HFPLL-driver.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
139-clk-qcom-Add-IPQ806X-s-HFPLLs.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
140-clk-qcom-Add-support-for-Krait-clocks.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
141-clk-qcom-Add-KPSS-ACC-GCC-driver.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
142-clk-qcom-Add-Krait-clock-controller-driver.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
143-cpufreq-Add-module-to-register-cpufreq-on-Krait-CPUs.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
144-ARM-dts-qcom-Add-necessary-DT-data-for-Krait-cpufreq.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
145-cpufreq-Add-a-cpufreq-krait-based-on-cpufre.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
155-dt-bindings-qcom_adm-Fix-channel-specifiers.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
156-dmaengine-Add-ADM-driver.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
157-ARM-DT-ipq8064-Add-ADM-device-node.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
161-mtd-nand-Create-a-BBT-flag-to-access-bad-block-markers-in-raw-mode.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
162-mtd-nand-Qualcomm-NAND-controller-driver.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
163-dt-bindings-qcom_nandc-Add-DT-bindings.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
164-arm-qcom-dts-Add-NAND-controller-node-for-ipq806x.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
165-arm-qcom-dts-Enable-NAND-node-on-IPQ8064-AP148-platform.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
167-ARM-qcom_rpm_fix_support_for_smb208.patch ipq806x: qcom rpm fix support for smb208 2016-06-13 22:51:42 +02:00
168-ARM-qcom-add-smb208-DT.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
300-arch-arm-force-ZRELADDR-on-arch-qcom.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
302-mtd-qcom-smem-rename-rootfs-ubi.patch ipq806x: Add support for linux-4.4 2016-05-27 15:50:17 +02:00
400-dsa-add-qca.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch ipq806x: fix MAC_POWER_SEL switch configuration 2016-06-20 11:45:44 +02:00
708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
709-spi-qup-Fix-fifo-and-dma-support-for-IPQ806x.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
710-watchdog-qcom-set-WDT_BARK_TIME-register-offset-to-o.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
711-stmmac-fix-ipq806x-DMA-configuration.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
800-devicetree.patch kernel: update to version 4.4.14 2016-06-26 18:20:37 +02:00
801-override-compiler-flags.patch ipq806x: add patch for kernel compiler flags 2016-07-17 17:29:12 +02:00
996-ATAG_DTB_COMPAT_CMDLINE_MANGLE.patch ipq806x: fix boot hang if cmdline contains words with r in the middle 2016-08-01 00:13:35 +02:00