openwrtv4/target/linux/generic/pending-4.4
Rafał Miłecki f5195e72c0 kernel: mtd: bcm47xxpart: improve handling TRX partition size
This is important fix for flash parsing in some corner cases. In case
of TRX subpartition with rootfs being aligned to the flash block size it
was incorrectly registered twice. Detecting & registering it as a
standalone partition was resulting in an incorrect "firmware" partition
size and possibly broken sysupgrade.

It wasn't noticed before because "rootfs" alignment depends on a kernel
size. It can happen though - depending on the configuration and the
kernel size.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2018-04-12 08:25:17 +02:00
..
001-mtdsplit_backport.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
002-phy_drivers_backport.patch kernel: bump 4.4 to 4.4.107 2017-12-23 15:36:01 +01:00
003-myloader_backport.patch
010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch
020-bcma-from-4.5.patch
021-bcma-from-4.6.patch
022-bcma-from-4.8.patch
023-bcma-from-4.9.patch
025-bcma-from-4.11.patch
026-bcma-from-4.12.patch
030-1-smsc95xx-Use-skb_cow_head-to-deal-with-cloned-skbs.patch
030-6-ch9200-use-skb_cow_head-to-deal-with-cloned-skbs.patch
030-7-kaweth-use-skb_cow_head-to-deal-with-cloned-skbs.patch
032-fq_codel-add-batch-ability-to-fq_codel_drop.patch
033-fq_codel-add-memory-limitation-per-queue.patch
034-fq_codel-fix-memory-limitation-drift.patch
035-fq_codel-fix-NET_XMIT_CN-behavior.patch
041-mtd-spi-nor-include-mtd.h-header-for-struct-mtd_info.patch
042-0001-mtd-bcm47xxsflash-use-ioremap_cache-instead-of-KSEG0.patch
042-0002-mtd-add-arch-dependency-for-MTD_BCM47XXSFLASH-symbol.patch
042-0003-mtd-bcm47xxsflash-use-uncached-MMIO-access-for-BCM53.patch
042-0005-mtd-bcm47xxsflash-use-platform_-set-get-_drvdata.patch
042-0006-mtd-bcm47xxsflash-support-reading-flash-out-of-mappi.patch
042-0007-mtd-bcm47xxpart-move-TRX-parsing-code-to-separated-f.patch
042-0008-mtd-bcm47xxpart-support-layouts-with-multiple-TRX-pa.patch
043-mtd-spi-nor-mx25l3205d-mx25l6405d-append-SECT_4K.patch
045-mtd-devices-m25p80-add-support-for-mmap-read-request.patch
046-ubifs-silence-error-output-if-MS_SILENT-is-set.patch
047-ubifs-silence-early-error-if-MS_SILENT-is-set.patch
048-mtd-spi-nor-backport-SPI_NOR_HAS_LOCK-flag.patch
050-backport_netfilter_rtcache.patch
051-0001-ovl-rename-is_merge-to-is_lowest.patch
051-0002-ovl-override-creds-with-the-ones-from-the-superblock.patch
051-0005-ovl-proper-cleanup-of-workdir.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
052-01-ubifs-Implement-O_TMPFILE.patch
052-02-ubifs-Implement-RENAME_WHITEOUT.patch
052-03-ubifs-Implement-RENAME_EXCHANGE.patch
052-04-ubifs-Use-move-variable-in-ubifs_rename.patch
053-0001-ubifs-Drop-softlimit-and-delta-fields-from-struct-ub.patch
053-0002-ubifs-Use-dirty_writeback_interval-value-for-wbuf-ti.patch
060-mips_decompressor_memmove.patch
061-softirq-let-ksoftirqd-do-its-job.patch
067-v4.11-mtd-nand-Add-Winbond-manufacturer-id.patch kernel/4.{4, 9}: add manufacturer ID for Winbond NANDs 2018-01-20 20:22:00 +01:00
070-v4.5-0003-net-bgmac-clarify-CONFIG_BCMA-dependency.patch
070-v4.6-0001-bgmac-add-helper-checking-for-BCM4707-BCM53018-chip-.patch
070-v4.6-0002-bgmac-support-Ethernet-device-on-BCM47094-SoC.patch
070-v4.6-0004-bgmac-fix-MAC-soft-reset-bit-for-corerev-4.patch
070-v4.8-0001-bgmac-Bind-net_device-with-backing-device-structure.patch
070-v4.8-0002-bgmac-Add-support-for-ethtool-statistics.patch
070-v4.8-0003-bgmac-Maintain-some-netdev-statistics.patch
070-v4.8-0004-net-ethernet-bgmac-use-phydev-from-struct-net_device.patch
071-v4.8-0001-net-ethernet-bgmac-change-bgmac_-prints-to-dev_-prin.patch
071-v4.8-0002-net-ethernet-bgmac-add-dma_dev-pointer.patch
071-v4.8-0003-net-ethernet-bgmac-move-BCMA-MDIO-Phy-code-into-a-se.patch
071-v4.8-0004-net-ethernet-bgmac-convert-to-feature-flags.patch
071-v4.8-0005-net-ethernet-bgmac-Add-platform-device-support.patch
071-v4.8-0006-net-ethernet-bgmac-Fix-return-value-check-in-bgmac_p.patch
071-v4.8-0007-net-ethernet-bgmac-Remove-redundant-dev_err-call-in-.patch
071-v4.8-0009-net-bgmac-fix-reversed-check-for-MII-registration-er.patch
071-v4.9-0001-net-bgmac-support-Ethernet-core-on-BCM53573-SoCs.patch
071-v4.9-0002-net-bgmac-make-it-clear-when-setting-interface-type-.patch
071-v4.9-0003-net-bgmac-Fix-errant-feature-flag-check.patch
071-v4.9-0004-net-bgmac-fix-spelling-mistake-connecton-connection.patch
071-v4.9-0005-net-bgmac-fix-reversed-checks-for-clock-control-flag.patch
072-net-add-devm-version-of-alloc_etherdev_mqs-function.patch
073-v4.10-0001-net-bgmac-allocate-struct-bgmac-just-once-don-t-copy.patch
073-v4.10-0002-net-bgmac-drop-struct-bcma_mdio-we-don-t-need-anymor.patch
073-v4.10-0003-net-bgmac-use-PHY-subsystem-for-initializing-PHY.patch
073-v4.15-0001-net-bgmac-enable-master-mode-for-BCM54210E-and-B5021.patch kernel: add fix for bgmac with B50212E B1 PHY 2017-10-13 13:54:22 +02:00
074-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
078-0001-net-phy-update-Broadcom-drivers-to-v4.5.patch
078-0002-net-phy-update-Broadcom-drivers-to-v4.6.patch
078-0003-net-phy-cherry-pick-Broadcom-drivers-updates-from-v4.patch kernel: add fix for bgmac with B50212E B1 PHY 2017-10-13 13:54:22 +02:00
078-0004-net-phy-cherry-pick-Broadcom-drivers-updates-from-v4.patch kernel: add fix for bgmac with B50212E B1 PHY 2017-10-13 13:54:22 +02:00
078-0006-net-phy-cherry-pick-Broadcom-drivers-updates-from-v4.patch kernel: add fix for bgmac with B50212E B1 PHY 2017-10-13 13:54:22 +02:00
080-spi-introduce-accelerated-read-support-for-spi-flash.patch
081-spi-bcm53xx-add-spi_flash_read-callback-for-MMIO-bas.patch
082-0001-USB-core-let-USB-device-know-device-node.patch
082-0002-usb-core-usb_alloc_dev-fix-setting-of-portnum.patch
083-0001-clk-Add-devm_-clk_hw_-register-unregister-APIs.patch
083-0002-clk-Add-clk_hw-OF-clk-providers.patch
084-0001-usb-core-Introduce-a-USB-port-LED-trigger.patch
084-0002-usb-core-usbport-Use-proper-LED-API-to-fix-potential.patch
084-0003-usb-core-read-USB-ports-from-DT-in-the-usbport-LED-t.patch
085-0001-leds-leds-gpio-Set-of_node-for-created-LED-devices.patch
085-0002-leds-gpio-introduce-gpio_blink_set_t.patch
085-0003-leds-gpio-switch-to-managed-version-of-led_classdev_.patch
085-0004-leds-core-add-OF-variants-of-LED-registering-functio.patch
085-0005-leds-gpio-use-OF-variant-of-LED-registering-function.patch
086-0001-thermal-of-thermal-Add-devm-version-of-thermal_zone_.patch
086-0002-thermal-core-export-apis-to-get-slope-and-offset.patch
086-0003-thermal-bcm2835-add-thermal-driver-for-bcm2835-SoC.patch
086-0004-thermal-broadcom-add-Northstar-thermal-driver.patch
086-0005-thermal-broadcom-fix-compilation-of-Northstar-driver.patch
087-regmap-make-LZO-cache-optional.patch
090-MIPS-c-r4k-Use-IPI-calls-for-CM-indexed-cache-ops.patch
091-MIPS-c-r4k-Exclude-sibling-CPUs-in-SMP-calls.patch
092-MIPS-ZBOOT-copy-appended-dtb-to-the-end-of-the-kerne.patch
093-MIPS-store-the-appended-dtb-address-in-a-variable.patch kernel: Update kernel 4.4 to 4.4.100 2017-11-25 19:48:39 +01:00
094-MIPS-c-r4k-Fix-size-calc-when-avoiding-IPIs-for-smal.patch
096-arc-add-model-property-in-dts.patch
097-MIPS-io.h-Define-ioremap_cache.patch
098-usb-dwc2-Remove-unnecessary-kfree.patch
101-MIPS-fix-cache-flushing-for-highmem-pages.patch
102-ehci_hcd_ignore_oc.patch
103-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch kernel: bump 4.4 to 4.4.107 2017-12-23 15:36:01 +01:00
105-add-linux-spidev-compatible.patch
106-spi-use-gpio_set_value_cansleep-for-setting-chipsele.patch
110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch
111-jffs2-add-RENAME_EXCHANGE-support.patch
120-bridge_allow_receiption_on_disabled_port.patch
132-mips_inline_dma_ops.patch
140-mtd-part-add-generic-parsing-of-linux-part-probe.patch
141-mtd-bcm47xxpart-improve-handling-TRX-partition-size.patch kernel: mtd: bcm47xxpart: improve handling TRX partition size 2018-04-12 08:25:17 +02:00
150-mtd-spi-nor-add-support-for-ESMT_f25l32qa-and-ESMT_f.patch
160-usb-gadget-udc-net2280-add-usb2380-support.patch
180-Revert-bcma-init-serial-console-directly-from-ChipCo.patch
200-fix_localversion.patch
201-extra_optimization.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
202-reduce_module_size.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
203-kallsyms_uncompressed.patch
204-module_strip.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
205-backtrace_module_info.patch
206-mips-disable-vdso.patch
207-mips-vdso-dbg-rebuild-after-genvdso.patch
208-disable-modorder.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
210-darwin_scripts_include.patch
211-sign-file-libressl.patch
212-byteshift_portability.patch
214-spidev_h_portability.patch kernel: Update kernel 4.4 to 4.4.100 2017-11-25 19:48:39 +01:00
220-gc_sections.patch
221-module_exports.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
222-arm_zimage_none.patch
230-openwrt_lzma_options.patch
250-netfilter_depends.patch
251-sound_kconfig.patch
252-mv_cesa_depends.patch
253-ssb_b43_default_on.patch
254-textsearch_kconfig_hacks.patch
255-lib80211_kconfig_hacks.patch
256-crypto_add_kconfig_prompts.patch
257-wireless_ext_kconfig_hack.patch
258-netfilter_netlink_kconfig_hack.patch
259-regmap_dynamic.patch
260-crypto_test_dependencies.patch
270-uapi-libc-compat-add-fallback-for-unsupported-libcs.patch kernel: use upstream patches for musl 2018-01-20 22:11:33 +01:00
272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch kernel: use upstream patches for musl 2018-01-20 22:11:33 +01:00
280-rfkill-stubs.patch
300-mips_expose_boot_raw.patch
301-mips_image_cmdline_hack.patch
302-mips_no_branch_likely.patch
304-mips_disable_fpu.patch
305-mips_module_reloc.patch
306-mips_mem_functions_performance.patch
307-mips_highmem_offset.patch
308-mips32r2_tune.patch
310-arm_module_unresolved_weak_sym.patch
320-ppc4xx_optimization.patch
321-powerpc_crtsavres_prereq.patch
330-MIPS-kexec-Accept-command-line-parameters-from-users.patch
331-arc-remove-dependency-on-DEVTMPFS.patch
332-arc-add-OWRTDTB-section.patch
333-arc-enable-unaligned-access-in-kernel-mode.patch
400-mtd-add-rootfs-split-support.patch
401-mtd-add-support-for-different-partition-parser-types.patch
402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch
403-mtd-hook-mtdsplit-to-Kbuild.patch
404-mtd-add-more-helper-functions.patch
410-mtd-move-forward-declaration-of-struct-mtd_info.patch
411-mtd-partial_eraseblock_write.patch
412-mtd-partial_eraseblock_unlock.patch
420-mtd-redboot_space.patch
430-mtd-add-myloader-partition-parser.patch
431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch
432-mtd-bcm47xxpart-detect-T_Meter-partition.patch
440-block2mtd_init.patch
441-block2mtd_probe.patch
450-mtd-nand-allow-to-use-platform-specific-chip-fixup.patch kernel/4.{4, 9}: add manufacturer ID for Winbond NANDs 2018-01-20 20:22:00 +01:00
451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch
460-mtd-cfi_cmdset_0002-no-erase_suspend.patch
461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch
465-m25p80-mx-disable-software-protection.patch
475-mtd-spi-nor-add-macronix-mx25u25635f.patch
476-mtd-spi-nor-add-eon-en25q128.patch
477-mtd-add-spi-nor-add-mx25u3235f.patch
479-enable_mtd_has_lock_for_f25l32pa.patch
480-mtd-set-rootfs-to-be-root-dev.patch
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch kernel/4.4: add missing newline character to UBI messages 2017-12-24 09:03:00 +01:00
491-ubi-auto-create-ubiblock-device-for-rootfs.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
494-mtd-ubi-add-EOF-marker-support.patch kernel/4.4: add missing newline character to UBI messages 2017-12-24 09:03:00 +01:00
530-jffs2_make_lzma_available.patch
531-debloat_lzma.patch
532-jffs2_eofdetect.patch
551-ubifs-fix-default-compression-selection.patch
600-netfilter_conntrack_flush.patch
610-netfilter_match_bypass_default_checks.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
611-netfilter_match_bypass_default_table.patch
612-netfilter_match_reduce_memory_access.patch
613-netfilter_optional_tcp_window_check.patch
616-net_optimize_xfrm_calls.patch
620-net_sched-codel-do-not-defer-queue-length-update.patch kernel: merge a pending fix for HFSC warnings/slowdowns (fixes FS#1136) 2018-03-11 08:58:53 +01:00
630-packet_socket_type.patch kernel: bump 4.4 to 4.4.107 2017-12-23 15:36:01 +01:00
640-bridge_no_eap_forward.patch
641-bridge_always_accept_eap.patch
642-bridge_port_isolate.patch
645-bridge_multicast_to_unicast.patch
651-wireless_mesh_header.patch
653-disable_netlink_trim.patch kernel: bump 4.4 to 4.4.110 2018-01-10 00:11:39 +02:00
655-increase_skb_pad.patch
660-fq_codel_defaults.patch kernel: merge a pending fix for HFSC warnings/slowdowns (fixes FS#1136) 2018-03-11 08:58:53 +01:00
661-fq_codel_keep_dropped_stats.patch
662-use_fq_codel_by_default.patch kernel: merge a pending fix for HFSC warnings/slowdowns (fixes FS#1136) 2018-03-11 08:58:53 +01:00
663-remove_pfifo_fast.patch
666-Add-support-for-MAP-E-FMRs-mesh-mode.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
670-ipv6-allow-rejecting-with-source-address-failed-policy.patch kernel: bump 4.4 to 4.4.121 2018-03-17 22:15:38 +01:00
671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch
680-NET-skip-GRO-for-foreign-MAC-addresses.patch kernel: bump 4.4 to 4.4.121 2018-03-17 22:15:38 +01:00
681-NET-add-of_get_mac_address_mtd.patch
700-swconfig.patch
701-phy_extension.patch kernel: bump 4.4 to 4.4.112 2018-01-20 20:22:01 +01:00
702-phy_add_aneg_done_function.patch kernel: Update kernel 4.4 to 4.4.100 2017-11-25 19:48:39 +01:00
703-phy-add-detach-callback-to-struct-phy_driver.patch kernel: Update kernel 4.4 to 4.4.100 2017-11-25 19:48:39 +01:00
710-phy-add-mdio_register_board_info.patch kernel: bump 4.4 to 4.4.112 2018-01-20 20:22:01 +01:00
720-phy_adm6996.patch
721-phy_packets.patch kernel: bump 4.4 to 4.4.121 2018-03-17 22:15:38 +01:00
722-phy_mvswitch.patch
723-phy_ip175c.patch
724-phy_ar8216.patch
725-phy_rtl8306.patch
726-phy_rtl8366.patch
727-phy-rtl8367.patch
728-phy-rtl8367b.patch
729-phy-tantos.patch
730-phy_b53.patch
732-phy-ar8216-led-support.patch
733-phy_mvsw61xx.patch
734-net-phy-at803x-allow-to-configure-via-pdata.patch
735-net-phy-at803x-fix-at8033-sgmii-mode.patch
736-at803x-fix-reset-handling.patch
737-net-phy-at803x-Request-reset-GPIO-only-for-AT8030-PH.patch
738-net-phy-at803x-only-the-AT8030-needs-a-hardware-rese.patch
739-net-phy-at803x-add-support-for-AT8032.patch
773-bgmac-add-srab-switch.patch kernel: add fix for bgmac with B50212E B1 PHY 2017-10-13 13:54:22 +02:00
810-pci_disable_common_quirks.patch
811-pci_disable_usb_common_quirks.patch kernel: update 4.4 to 4.4.88 2017-09-16 19:27:08 +02:00
821-usb-Remove-annoying-warning-about-bogus-URB.patch
831-ledtrig_netdev.patch
834-ledtrig-libata.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
835-misc-owl_loader.patch
840-rtc7301.patch
841-rtc_pt7c4338.patch
861-04_spi_gpio_implement_spi_delay.patch
862-gpio_spi_driver.patch
890-uart_optional_sysrq.patch
901-debloat_sock_diag.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
902-debloat_proc.patch kernel: bump 4.4 to 4.4.121 2018-03-17 22:15:38 +01:00
904-debloat_dma_buf.patch kernel: bump 4.4 to 4.4.112 2018-01-20 20:22:01 +01:00
910-kobject_uevent.patch
911-kobject_add_broadcast_uevent.patch
921-use_preinit_as_init.patch kernel: bump 4.4 to 4.4.110 2018-01-10 00:11:39 +02:00
922-always-create-console-node-in-initramfs.patch
930-crashlog.patch
970-remove-unsane-filenames-from-deps_initramfs-list.patch
995-mangle_bootargs.patch kernel: bump 4.4 to 4.4.119 2018-03-03 12:58:56 +01:00
998-enable_wilink_platform_without_drivers.patch