kernel: backport MIPS changes introducing a separate IRQ stack
authorFelix Fietkau <nbd@nbd.name>
Wed, 11 Jan 2017 09:57:49 +0000 (10:57 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 15 Jan 2017 17:25:54 +0000 (18:25 +0100)
commit1708644f1915eb7587a904d81da0ef0b559d1567
tree15fd746c87d428ef513ee95fc69ded44fbf7e2ea
parentb02636fcb4b16d437442f817a60a30e9b7ce4ed2
kernel: backport MIPS changes introducing a separate IRQ stack

Prevents crashes when IRQs arrive when the current kernel stack context
already contains deeply nested function calls, e.g. when stacking lots
of network devices on top of each other

Signed-off-by: Felix Fietkau <nbd@nbd.name>
17 files changed:
target/linux/ar71xx/patches-4.4/500-MIPS-fw-myloader.patch
target/linux/ath25/patches-4.4/107-ar5312_gpio.patch
target/linux/brcm47xx/patches-4.4/159-cpu_fixes.patch
target/linux/brcm63xx/patches-4.4/322-MIPS-BCM63XX-switch-to-IRQ_DOMAIN.patch
target/linux/generic/patches-4.4/062-01-MIPS-Introduce-irq_stack.patch [new file with mode: 0644]
target/linux/generic/patches-4.4/062-02-MIPS-Stack-unwinding-while-on-IRQ-stack.patch [new file with mode: 0644]
target/linux/generic/patches-4.4/062-03-MIPS-Only-change-28-to-thread_info-if-coming-from-us.patch [new file with mode: 0644]
target/linux/generic/patches-4.4/062-04-MIPS-Switch-to-the-irq_stack-in-interrupts.patch [new file with mode: 0644]
target/linux/generic/patches-4.4/062-05-MIPS-Select-HAVE_IRQ_EXIT_ON_IRQ_STACK.patch [new file with mode: 0644]
target/linux/generic/patches-4.4/092-MIPS-ZBOOT-copy-appended-dtb-to-the-end-of-the-kerne.patch
target/linux/generic/patches-4.4/132-mips_inline_dma_ops.patch
target/linux/generic/patches-4.4/300-mips_expose_boot_raw.patch
target/linux/generic/patches-4.4/301-mips_image_cmdline_hack.patch
target/linux/generic/patches-4.4/304-mips_disable_fpu.patch
target/linux/lantiq/patches-4.4/0152-lantiq-VPE.patch
target/linux/ramips/patches-4.4/0025-pinctrl-ralink-add-pinctrl-driver.patch
target/linux/ramips/patches-4.4/0028-GPIO-ralink-add-mt7621-gpio-controller.patch