linux/drivers/media/platform
Stanimir Varbanov bbd770aee0 media: venus: init registered list on streamoff
Add missing init_list_head for the registered buffer list.
Absence of the init could lead to a unhandled kernel paging
request as below, when streamon/streamoff are called in row.

[338046.571321] Unable to handle kernel paging request at virtual address fffffffffffffe00
[338046.574849] pgd = ffff800034820000
[338046.582381] [fffffffffffffe00] *pgd=00000000b60f5003[338046.582545]
, *pud=00000000b1f31003
, *pmd=0000000000000000[338046.592082]
[338046.597754] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[338046.601671] Modules linked in: venus_enc venus_dec venus_core
usb_f_ecm g_ether usb_f_rndis u_ether libcomposite ipt_MASQUERADE
nf_nat_masquerade_ipv4 arc4 wcn36xx mac80211 btqcomsmd btqca iptable_nat
nf_co]
[338046.662408] CPU: 0 PID: 5433 Comm: irq/160-venus Tainted: G        W
4.9.39+ #232
[338046.668024] Hardware name: Qualcomm Technologies, Inc. APQ 8016 SBC
(DT)
[338046.675268] task: ffff80003541cb00 task.stack: ffff800026e20000
[338046.682097] PC is at venus_helper_release_buf_ref+0x28/0x88
[venus_core]
[338046.688282] LR is at vdec_event_notify+0xe8/0x150 [venus_dec]
[338046.695029] pc : [<ffff000000af6c48>] lr : [<ffff000000a6fc60>]
pstate: a0000145
[338046.701256] sp : ffff800026e23bc0
[338046.708494] x29: ffff800026e23bc0 x28: 0000000000000000
[338046.718853] x27: ffff000000afd4f8 x26: ffff800031faa700
[338046.729253] x25: ffff000000afd790 x24: ffff800031faa618
[338046.739664] x23: ffff800003e18138 x22: ffff800002fc9810
[338046.750109] x21: ffff800026e23c28 x20: 0000000000000001
[338046.760592] x19: ffff80002a13b800 x18: 0000000000000010
[338046.771099] x17: 0000ffffa3d01600 x16: ffff000008100428
[338046.781654] x15: 0000000000000006 x14: ffff000089045ba7
[338046.792250] x13: ffff000009045bb6 x12: 00000000004f37c8
[338046.802894] x11: 0000000000267211 x10: 0000000000000000
[338046.813574] x9 : 0000000000032000 x8 : 00000000dc400000
[338046.824274] x7 : 0000000000000000 x6 : ffff800031faa728
[338046.835005] x5 : ffff80002a13b850 x4 : 0000000000000000
[338046.845793] x3 : fffffffffffffdf8 x2 : 0000000000000000
[338046.856602] x1 : 0000000000000003 x0 : ffff80002a13b800

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-09-23 07:23:20 -04:00
..
am437x media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
atmel media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
blackfin media: blackfin: bfin_capture: constify vb2_ops structures 2017-08-20 08:03:33 -04:00
coda media: coda/imx-vdoa: Check for platform_get_resource() error 2017-08-20 08:26:53 -04:00
davinci media: platform: constify videobuf_queue_ops structures 2017-08-26 14:30:25 -04:00
exynos4-is media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
exynos-gsc media: exynos-gsc: constify v4l2_m2m_ops structures 2017-08-20 08:04:00 -04:00
marvell-ccic media: platform: make video_device const 2017-08-27 08:44:30 -04:00
meson media: platform: Add Amlogic Meson AO CEC Controller driver 2017-08-09 10:45:26 -04:00
mtk-jpeg media: vcodec: mediatek: constify v4l2_m2m_ops structures 2017-08-20 08:03:55 -04:00
mtk-mdp media: mtk-mdp: use IS_ERR to check return value of of_clk_get 2017-08-20 08:20:42 -04:00
mtk-vcodec media: mtk-vcodec: fix vp9 decode error 2017-08-08 06:26:48 -04:00
mtk-vpu IOMMU Updates for Linux v4.12 2017-05-09 15:15:47 -07:00
omap media: v4l: omap_vout: vrfb: initialize DMA flags 2017-08-08 06:35:10 -04:00
omap3isp media: omap3isp: fix uninitialized variable use 2017-08-26 20:14:42 -04:00
qcom media: venus: init registered list on streamoff 2017-09-23 07:23:20 -04:00
rcar-vin media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
s3c-camif media: s3c-camif: don't set driver_version 2017-08-08 06:00:26 -04:00
s5p-cec media: s5p-cec: use CEC_CAP_DEFAULTS 2017-08-20 08:13:26 -04:00
s5p-g2d media: platform: make video_device const 2017-08-27 08:44:30 -04:00
s5p-jpeg media: s5p-jpeg: directly use parsed subsampling on exynos5433 2017-08-20 08:02:21 -04:00
s5p-mfc [media] s5p-mfc: fix spelling mistake: "destionation" -> "destination" 2017-06-13 14:01:10 -03:00
soc_camera media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
sti media: stih-cec: use CEC_CAP_DEFAULTS 2017-08-26 08:36:45 -04:00
stm32 media: stm32-dcmi: g_/s_selection crop support 2017-08-26 14:10:41 -04:00
ti-vpe media: platform: make video_device const 2017-08-27 08:44:30 -04:00
vimc media: vimc: constify video_subdev structures 2017-08-20 08:04:30 -04:00
vivid media: vivid: fix incorrect HDMI input/output CEC logging 2017-08-26 08:36:29 -04:00
vsp1 media: v4l: vsp1: Allow entities to participate in the partition algorithm 2017-08-20 09:32:49 -04:00
xilinx media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
arv.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
fsl-viu.c media: platform: make video_device const 2017-08-27 08:44:30 -04:00
Kconfig media: camss: Enable building 2017-08-26 15:13:11 -04:00
m2m-deinterlace.c media: platform: make video_device const 2017-08-27 08:44:30 -04:00
Makefile media: camss: Enable building 2017-08-26 15:13:11 -04:00
mx2_emmaprp.c media: platform: make video_device const 2017-08-27 08:44:30 -04:00
pxa_camera.c media: Convert to using %pOF instead of full_name 2017-08-20 08:20:20 -04:00
rcar_drif.c [media] media: platform: rcar_drif: Add DRIF support 2017-06-20 07:07:37 -03:00
rcar_fdp1.c media: rcar_fdp1: constify vb2_ops structure 2017-07-19 15:03:55 -04:00
rcar_jpu.c media: V4L2: platform: rcar_jpu: constify v4l2_m2m_ops structures 2017-08-20 08:03:51 -04:00
rcar-fcp.c v4l: rcar-fcp: Add an API to retrieve the FCP device 2017-06-09 12:25:36 +01:00
sh_veu.c [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
sh_vou.c [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
via-camera.c media: platform: make video_device const 2017-08-27 08:44:30 -04:00
via-camera.h
video-mux.c media: platform: video-mux: convert to multiplexer framework 2017-07-20 06:59:25 -04:00
vim2m.c media: platform: make video_device const 2017-08-27 08:44:30 -04:00