linux_dsm_epyc7002/drivers/media/platform
Neil Armstrong 9f7406d6b5 media: platform: ao-cec-g12a: disable regmap fast_io for cec bus regmap
With fast_io enabled, spinlock_irq is used for read/write operations,
thus leading to :
BUG: sleeping function called from invalid context at [snip]/ao-cec-g12a.c:379
 in_atomic(): 1, irqs_disabled(): 128, pid: 1451, name: irq/14-ff800280
[snip]
Call trace:
 dump_backtrace+0x0/0x180
 show_stack+0x14/0x1c
 dump_stack+0xa8/0xe0
 ___might_sleep+0xf4/0x104
 __might_sleep+0x4c/0x80
 meson_ao_cec_g12a_read+0x7c/0x164
 regmap_read+0x16c/0x1b0
 meson_ao_cec_g12a_irq_thread+0xcc/0x200
 irq_thread_fn+0x2c/0x60
 irq_thread+0x14c/0x1fc
 kthread+0x11c/0x12c
 ret_from_fork+0x10/0x18

Simply remove fast_io to use mutexes instead.

Fixes: b7778c4668 ("media: platform: meson: Add Amlogic Meson G12A AO CEC Controller driver")

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-06-03 10:45:55 -04:00
..
am437x treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
atmel Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
cadence treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
cec-gpio Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
coda media: coda: use v4l2_m2m_buf_copy_metadata 2019-05-29 06:21:17 -04:00
cros-ec-cec treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
davinci Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
exynos4-is Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
exynos-gsc treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
marvell-ccic Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
meson media: platform: ao-cec-g12a: disable regmap fast_io for cec bus regmap 2019-06-03 10:45:55 -04:00
mtk-jpeg treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mtk-mdp
mtk-vcodec media: mtk-vcodec: fix leaked of_node references 2019-05-29 10:26:09 -04:00
mtk-vpu media: mtk-vpu: fix leaked of_node references 2019-05-29 10:25:45 -04:00
omap Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
omap3isp media: omap3isp: constify platform_device_id 2019-05-29 16:46:08 -04:00
qcom media: coda/venus/s5p_mfc: fix control typo 2019-05-28 12:07:22 -04:00
rcar-vin media: rcar-csi2: Fix coccinelle warning for PTR_ERR_OR_ZERO() 2019-05-28 12:50:03 -04:00
rockchip/rga treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
s3c-camif treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
s5p-cec treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
s5p-g2d treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
s5p-jpeg treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
s5p-mfc media: coda/venus/s5p_mfc: fix control typo 2019-05-28 12:07:22 -04:00
seco-cec treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
sti treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
stm32 treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
sunxi/sun6i-csi media: sun6i: Support A83T variant 2019-05-29 11:27:55 -04:00
tegra-cec treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ti-vpe media: replace strncpy() by strscpy() 2019-03-29 10:26:13 -04:00
vicodec media: vicodec: correctly support unbinding of the driver 2019-05-28 12:25:08 -04:00
vimc media: vimc: Remove unneeded return statement in vimc_sen_s_stream() 2019-05-28 13:11:51 -04:00
vivid Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
vsp1 drm pull request for 5.2 2019-05-08 21:35:19 -07:00
xilinx media: Kconfig files: use the right help coding style 2019-03-20 06:47:51 -04:00
aspeed-video.c media: platform: Aspeed: Make reserved memory optional 2019-04-30 13:50:47 -04:00
fsl-viu.c
imx-pxp.c media: replace strncpy() by strscpy() 2019-03-29 10:26:13 -04:00
imx-pxp.h
Kconfig Linux 5.2-rc2 2019-05-28 11:21:51 -04:00
m2m-deinterlace.c
Makefile
mx2_emmaprp.c media: replace strncpy() by strscpy() 2019-03-29 10:26:13 -04:00
pxa_camera.c media: pxa-camera: Match with device node, not the port node 2019-03-20 06:35:41 -04:00
rcar_drif.c media: rcar_drif: Remove devm_ioremap_resource() error printing 2019-03-19 13:44:38 -04:00
rcar_fdp1.c media: v4l: rcar_fdp1: Fix indentation oddities 2019-03-25 14:14:56 -04:00
rcar_jpu.c
rcar-fcp.c
renesas-ceu.c
sh_veu.c media: platform/sh_veu.c: remove redundant NULL pointer checks 2019-03-19 13:49:19 -04:00
sh_vou.c
via-camera.c
via-camera.h
video-mux.c media: video-mux: fix null pointer dereferences 2019-03-29 07:42:37 -04:00
vim2m.c media: vim2m: fix two double-free issues 2019-05-28 12:49:42 -04:00