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/7194-staging-fsl-mc-export-irq-cleanup-for-vfio-to-use.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/7194-staging-fsl-mc-export-irq-cleanup-for-vfio-to-use.patch')
-rw-r--r-- | target/linux/layerscape/patches-4.4/7194-staging-fsl-mc-export-irq-cleanup-for-vfio-to-use.patch | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/target/linux/layerscape/patches-4.4/7194-staging-fsl-mc-export-irq-cleanup-for-vfio-to-use.patch b/target/linux/layerscape/patches-4.4/7194-staging-fsl-mc-export-irq-cleanup-for-vfio-to-use.patch new file mode 100644 index 0000000..0b92685 --- /dev/null +++ b/target/linux/layerscape/patches-4.4/7194-staging-fsl-mc-export-irq-cleanup-for-vfio-to-use.patch @@ -0,0 +1,47 @@ +From 552d628c887d970b9a97d8db2629adc4820fb8e3 Mon Sep 17 00:00:00 2001 +From: Bharat Bhushan <Bharat.Bhushan@freescale.com> +Date: Thu, 16 Jul 2015 14:44:24 +0530 +Subject: [PATCH 194/226] staging: fsl-mc: export irq cleanup for vfio to use + +VFIO driver needs these basic functions for +setting up itt/its of dprc's bound to it. + +Signed-off-by: Bharat Bhushan <Bharat.Bhushan@freescale.com> +(Stuart: resolved merge conflict, commit log cleanup) +Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com> +--- + drivers/staging/fsl-mc/bus/dprc-driver.c | 4 ++-- + drivers/staging/fsl-mc/include/mc-private.h | 4 ++++ + 2 files changed, 6 insertions(+), 2 deletions(-) + +--- a/drivers/staging/fsl-mc/bus/dprc-driver.c ++++ b/drivers/staging/fsl-mc/bus/dprc-driver.c +@@ -193,7 +193,7 @@ static void dprc_add_new_devices(struct + } + } + +-static void dprc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev) ++void dprc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev) + { + int pool_type; + struct fsl_mc_bus *mc_bus = to_fsl_mc_bus(mc_bus_dev); +@@ -234,7 +234,7 @@ static void dprc_cleanup_resource_pool(s + WARN_ON(free_count != res_pool->free_count); + } + +-static void dprc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev) ++void dprc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev) + { + int pool_type; + +--- a/drivers/staging/fsl-mc/include/mc-private.h ++++ b/drivers/staging/fsl-mc/include/mc-private.h +@@ -157,4 +157,8 @@ int fsl_mc_populate_irq_pool(struct fsl_ + + void fsl_mc_cleanup_irq_pool(struct fsl_mc_bus *mc_bus); + ++void dprc_init_all_resource_pools(struct fsl_mc_device *mc_bus_dev); ++ ++void dprc_cleanup_all_resource_pools(struct fsl_mc_device *mc_bus_dev); ++ + #endif /* _FSL_MC_PRIVATE_H_ */ |