diff options
author | Yutang Jiang <yutang.jiang@nxp.com> | 2016-12-24 01:11:32 +0800 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-01-03 15:19:15 +0100 |
commit | 1866368a8ab8cacf73aa47f67138040d5620439d (patch) | |
tree | 2b0dd1ba578016957856f59bf4b2edc54d6a46c5 /target/linux/layerscape/patches-4.4/7178-staging-fsl-mc-bus-Drop-warning.patch | |
parent | c6d3a62919a7f993be625391d8593c84423aa021 (diff) | |
download | mtk-20170518-1866368a8ab8cacf73aa47f67138040d5620439d.zip mtk-20170518-1866368a8ab8cacf73aa47f67138040d5620439d.tar.gz mtk-20170518-1866368a8ab8cacf73aa47f67138040d5620439d.tar.bz2 |
layerscape: add ls1088ardb device support
LS1088A is an ARMv8 implementation combining eight ARM A53 processor
cores. The LS1088ARDB is an evaluatoin platform that supports the
LS1088A family SoCs.
Features summary:
- Eight 64-bit ARM v8 Cortex-A53 CPUs
- Data path acceleration architecture 2.0 (DPAA2)
- Ethernet interfaces
- QUADSPI flash, 3 PCIe, 2 USB, 1 SD, 2 DUARTs etc
Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
Diffstat (limited to 'target/linux/layerscape/patches-4.4/7178-staging-fsl-mc-bus-Drop-warning.patch')
-rw-r--r-- | target/linux/layerscape/patches-4.4/7178-staging-fsl-mc-bus-Drop-warning.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/target/linux/layerscape/patches-4.4/7178-staging-fsl-mc-bus-Drop-warning.patch b/target/linux/layerscape/patches-4.4/7178-staging-fsl-mc-bus-Drop-warning.patch new file mode 100644 index 0000000..dae0a57 --- /dev/null +++ b/target/linux/layerscape/patches-4.4/7178-staging-fsl-mc-bus-Drop-warning.patch @@ -0,0 +1,47 @@ +From 9821898bbfa5a21254baafe19b3cc97516fc6019 Mon Sep 17 00:00:00 2001 +From: Matthias Brugger <mbrugger@suse.com> +Date: Thu, 14 Apr 2016 23:24:26 +0200 +Subject: [PATCH 178/226] staging: fsl-mc: bus: Drop warning + +When updating the irq_chip and msi_domain_ops, the code checkes for +already present functions. +When more then one ITS controller are present in the system, +irq_chip and msi_domain_ops got already set and a warning is invoked. + +This patch deletes the warning, as the funtions are just already set to +the needed callbacks. + +Signed-off-by: Matthias Brugger <mbrugger@suse.com> +Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> +--- + drivers/staging/fsl-mc/bus/mc-msi.c | 12 ++++-------- + 1 file changed, 4 insertions(+), 8 deletions(-) + +--- a/drivers/staging/fsl-mc/bus/mc-msi.c ++++ b/drivers/staging/fsl-mc/bus/mc-msi.c +@@ -37,10 +37,8 @@ static void fsl_mc_msi_update_dom_ops(st + /* + * set_desc should not be set by the caller + */ +- if (WARN_ON(ops->set_desc)) +- return; +- +- ops->set_desc = fsl_mc_msi_set_desc; ++ if (ops->set_desc == NULL) ++ ops->set_desc = fsl_mc_msi_set_desc; + } + + static void __fsl_mc_msi_write_msg(struct fsl_mc_device *mc_bus_dev, +@@ -129,10 +127,8 @@ static void fsl_mc_msi_update_chip_ops(s + /* + * irq_write_msi_msg should not be set by the caller + */ +- if (WARN_ON(chip->irq_write_msi_msg)) +- return; +- +- chip->irq_write_msi_msg = fsl_mc_msi_write_msg; ++ if (chip->irq_write_msi_msg == NULL) ++ chip->irq_write_msi_msg = fsl_mc_msi_write_msg; + } + + /** |