You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/generic/pending-4.19
Christian Lamparter cb0f39c9cd kernel: fix f2fs on big endian machines
The WD MyBook Live SquashFS images didn't work anymore due to
a upstream regression in f2fs commit: 0cfe75c5b01199
("f2fs: enhance sanity_check_raw_super() to avoid potential overflows")
that got backported to 4.14.86 and landed in 4.18.

by Martin Blumenstingl:
|Treat "block_count" from struct f2fs_super_block as 64-bit little endian
|value in sanity_check_raw_super() because struct f2fs_super_block
|declares "block_count" as "__le64".
|
|This fixes a bug where the superblock validation fails on big endian
|devices with the following error:
|  F2FS-fs (sda1): Wrong segment_count / block_count (61439 > 0)
|  F2FS-fs (sda1): Can't find valid F2FS filesystem in 1th superblock
|  F2FS-fs (sda1): Wrong segment_count / block_count (61439 > 0)
|  F2FS-fs (sda1): Can't find valid F2FS filesystem in 2th superblock
|As result of this the partition cannot be mounted.
|
|With this patch applied the superblock validation works fine and the
|partition can be mounted again:
|  F2FS-fs (sda1): Mounted with checkpoint version = 7c84
|
|My little endian x86-64 hardware was able to mount the partition without
|this fix.
|To confirm that mounting f2fs filesystems works on big endian machines
|again I tested this on a 32-bit MIPS big endian (lantiq) device.

