openwrtv3/target/linux/generic/patches-4.9
Felix Fietkau 1e1a0592f8 kernel: fix crashes on MIPS when loading kernel modules under memory pressure
When memory is tight, modules may need to be loaded into vmalloc()
space. The code then has to generate jump trampolines which enable
relocations between vmalloc space and physical address space.

The code had a bug that was freeing these trampolines even when the
module was successfully loaded.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-02-15 12:35:17 +01:00
..
010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch
011-kbuild-export-SUBARCH.patch
020-backport_netfilter_rtcache.patch
021-bridge-multicast-to-unicast.patch
022-net-add-devm-version-of-alloc_etherdev_mqs-function.patch
030-01-ubifs-Drop-softlimit-and-delta-fields-from-struct-ub.patch
030-02-ubifs-Use-dirty_writeback_interval-value-for-wbuf-ti.patch
040-01-MIPS-Introduce-irq_stack.patch
040-02-MIPS-Stack-unwinding-while-on-IRQ-stack.patch
040-03-MIPS-Only-change-28-to-thread_info-if-coming-from-us.patch
040-04-MIPS-Switch-to-the-irq_stack-in-interrupts.patch
040-05-MIPS-Select-HAVE_IRQ_EXIT_ON_IRQ_STACK.patch
040-06-MIPS-IRQ-Stack-Fix-erroneous-jal-to-plat_irq_dispatc.patch kernel: MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch 2017-02-12 01:41:43 +01:00
050-usb-dwc2-Remove-unnecessary-kfree.patch
060-0001-mtd-bcm47xxpart-fix-parsing-first-block-after-aligne.patch kernel: backport bcm47xxsflash support for reading 32 MiB flashes 2017-02-09 08:41:23 +01:00
060-0002-mtd-bcm47xxsflash-use-platform_-set-get-_drvdata.patch kernel: backport bcm47xxsflash support for reading 32 MiB flashes 2017-02-09 08:41:23 +01:00
060-0003-mtd-bcm47xxsflash-support-reading-flash-out-of-mappi.patch kernel: backport bcm47xxsflash support for reading 32 MiB flashes 2017-02-09 08:41:23 +01:00
060-0004-mtd-bcm47xxpart-move-TRX-parsing-code-to-separated-f.patch kernel: move upstream accepted bcm47xxpart TRX cleanups 2017-02-10 08:30:16 +01:00
060-0005-mtd-bcm47xxpart-support-layouts-with-multiple-TRX-pa.patch kernel: move upstream accepted bcm47xxpart TRX cleanups 2017-02-10 08:30:16 +01:00
061-v4.10-0001-mtd-spi-nor-add-Macronix-mx25u25635f-to-list-of-know.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 2017-02-07 15:35:39 +01:00
061-v4.10-0002-mtd-spi-nor-fix-spansion-quad-enable.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 2017-02-07 15:35:39 +01:00
061-v4.10-0003-mtd-spi-nor-fix-flags-for-s25fl128s.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 2017-02-07 15:35:39 +01:00
061-v4.10-0004-mtd-spi-nor-add-support-for-s25fl208k.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 2017-02-07 15:35:39 +01:00
061-v4.10-0005-mtd-spi-nor-Add-at25df321-spi-nor-flash-support.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 2017-02-07 15:35:39 +01:00
061-v4.10-0006-mtd-spi-nor-Add-support-for-N25Q016A.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 2017-02-07 15:35:39 +01:00
061-v4.10-0007-mtd-spi-nor-Add-support-for-mr25h40.patch kernel: update spi-nor in 4.9 to version from Linus's tree (4.10) 2017-02-07 15:35:39 +01:00
062-v4.11-0001-mtd-spi-nor-Add-support-for-S3AN-spi-nor-devices.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 2017-02-07 15:35:39 +01:00
062-v4.11-0002-mtd-spi-nor-improve-macronix_quad_enable.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 2017-02-07 15:35:39 +01:00
062-v4.11-0003-mtd-spi-nor-remove-WARN_ONCE-message-in-spi_nor_writ.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 2017-02-07 15:35:39 +01:00
062-v4.11-0004-mtd-spi-nor-rename-SPINOR_OP_-macros-of-the-4-byte-a.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 2017-02-07 15:35:39 +01:00
062-v4.11-0005-mtd-spi-nor-add-a-stateless-method-to-support-memory.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 2017-02-07 15:35:39 +01:00
062-v4.11-0006-mtd-spi-nor-Add-lock-unlock-support-for-f25l32pa.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 2017-02-07 15:35:39 +01:00
062-v4.11-0007-mtd-spi-nor-Fix-S3AN-addressing-calculation.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 2017-02-07 15:35:39 +01:00
062-v4.11-0008-mtd-spi-nor-Add-support-for-gd25q16.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 2017-02-07 15:35:39 +01:00
070-bcma-from-4.11.patch
071-v4.10-0001-net-bgmac-allocate-struct-bgmac-just-once-don-t-copy.patch
071-v4.10-0002-net-bgmac-drop-struct-bcma_mdio-we-don-t-need-anymor.patch
071-v4.10-0003-net-bgmac-use-PHY-subsystem-for-initializing-PHY.patch
075-v4.10-0001-net-phy-broadcom-Update-Auxiliary-Control-Register-m.patch
075-v4.10-0002-net-phy-broadcom-Add-support-for-BCM54612E.patch
075-v4.10-0003-net-phy-broadcom-add-bcm54xx_auxctl_read.patch
075-v4.10-0004-net-phy-broadcom-Add-BCM54810-PHY-entry.patch
075-v4.10-0005-net-phy-broadcom-Move-bcm54xx_auxctl_-read-write-to-.patch
076-v4.11-0001-net-phy-broadcom-Allow-enabling-or-disabling-of-EEE.patch
076-v4.11-0002-net-phy-broadcom-Add-support-code-for-reading-PHY-co.patch
076-v4.11-0003-net-phy-bcm7xxx-Add-entry-for-BCM7278.patch
076-v4.11-0004-net-phy-bcm7xxx-Implement-EGPHY-workaround-for-7278.patch
076-v4.11-0005-net-phy-broadcom-use-auxctl-reading-helper-in-BCM546.patch
076-v4.11-0006-net-phy-broadcom-add-support-for-BCM54210E.patch
076-v4.11-0007-net-phy-broadcom-rehook-BCM54612E-specific-init.patch
100-MIPS-fix-cache-flushing-for-highmem-pages.patch
110-ehci_hcd_ignore_oc.patch
120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch
121-of-Add-check-to-of_scan_flat_dt-before-accessing-ini.patch
130-add-linux-spidev-compatible-si3210.patch
131-spi-use-gpio_set_value_cansleep-for-setting-chipsele.patch
140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch
141-jffs2-add-RENAME_EXCHANGE-support.patch
150-bridge_allow_receiption_on_disabled_port.patch
160-mtd-part-add-generic-parsing-of-linux-part-probe.patch
170-Revert-bcma-init-serial-console-directly-from-ChipCo.patch
180-net-phy-at803x-add-support-for-AT8032.patch
200-fix_localversion.patch
201-extra_optimization.patch
202-reduce_module_size.patch
203-kallsyms_uncompressed.patch
204-module_strip.patch
205-backtrace_module_info.patch kernel: fix compile error on linux 4.9 with CONFIG_KALLSYMS disabled 2017-02-12 13:55:13 +01:00
206-mips-disable-vdso.patch
210-darwin_scripts_include.patch
211-host_tools_portability.patch kernel: fix linux 4.9 host tools portability issues 2017-02-11 19:02:52 +01:00
212-byteshift_portability.patch
214-spidev_h_portability.patch
220-gc_sections.patch
221-module_exports.patch
222-arm_zimage_none.patch
230-openwrt_lzma_options.patch
240-remove-unsane-filenames-from-deps_initramfs-list.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
261-enable_wilink_platform_without_drivers.patch
270-uapi-kernel.h-glibc-specific-inclusion-of-sysinfo.h.patch
271-uapi-libc-compat.h-do-not-rely-on-__GLIBC__.patch
272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch
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 kernel: fix 304-mips_disable_fpu.patch for v4.9 2017-02-11 06:52:32 +01:00
305-mips_module_reloc.patch kernel: fix crashes on MIPS when loading kernel modules under memory pressure 2017-02-15 12:35:17 +01:00
306-mips_mem_functions_performance.patch
307-mips_highmem_offset.patch
308-mips32r2_tune.patch
310-arm_module_unresolved_weak_sym.patch
321-powerpc_crtsavres_prereq.patch
330-MIPS-kexec-Accept-command-line-parameters-from-users.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
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 kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 2017-02-07 15:35:39 +01:00
476-mtd-spi-nor-add-eon-en25q128.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 2017-02-07 15:35:39 +01:00
477-mtd-add-spi-nor-add-mx25u3235f.patch kernel: update spi-nor in 4.9 to spi-nor tree version (next branch) 2017-02-07 15:35:39 +01:00
480-mtd-set-rootfs-to-be-root-dev.patch
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
491-ubi-auto-create-ubiblock-device-for-rootfs.patch
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch
494-mtd-ubi-add-EOF-marker-support.patch
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
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
630-packet_socket_type.patch
640-bridge-only-accept-EAP-locally.patch
641-bridge_port_isolate.patch
650-pppoe_header_pad.patch
651-wireless_mesh_header.patch
655-increase_skb_pad.patch
660-fq_codel_defaults.patch
661-use_fq_codel_by_default.patch
662-remove_pfifo_fast.patch
666-Add-support-for-MAP-E-FMRs-mesh-mode.patch
670-ipv6-allow-rejecting-with-source-address-failed-policy.patch
671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch
680-NET-skip-GRO-for-foreign-MAC-addresses.patch
681-NET-add-of_get_mac_address_mtd.patch
700-swconfig_switch_drivers.patch
701-phy_extension.patch
702-phy_add_aneg_done_function.patch
703-phy-add-detach-callback-to-struct-phy_driver.patch
704-phy-no-genphy-soft-reset.patch
710-phy-add-mdio_register_board_info.patch
721-phy_packets.patch
734-net-phy-at803x-allow-to-configure-via-pdata.patch
735-net-phy-at803x-fix-at8033-sgmii-mode.patch
773-bgmac-add-srab-switch.patch
810-pci_disable_common_quirks.patch
811-pci_disable_usb_common_quirks.patch
821-usb-Remove-annoying-warning-about-bogus-URB.patch
831-ledtrig_netdev.patch
834-ledtrig-libata.patch
835-misc-owl_loader.patch
840-rtc7301.patch
841-rtc_pt7c4338.patch
890-uart_optional_sysrq.patch
901-debloat_sock_diag.patch
902-debloat_proc.patch
903-debloat_direct_io.patch
904-debloat_dma_buf.patch
910-kobject_uevent.patch
911-kobject_add_broadcast_uevent.patch
920-mangle_bootargs.patch
921-always-create-console-node-in-initramfs.patch
930-crashlog.patch kernel: fix crashlog build error on 4.9 2017-02-06 11:56:57 +01:00