kernel: generic: Add kernel 4.14 support
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 29 Oct 2017 18:32:10 +0000 (19:32 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 16 Dec 2017 21:11:19 +0000 (22:11 +0100)
commitb3f95490b9bec020314eb32016988ee262d52884
treef8289c19587108bb3b687575776f559eee6f01fd
parenta362df6f253e4460504fd870d6a7af40ef86ad70
kernel: generic: Add kernel 4.14 support

This adds initial support for kernel 4.14 based on the patches for
kernel 4.9.

In the configuration I deactivated some of the new possible security
features like:
CONFIG_REFCOUNT_FULL
CONFIG_SLAB_FREELIST_HARDENED
CONFIG_SOFTLOCKUP_DETECTOR
CONFIG_WARN_ALL_UNSEEDED_RANDOM

And these overlay FS options are also deactivated:
CONFIG_OVERLAY_FS_INDEX
CONFIG_OVERLAY_FS_REDIRECT_DIR

I activated this:
CONFIG_FORTIFY_SOURCE
CONFIG_POSIX_TIMERS
CONFIG_SLAB_MERGE_DEFAULT
CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED

I am not sure if I did the porting correct for the following patches:
target/linux/generic/backport-4.14/020-backport_netfilter_rtcache.patch
target/linux/generic/hack-4.14/220-gc_sections.patch
target/linux/generic/hack-4.14/321-powerpc_crtsavres_prereq.patch
target/linux/generic/pending-4.14/305-mips_module_reloc.patch
target/linux/generic/pending-4.14/611-netfilter_match_bypass_default_table.patch
target/linux/generic/pending-4.14/680-NET-skip-GRO-for-foreign-MAC-addresses.patch

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
132 files changed:
include/kernel-version.mk
target/linux/generic/backport-4.14/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch [new file with mode: 0644]
target/linux/generic/backport-4.14/011-kbuild-export-SUBARCH.patch [new file with mode: 0644]
target/linux/generic/backport-4.14/020-backport_netfilter_rtcache.patch [new file with mode: 0644]
target/linux/generic/backport-4.14/025-tcp-allow-drivers-to-tweak-TSQ-logic.patch [new file with mode: 0644]
target/linux/generic/backport-4.14/071-v4.15-0001-net-bgmac-enable-master-mode-for-BCM54210E-and-B5021.patch [new file with mode: 0644]
target/linux/generic/backport-4.14/076-v4.15-0001-net-phy-broadcom-support-new-device-flag-for-setting.patch [new file with mode: 0644]
target/linux/generic/config-4.14 [new file with mode: 0644]
target/linux/generic/files/drivers/net/phy/b53/b53_common.c
target/linux/generic/files/drivers/net/phy/rtl8306.c
target/linux/generic/files/drivers/net/phy/swconfig.c
target/linux/generic/hack-4.14/202-reduce_module_size.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/204-module_strip.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/207-disable-modorder.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/210-darwin_scripts_include.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/211-host_tools_portability.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/212-byteshift_portability.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/214-spidev_h_portability.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/220-gc_sections.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/221-module_exports.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/230-openwrt_lzma_options.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/250-netfilter_depends.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/251-sound_kconfig.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/259-regmap_dynamic.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/260-crypto_test_dependencies.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/280-rfkill-stubs.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/301-mips_image_cmdline_hack.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/321-powerpc_crtsavres_prereq.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/531-debloat_lzma.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/640-bridge-only-accept-EAP-locally.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/641-bridge_port_isolate.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/651-wireless_mesh_header.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/660-fq_codel_defaults.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/661-use_fq_codel_by_default.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/662-remove_pfifo_fast.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/700-swconfig_switch_drivers.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/702-phy_add_aneg_done_function.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/721-phy_packets.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/773-bgmac-add-srab-switch.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/835-misc-owl_loader.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/901-debloat_sock_diag.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/902-debloat_proc.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/904-debloat_dma_buf.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/910-kobject_uevent.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/911-kobject_add_broadcast_uevent.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/921-always-create-console-node-in-initramfs.patch [new file with mode: 0644]
target/linux/generic/hack-4.14/930-crashlog.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/100-MIPS-fix-cache-flushing-for-highmem-pages.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/110-ehci_hcd_ignore_oc.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/130-add-linux-spidev-compatible-si3210.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/131-spi-use-gpio_set_value_cansleep-for-setting-chipsele.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/141-jffs2-add-RENAME_EXCHANGE-support.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/150-bridge_allow_receiption_on_disabled_port.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/160-mtd-part-add-generic-parsing-of-linux-part-probe.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/180-net-phy-at803x-add-support-for-AT8032.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/190-2-5-e1000e-Fix-wrong-comment-related-to-link-detection.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/201-extra_optimization.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/203-kallsyms_uncompressed.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/205-backtrace_module_info.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/206-mips-disable-vdso.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/240-remove-unsane-filenames-from-deps_initramfs-list.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/261-enable_wilink_platform_without_drivers.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/270-uapi-kernel.h-glibc-specific-inclusion-of-sysinfo.h.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/271-uapi-libc-compat.h-do-not-rely-on-__GLIBC__.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/300-mips_expose_boot_raw.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/302-mips_no_branch_likely.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/304-mips_disable_fpu.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/305-mips_module_reloc.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/306-mips_mem_functions_performance.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/307-mips_highmem_offset.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/308-mips32r2_tune.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/310-arm_module_unresolved_weak_sym.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/332-arc-add-OWRTDTB-section.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/333-arc-enable-unaligned-access-in-kernel-mode.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/340-MIPS-mm-remove-mips_dma_mapping_error.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/400-mtd-add-rootfs-split-support.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/403-mtd-hook-mtdsplit-to-Kbuild.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/411-mtd-partial_eraseblock_write.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/412-mtd-partial_eraseblock_unlock.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/420-mtd-redboot_space.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/430-mtd-add-myloader-partition-parser.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/432-mtd-bcm47xxpart-detect-T_Meter-partition.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/440-block2mtd_init.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/441-block2mtd_probe.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/465-m25p80-mx-disable-software-protection.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/470-mtd-spi-nor-support-limiting-4K-sectors-support-base.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/476-mtd-spi-nor-add-eon-en25q128.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/477-mtd-add-spi-nor-add-mx25u3235f.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/480-mtd-set-rootfs-to-be-root-dev.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/491-ubi-auto-create-ubiblock-device-for-rootfs.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/494-mtd-ubi-add-EOF-marker-support.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/530-jffs2_make_lzma_available.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/532-jffs2_eofdetect.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/551-ubifs-fix-default-compression-selection.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/600-netfilter_conntrack_flush.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/610-netfilter_match_bypass_default_checks.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/611-netfilter_match_bypass_default_table.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/612-netfilter_match_reduce_memory_access.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/613-netfilter_optional_tcp_window_check.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/616-net_optimize_xfrm_calls.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/630-packet_socket_type.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/650-pppoe_header_pad.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/655-increase_skb_pad.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/680-NET-skip-GRO-for-foreign-MAC-addresses.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/681-NET-add-of_get_mac_address_mtd.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/701-phy_extension.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/703-phy-add-detach-callback-to-struct-phy_driver.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/734-net-phy-at803x-allow-to-configure-via-pdata.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/735-net-phy-at803x-fix-at8033-sgmii-mode.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/810-pci_disable_common_quirks.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/811-pci_disable_usb_common_quirks.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/821-usb-Remove-annoying-warning-about-bogus-URB.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/831-ledtrig_netdev.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/834-ledtrig-libata.patch [new file with mode: 0644]
target/linux/generic/pending-4.14/920-mangle_bootargs.patch [new file with mode: 0644]