OpenCloudOS-Kernel/arch/arm/mach-davinci
Matt Porter 069552777a ARM: davinci: edma: fix dmaengine induced null pointer dereference on da830
This adds additional error checking to the private edma api implementation
to catch the case where the edma_alloc_slot() has an invalid controller
parameter. The edma dmaengine wrapper driver relies on this condition
being handled in order to avoid setting up a second edma dmaengine
instance on DA830.

Verfied using a DA850 with the second EDMA controller platform instance
removed to simulate a DA830 which only has a single EDMA controller.

Reported-by: Tomas Novotny <tomas@novotny.cz>
Signed-off-by: Matt Porter <mporter@ti.com>
Cc: stable@vger.kernel.org # v3.7.x+
Tested-by: Tomas Novotny <tomas@novotny.cz>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2013-03-12 17:10:46 +05:30
..
include/mach arm-soc: device tree conversions 2013-02-21 15:38:49 -08:00
Kconfig ARM: davinci: da850: add pinctrl driver DT entries 2013-01-21 17:51:07 +05:30
Makefile ARM: davinci: da850: add DT boot support 2012-10-29 15:24:42 +05:30
Makefile.boot ARM: davinci: move dtb targets to common location 2012-11-19 22:25:59 -08:00
aemif.c ARM: davinci: move platform_data definitions 2012-09-14 11:16:54 +02:00
asp.h ASoC/ARM: Davinci: McASP: split asp header into platform and audio specific 2012-08-27 11:12:09 -07:00
board-da830-evm.c DaVinci SoC changes for v3.9 2013-01-29 09:26:44 -08:00
board-da850-evm.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-02-24 17:35:10 -08:00
board-dm355-evm.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-dm355-leopard.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-dm365-evm.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-dm644x-evm.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-02-24 17:35:10 -08:00
board-dm646x-evm.c Merge branch 'clocksource/cleanup' into next/cleanup 2013-01-14 10:20:02 -08:00
board-mityomapl138.c DaVinci SoC changes for v3.9 2013-01-29 09:26:44 -08:00
board-neuros-osd2.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-omapl138-hawk.c arm-soc: board specific changes 2013-02-21 15:33:45 -08:00
board-sffsdr.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
board-tnetv107x-evm.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
cdce949.c ARM: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
clock.c ARM: davinci: psc: introduce reset API 2013-01-22 17:42:59 +05:30
clock.h ARM: davinci: psc: introduce reset API 2013-01-22 17:42:59 +05:30
common.c ARM: davinci: remove obsoleted init_consistent_dma_size() 2012-11-13 10:13:20 +01:00
cp_intc.c ARM: davinci: cp_intc: Add OF support for TI interrupt controller 2012-07-05 14:12:35 +05:30
cpufreq.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
cpuidle.c davinci: cpuidle - remove useless initialization 2013-02-08 18:31:16 -05:00
da8xx-dt.c Second round of DT updates for DaVinci. 2013-02-09 17:27:13 -08:00
da830.c video: da8xx-fb: clk_get on connection id fck 2012-11-27 11:52:40 +02:00
da850.c ARM: davinci: da850: add dsp clock definition 2013-01-24 10:54:08 +05:30
davinci.h Sound updates for 3.7-rc1 2012-10-09 07:07:14 +09:00
devices-da8xx.c Second round of DT updates for DaVinci. 2013-02-09 17:27:13 -08:00
devices-tnetv107x.c ARM: davinci: fix return value check by using IS_ERR in tnetv107x_devices_init() 2012-10-30 14:03:31 +05:30
devices.c Sound updates for 3.7-rc1 2012-10-09 07:07:14 +09:00
dm355.c ARM: davinci: sram: switch from iotable to ioremapped regions 2012-10-27 16:28:33 +05:30
dm365.c ARM: davinci: sram: switch from iotable to ioremapped regions 2012-10-27 16:28:33 +05:30
dm644x.c Linux 3.8-rc1 2012-12-27 12:44:11 -02:00
dm646x.c ARM: davinci: sram: switch from iotable to ioremapped regions 2012-10-27 16:28:33 +05:30
dma.c ARM: davinci: edma: fix dmaengine induced null pointer dereference on da830 2013-03-12 17:10:46 +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
mux.c Davinci: pinmux - use ioremap() 2010-05-13 10:05:29 -07:00
mux.h Davinci: eliminate pinmux offset verbosity 2010-05-06 15:02:09 -07:00
pm.c ARM: davinci: use machine specific hook for late init 2012-05-05 14:20:01 +08:00
pm_domain.c video: da8xx-fb: clk_get on connection id fck 2012-11-27 11:52:40 +02:00
psc.c ARM: davinci: psc: introduce reset API 2013-01-22 17:42:59 +05:30
serial.c ARM: davinci: serial: provide API to initialze UART clocks 2012-10-27 16:28:31 +05:30
sleep.S Merge branch 'depends/rmk/memory_h' into next/fixes 2011-10-31 23:11:53 +01:00
sram.c ARM: davinci: add platform hook to fetch the SRAM pool 2012-10-27 16:28:35 +05:30
time.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
tnetv107x.c ARM: 7190/1: restart: davinci: use new restart hook 2012-01-05 12:57:09 +00:00
usb.c ARM: davinci: usb: remove CONFIG_USB_MUSB_HOST etc 2012-10-24 16:37:17 +05:30