From 4f6837180e9aca525b107891e5f53373dc802038 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 22 Sep 2019 19:38:19 +0200 Subject: kernel: Update to version 4.4.194 Compile and runtime tested on lantiq. Signed-off-by: Hauke Mehrtens --- target/linux/lantiq/patches-4.4/0047-irq-fixes.patch | 8 ++++---- .../patches-4.4/0050-MIPS-Lantiq-Fix-cascaded-IRQ-setup.patch | 8 ++++---- target/linux/lantiq/patches-4.4/0152-lantiq-VPE.patch | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'target/linux/lantiq/patches-4.4') diff --git a/target/linux/lantiq/patches-4.4/0047-irq-fixes.patch b/target/linux/lantiq/patches-4.4/0047-irq-fixes.patch index 9efa63d35a..80db10ccc6 100644 --- a/target/linux/lantiq/patches-4.4/0047-irq-fixes.patch +++ b/target/linux/lantiq/patches-4.4/0047-irq-fixes.patch @@ -27,7 +27,7 @@ int val = 0; int edge = 0; -@@ -176,7 +176,7 @@ static unsigned int ltq_startup_eiu_irq( +@@ -177,7 +177,7 @@ static unsigned int ltq_startup_eiu_irq( ltq_enable_irq(d); for (i = 0; i < MAX_EIU; i++) { @@ -36,7 +36,7 @@ /* by default we are low level triggered */ ltq_eiu_settype(d, IRQF_TRIGGER_LOW); /* clear all pending */ -@@ -198,7 +198,7 @@ static void ltq_shutdown_eiu_irq(struct +@@ -199,7 +199,7 @@ static void ltq_shutdown_eiu_irq(struct ltq_disable_irq(d); for (i = 0; i < MAX_EIU; i++) { @@ -45,7 +45,7 @@ /* disable */ ltq_eiu_w32(ltq_eiu_r32(LTQ_EIU_EXIN_INEN) & ~BIT(i), LTQ_EIU_EXIN_INEN); -@@ -343,10 +343,10 @@ static int icu_map(struct irq_domain *d, +@@ -344,10 +344,10 @@ static int icu_map(struct irq_domain *d, return 0; for (i = 0; i < exin_avail; i++) @@ -58,7 +58,7 @@ return 0; } -@@ -441,14 +441,14 @@ int __init icu_of_init(struct device_nod +@@ -442,14 +442,14 @@ int __init icu_of_init(struct device_nod eiu_node = of_find_compatible_node(NULL, NULL, "lantiq,eiu-xway"); if (eiu_node && !of_address_to_resource(eiu_node, 0, &res)) { /* find out how many external irq sources we have */ diff --git a/target/linux/lantiq/patches-4.4/0050-MIPS-Lantiq-Fix-cascaded-IRQ-setup.patch b/target/linux/lantiq/patches-4.4/0050-MIPS-Lantiq-Fix-cascaded-IRQ-setup.patch index c0d7afc541..4382aec204 100644 --- a/target/linux/lantiq/patches-4.4/0050-MIPS-Lantiq-Fix-cascaded-IRQ-setup.patch +++ b/target/linux/lantiq/patches-4.4/0050-MIPS-Lantiq-Fix-cascaded-IRQ-setup.patch @@ -18,7 +18,7 @@ Signed-off-by: Felix Fietkau --- a/arch/mips/lantiq/irq.c +++ b/arch/mips/lantiq/irq.c -@@ -271,6 +271,11 @@ static void ltq_hw5_irqdispatch(void) +@@ -272,6 +272,11 @@ static void ltq_hw5_irqdispatch(void) DEFINE_HWx_IRQDISPATCH(5) #endif @@ -30,7 +30,7 @@ Signed-off-by: Felix Fietkau #ifdef CONFIG_MIPS_MT_SMP void __init arch_init_ipiirq(int irq, struct irqaction *action) { -@@ -315,23 +320,19 @@ static struct irqaction irq_call = { +@@ -316,23 +321,19 @@ static struct irqaction irq_call = { asmlinkage void plat_irq_dispatch(void) { unsigned int pending = read_c0_status() & read_c0_cause() & ST0_IM; @@ -64,7 +64,7 @@ Signed-off-by: Felix Fietkau } static int icu_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) -@@ -356,11 +357,6 @@ static const struct irq_domain_ops irq_d +@@ -357,11 +358,6 @@ static const struct irq_domain_ops irq_d .map = icu_map, }; @@ -76,7 +76,7 @@ Signed-off-by: Felix Fietkau int __init icu_of_init(struct device_node *node, struct device_node *parent) { struct device_node *eiu_node; -@@ -392,7 +388,7 @@ int __init icu_of_init(struct device_nod +@@ -393,7 +389,7 @@ int __init icu_of_init(struct device_nod mips_cpu_irq_init(); for (i = 0; i < MAX_IM; i++) diff --git a/target/linux/lantiq/patches-4.4/0152-lantiq-VPE.patch b/target/linux/lantiq/patches-4.4/0152-lantiq-VPE.patch index 7e52f55587..633f47e011 100644 --- a/target/linux/lantiq/patches-4.4/0152-lantiq-VPE.patch +++ b/target/linux/lantiq/patches-4.4/0152-lantiq-VPE.patch @@ -1,6 +1,6 @@ --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -2224,6 +2224,12 @@ config MIPS_VPE_LOADER +@@ -2222,6 +2222,12 @@ config MIPS_VPE_LOADER Includes a loader for loading an elf relocatable object onto another VPE and running it. -- cgit v1.2.3