From f229f4af31731badc2dec27c9bdef9f5fa8f7433 Mon Sep 17 00:00:00 2001 From: Kevin Darbyshire-Bryant Date: Thu, 23 Feb 2017 18:52:26 +0000 Subject: kernel: update kernel 4.4 to 4.4.52 Bump kernel from 4.4.50 to 4.4.52 Refresh patches Compile tested all 4.4. targets Run tested: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant --- ...irqchip-ls-scfg-msi-add-LS1043a-v1.1-MSI-support.patch | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'target/linux/layerscape/patches-4.4/8240-irqchip-ls-scfg-msi-add-LS1043a-v1.1-MSI-support.patch') diff --git a/target/linux/layerscape/patches-4.4/8240-irqchip-ls-scfg-msi-add-LS1043a-v1.1-MSI-support.patch b/target/linux/layerscape/patches-4.4/8240-irqchip-ls-scfg-msi-add-LS1043a-v1.1-MSI-support.patch index 02fc020338..d1266a23ae 100644 --- a/target/linux/layerscape/patches-4.4/8240-irqchip-ls-scfg-msi-add-LS1043a-v1.1-MSI-support.patch +++ b/target/linux/layerscape/patches-4.4/8240-irqchip-ls-scfg-msi-add-LS1043a-v1.1-MSI-support.patch @@ -21,8 +21,6 @@ Signed-off-by: Yangbo Lu drivers/irqchip/irq-ls-scfg-msi.c | 45 +++++++++++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 6 deletions(-) -diff --git a/drivers/irqchip/irq-ls-scfg-msi.c b/drivers/irqchip/irq-ls-scfg-msi.c -index 6586076..71a2050 100644 --- a/drivers/irqchip/irq-ls-scfg-msi.c +++ b/drivers/irqchip/irq-ls-scfg-msi.c @@ -25,14 +25,21 @@ @@ -47,7 +45,7 @@ index 6586076..71a2050 100644 void __iomem *reg; }; -@@ -140,13 +147,18 @@ static void ls_scfg_msi_irq_handler(struct irq_desc *desc) +@@ -140,13 +147,18 @@ static void ls_scfg_msi_irq_handler(stru struct ls_scfg_msir *msir = irq_desc_get_handler_data(desc); struct ls_scfg_msi *msi_data = msir->msi_data; unsigned long val; @@ -69,7 +67,7 @@ index 6586076..71a2050 100644 virq = irq_find_mapping(msi_data->parent, hwirq); if (virq) generic_handle_irq(virq); -@@ -193,14 +205,24 @@ static int ls_scfg_msi_setup_hwirq(struct ls_scfg_msi *msi_data, int index) +@@ -193,14 +205,24 @@ static int ls_scfg_msi_setup_hwirq(struc msir->index = index; msir->msi_data = msi_data; msir->gic_irq = virq; @@ -96,7 +94,7 @@ index 6586076..71a2050 100644 hwirq = i << msi_data->cfg->ibs_shift | msir->index; bitmap_clear(msi_data->used, hwirq, 1); } -@@ -216,7 +238,7 @@ static int ls_scfg_msi_teardown_hwirq(struct ls_scfg_msir *msir) +@@ -216,7 +238,7 @@ static int ls_scfg_msi_teardown_hwirq(st if (msir->gic_irq > 0) irq_set_chained_handler_and_data(msir->gic_irq, NULL, NULL); @@ -105,7 +103,7 @@ index 6586076..71a2050 100644 hwirq = i << msi_data->cfg->ibs_shift | msir->index; bitmap_set(msi_data->used, hwirq, 1); } -@@ -226,10 +248,20 @@ static int ls_scfg_msi_teardown_hwirq(struct ls_scfg_msir *msir) +@@ -226,10 +248,20 @@ static int ls_scfg_msi_teardown_hwirq(st static struct ls_scfg_msi_cfg ls1021_msi_cfg = { .ibs_shift = 3, @@ -126,7 +124,7 @@ index 6586076..71a2050 100644 }; static const struct of_device_id ls_scfg_msi_id[] = { -@@ -240,6 +272,7 @@ static const struct of_device_id ls_scfg_msi_id[] = { +@@ -240,6 +272,7 @@ static const struct of_device_id ls_scfg { .compatible = "fsl,ls1012a-msi", .data = &ls1021_msi_cfg }, { .compatible = "fsl,ls1021a-msi", .data = &ls1021_msi_cfg }, { .compatible = "fsl,ls1043a-msi", .data = &ls1021_msi_cfg }, @@ -134,6 +132,3 @@ index 6586076..71a2050 100644 { .compatible = "fsl,ls1046a-msi", .data = &ls1046_msi_cfg }, {}, }; --- -2.1.0.27.g96db324 - -- cgit v1.2.3