android_kernel_oneplus_msm8998/arch/arm/mach-davinci
Suman Anna 121ed59565 ARM: davinci: da8xx: Create DSP device only when assigned memory
[ Upstream commit f97f03578b997a8ec2b9bc4928f958a865137268 ]

The DSP device on Davinci platforms does not have an MMU and requires
specific DDR memory to boot. This memory is reserved using the rproc_mem
kernel boot parameter and is assigned to the device on non-DT boots.
The remoteproc core uses the DMA API and so will fall back to assigning
random memory if this memory is not assigned to the device, but the DSP
remote processor boot will not be successful in such cases. So, check
that memory has been reserved and assigned to the device specifically
before even creating the DSP device.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-13 19:50:09 +02:00
..
include/mach ARM: Show proper respect for Heinrich Hertz by using the correct unit for frequency 2015-05-14 16:22:05 +01:00
aemif.c ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif 2014-02-23 20:33:18 +05:30
asp.h ARM: davinci: devices-da8xx: Add support for McASP2 on da830 2015-03-18 15:52:05 +05:30
board-da830-evm.c ARM: davinci: Use standard logging styles 2014-11-18 21:06:41 +05:30
board-da850-evm.c wlcore: remove wl12xx_platform_data 2015-03-24 09:48:14 -07:00
board-dm355-evm.c [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
board-dm355-leopard.c ARM: davinci: remove checks for CONFIG_USB_MUSB_PERIPHERAL 2014-05-22 16:29:08 +05:30
board-dm365-evm.c [media] platform: Make use of media_bus_format enum 2014-11-14 17:54:08 -02:00
board-dm644x-evm.c ARM: davinci: re-use %*ph specifier 2015-10-07 16:40:58 +05:30
board-dm646x-evm.c ARM: davinci: Remove CDCE949 driver 2015-01-20 19:29:58 +05:30
board-mityomapl138.c ARM: davinci: Use standard logging styles 2014-11-18 21:06:41 +05:30
board-neuros-osd2.c ARM: davinci: Use standard logging styles 2014-11-18 21:06:41 +05:30
board-omapl138-hawk.c ARM: driver updates for 3.13 2013-11-11 17:05:37 +09:00
board-sffsdr.c misc: (at24) move header to linux/platform_data/ 2013-09-30 06:02:34 +02:00
clock.c ARM: davinci: clock: Correct return values for API functions 2015-10-07 16:41:29 +05:30
clock.h ARM: davinci: clk framework support for enable/disable functionality 2013-04-01 16:54:47 +05:30
common.c ARM: davinci: remove obsoleted init_consistent_dma_size() 2012-11-13 10:13:20 +01:00
cp_intc.c ARM: SoC platform updates for v4.3 2015-09-01 12:18:40 -07:00
cpuidle.c ARM: cpuidle: Remove duplicate header inclusion 2015-03-23 18:03:11 +01:00
da8xx-dt.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
da830.c This patch updates the davinci watchdog 2014-01-16 13:59:52 -08:00
da850.c ARM: davinci: da850: don't add emac clock to lookup table twice 2017-01-12 11:22:43 +01:00
davinci.h ARM: davinci: da8xx: fix multiple watchdog device registration 2014-03-06 19:08:29 +05:30
devices-da8xx.c ARM: davinci: da8xx: Create DSP device only when assigned memory 2018-04-13 19:50:09 +02:00
devices.c ARM: davinci: da8xx: fix multiple watchdog device registration 2014-03-06 19:08:29 +05:30
dm355.c ARM: davinci: Add dma_mask to eDMA devices 2015-10-14 19:57:11 +05:30
dm365.c ARM: davinci/common: Convert edma driver to handle one eDMA instance per driver 2015-10-14 19:57:11 +05:30
dm644x.c ARM: davinci: Add dma_mask to eDMA devices 2015-10-14 19:57:11 +05:30
dm646x.c ARM: davinci: Add dma_mask to eDMA devices 2015-10-14 19:57:11 +05:30
irq.c Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux-arm-soc 2011-07-19 22:10:05 -07:00
Kconfig wlcore: remove wl12xx_platform_data 2015-03-24 09:48:14 -07:00
Makefile ARM: davinci: Remove CDCE949 driver 2015-01-20 19:29:58 +05:30
Makefile.boot ARM: davinci: enable da8xx build concurrently with older devices 2014-03-06 19:08:28 +05:30
mux.c ARM: davinci: davinci_cfg_reg cannot be init 2015-02-18 12:20:25 +01:00
mux.h Davinci: eliminate pinmux offset verbosity 2010-05-06 15:02:09 -07:00
pm.c ARM: mach-davinci: drop owner assignment from platform_drivers 2014-10-20 16:20:02 +02:00
pm_domain.c arm: davinci: remove boilerplate code and use USE_PM_CLK_RUNTIME_OPS 2015-05-12 23:55:38 +02:00
psc.c ARM: davinci: psc: introduce reset API 2013-01-22 17:42:59 +05:30
serial.c ARM: davinci: serial.c: remove unused serial_read_reg() 2015-01-14 15:56:12 +05:30
sleep.S ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+ 2014-07-18 12:29:04 +01:00
sram.c arch/arm/mach-davinci/sram.c: use gen_pool_dma_alloc() to sram.c 2013-11-13 12:09:22 +09:00
time.c ARM/davinci/time: Migrate to new 'set-state' interface 2015-07-17 08:22:48 +05:30
usb.c v3.10 board updates for DaVinci 2013-04-17 23:54:41 -07:00