Hopefully, this will do until Martin's patch moved through upstream
to -stable.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
6 years ago
..
102-MIPS-only-process-negative-stack-offsets-on-stack-tr.patch kernel: Make the patches apply on top of 4.19 6 years ago
110-ehci_hcd_ignore_oc.patch kernel: Make the patches apply on top of 4.19 6 years ago
120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch kernel: Make the patches apply on top of 4.19 6 years ago
130-add-linux-spidev-compatible-si3210.patch
131-spi-use-gpio_set_value_cansleep-for-setting-chipsele.patch kernel: Make the patches apply on top of 4.19 6 years ago
140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch
141-jffs2-add-RENAME_EXCHANGE-support.patch
142-jffs2-Fix-use-of-uninitialized-delayed_work-lockdep-.patch jffs2: Fix use of uninitialized delayed_work, lockdep breakage 6 years ago
150-bridge_allow_receiption_on_disabled_port.patch kernel: Make the patches apply on top of 4.19 6 years ago
180-net-phy-at803x-add-support-for-AT8032.patch kernel: Make the patches apply on top of 4.19 6 years ago
201-extra_optimization.patch kernel: Make the patches apply on top of 4.19 6 years ago
203-kallsyms_uncompressed.patch kernel: Make the patches apply on top of 4.19 6 years ago
205-backtrace_module_info.patch kernel: Make the patches apply on top of 4.19 6 years ago
220-optimize_inlining.patch kernel: Make the patches apply on top of 4.19 6 years ago
240-remove-unsane-filenames-from-deps_initramfs-list.patch
261-enable_wilink_platform_without_drivers.patch
300-mips_expose_boot_raw.patch kernel: Make the patches apply on top of 4.19 6 years ago
302-mips_no_branch_likely.patch
304-mips_disable_fpu.patch kernel: Make the patches apply on top of 4.19 6 years ago
305-mips_module_reloc.patch
306-mips_mem_functions_performance.patch
307-mips_highmem_offset.patch kernel: Make the patches apply on top of 4.19 6 years ago
308-mips32r2_tune.patch kernel: Make the patches apply on top of 4.19 6 years ago
310-arm_module_unresolved_weak_sym.patch
330-MIPS-kexec-Accept-command-line-parameters-from-users.patch
332-arc-add-OWRTDTB-section.patch kernel: Make the patches apply on top of 4.19 6 years ago
333-arc-enable-unaligned-access-in-kernel-mode.patch
341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch kernel: Make the patches apply on top of 4.19 6 years ago
400-mtd-add-rootfs-split-support.patch kernel: Remove deprecated generic linux,part-probe patch 6 years ago
401-mtd-add-support-for-different-partition-parser-types.patch kernel: Remove deprecated generic linux,part-probe patch 6 years ago
402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch kernel: Remove deprecated generic linux,part-probe patch 6 years ago
403-mtd-hook-mtdsplit-to-Kbuild.patch kernel: Make the patches apply on top of 4.19 6 years ago
404-mtd-add-more-helper-functions.patch kernel: Remove deprecated generic linux,part-probe patch 6 years ago
411-mtd-partial_eraseblock_write.patch kernel: Remove deprecated generic linux,part-probe patch 6 years ago
412-mtd-partial_eraseblock_unlock.patch kernel: Remove deprecated generic linux,part-probe patch 6 years ago
419-mtd-redboot-add-of_match_table-with-DT-binding.patch
420-mtd-redboot_space.patch
430-mtd-add-myloader-partition-parser.patch kernel: Make the patches apply on top of 4.19 6 years ago
431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch
432-mtd-bcm47xxpart-detect-T_Meter-partition.patch
440-block2mtd_init.patch kernel: Make the patches apply on top of 4.19 6 years ago
441-block2mtd_probe.patch kernel: Make the patches apply on top of 4.19 6 years ago
450-mtd-spi-nor-allow-NOR-driver-to-write-fewer-bytes-th.patch kernel: Make the patches apply on top of 4.19 6 years ago
460-mtd-cfi_cmdset_0002-no-erase_suspend.patch kernel: Make the patches apply on top of 4.19 6 years ago
461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch kernel: Make the patches apply on top of 4.19 6 years ago
465-m25p80-mx-disable-software-protection.patch kernel: Make the patches apply on top of 4.19 6 years ago
466-Revert-mtd-spi-nor-fix-Spansion-regressions-aliased-.patch kernel: Make the patches apply on top of 4.19 6 years ago
470-mtd-spi-nor-support-limiting-4K-sectors-support-base.patch kernel: Make the patches apply on top of 4.19 6 years ago
475-mtd-spi-nor-Add-Winbond-w25q128jv-support.patch kernel: Make the patches apply on top of 4.19 6 years ago
476-mtd-spi-nor-add-eon-en25q128.patch kernel: Make the patches apply on top of 4.19 6 years ago
477-mtd-add-spi-nor-add-mx25u3235f.patch kernel: Make the patches apply on top of 4.19 6 years ago
480-mtd-set-rootfs-to-be-root-dev.patch kernel: Make the patches apply on top of 4.19 6 years ago
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch kernel: Make the patches apply on top of 4.19 6 years ago
491-ubi-auto-create-ubiblock-device-for-rootfs.patch
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch kernel: Make the patches apply on top of 4.19 6 years ago
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch
494-mtd-ubi-add-EOF-marker-support.patch kernel: Make the patches apply on top of 4.19 6 years ago
495-mtd-core-add-get_mtd_device_by_node.patch kernel: Make the patches apply on top of 4.19 6 years ago
496-dt-bindings-add-bindings-for-mtd-concat-devices.patch
497-mtd-mtdconcat-add-dt-driver-for-concat-devices.patch kernel: Make the patches apply on top of 4.19 6 years ago
510-f2fs-fix-sanity_check_raw_super-on-big-endian-machines.patch kernel: fix f2fs on big endian machines 6 years ago
530-jffs2_make_lzma_available.patch jffs2: Fix use of uninitialized delayed_work, lockdep breakage 6 years ago
532-jffs2_eofdetect.patch
551-ubifs-fix-default-compression-selection.patch kernel: Make the patches apply on top of 4.19 6 years ago
553-ubifs-Add-option-to-create-UBI-FS-version-4-on-empty.patch kernel: Make the patches apply on top of 4.19 6 years ago
600-netfilter_conntrack_flush.patch kernel: Make the patches apply on top of 4.19 6 years ago
610-netfilter_match_bypass_default_checks.patch kernel: Make the patches apply on top of 4.19 6 years ago
611-netfilter_match_bypass_default_table.patch kernel: Make the patches apply on top of 4.19 6 years ago
612-netfilter_match_reduce_memory_access.patch kernel: Make the patches apply on top of 4.19 6 years ago
613-netfilter_optional_tcp_window_check.patch kernel: Make the patches apply on top of 4.19 6 years ago
616-net_optimize_xfrm_calls.patch kernel: Make the patches apply on top of 4.19 6 years ago
620-net_sched-codel-do-not-defer-queue-length-update.patch kernel: Make the patches apply on top of 4.19 6 years ago
630-packet_socket_type.patch kernel: Make the patches apply on top of 4.19 6 years ago
640-netfilter-nf_flow_table-add-hardware-offload-support.patch kernel: Make the patches apply on top of 4.19 6 years ago
641-netfilter-nf_flow_table-support-hw-offload-through-v.patch kernel: Make the patches apply on top of 4.19 6 years ago
642-net-8021q-support-hardware-flow-table-offload.patch kernel: Make the patches apply on top of 4.19 6 years ago
643-net-bridge-support-hardware-flow-table-offload.patch kernel: Make the patches apply on top of 4.19 6 years ago
644-net-pppoe-support-hardware-flow-table-offload.patch kernel: Make the patches apply on top of 4.19 6 years ago
645-netfilter-nf_flow_table-rework-hardware-offload-time.patch kernel: Make the patches apply on top of 4.19 6 years ago
646-netfilter-nf_flow_table-rework-private-driver-data.patch
655-increase_skb_pad.patch kernel: Make the patches apply on top of 4.19 6 years ago
666-Add-support-for-MAP-E-FMRs-mesh-mode.patch kernel: Make the patches apply on top of 4.19 6 years ago
670-ipv6-allow-rejecting-with-source-address-failed-policy.patch kernel: Make the patches apply on top of 4.19 6 years ago
671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch kernel: Make the patches apply on top of 4.19 6 years ago
680-NET-skip-GRO-for-foreign-MAC-addresses.patch kernel: Make the patches apply on top of 4.19 6 years ago
681-NET-add-of_get_mac_address_mtd.patch kernel: Make the patches apply on top of 4.19 6 years ago
701-phy_extension.patch kernel: Make the patches apply on top of 4.19 6 years ago
703-phy-add-detach-callback-to-struct-phy_driver.patch kernel: Make the patches apply on top of 4.19 6 years ago
734-net-phy-at803x-allow-to-configure-via-pdata.patch kernel: Make the patches apply on top of 4.19 6 years ago
735-net-phy-at803x-fix-at8033-sgmii-mode.patch kernel: Make the patches apply on top of 4.19 6 years ago
736-net-phy-at803x-allow-to-configure-via-dt.patch kernel: Make the patches apply on top of 4.19 6 years ago
810-pci_disable_common_quirks.patch kernel: Make the patches apply on top of 4.19 6 years ago
811-pci_disable_usb_common_quirks.patch kernel: Make the patches apply on top of 4.19 6 years ago
834-ledtrig-libata.patch kernel: Make the patches apply on top of 4.19 6 years ago
920-mangle_bootargs.patch kernel: Make the patches apply on top of 4.19 6 years ago
0931-w1-gpio-fix-problem-with-platfom-data-in-w1-gpio.patch kernel: Make the patches apply on top of 4.19 6 years ago