linux/drivers/gpu/drm/meson
Jean-Philippe Brucker 2d8f92897a drm/meson: Uninstall IRQ handler
meson_drv_unbind() doesn't unregister the IRQ handler, which can lead to
use-after-free if the IRQ fires after unbind:

[   64.656876] Unable to handle kernel paging request at virtual address ffff000011706dbc
...
[   64.662001] pc : meson_irq+0x18/0x30 [meson_drm]

I'm assuming that a similar problem could happen on the error path of
bind(), so uninstall the IRQ handler there as well.

Fixes: bbbe775ec5 ("drm: Add support for Amlogic Meson Graphic Controller")
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190322152657.13752-2-jean-philippe.brucker@arm.com
2019-03-25 11:18:47 +01:00
..
Kconfig drm/meson: Use optional canvas provider 2018-11-13 11:51:34 +01:00
Makefile drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_canvas.c drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_canvas.h drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_crtc.c Linux 5.0-rc7 2019-02-18 13:27:15 +10:00
meson_crtc.h
meson_drv.c drm/meson: Uninstall IRQ handler 2019-03-25 11:18:47 +01:00
meson_drv.h drm/meson: move OSD scaler management into plane atomic update 2018-11-13 13:27:51 +01:00
meson_dw_hdmi.c drm/meson: add HDMI div40 TMDS mode 2019-02-01 13:15:08 +01:00
meson_dw_hdmi.h drm/meson: Add support for HDMI encoder and DW-HDMI bridge + PHY 2017-04-04 17:49:31 +02:00
meson_overlay.c drm/meson: Add implicit fencing support for primary and overlay planes 2018-11-21 12:20:53 +01:00
meson_overlay.h drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_plane.c drm/meson: Fix an Alpha Primary Plane bug on Meson GXL/GXM SoCs 2018-12-03 11:12:09 +01:00
meson_plane.h
meson_registers.h drm/meson: Support Overlay plane for video rendering 2018-11-13 13:27:51 +01:00
meson_vclk.c drm/meson: Add support for VIC alternate timings 2018-11-27 16:39:49 +01:00
meson_vclk.h drm/meson: Add support for VIC alternate timings 2018-11-27 16:39:49 +01:00
meson_venc_cvbs.c drm: Split out drm_probe_helper.h 2019-01-24 13:20:42 +01:00
meson_venc_cvbs.h
meson_venc.c drm/meson: add support for HDMI2.0 2160p modes 2019-02-01 13:15:09 +01:00
meson_venc.h drm/meson: Make DMT timings parameters and pixel clock generic 2018-07-16 11:14:59 +02:00
meson_viu.c drm pull request for 4.21-rc1 2018-12-25 11:48:26 -08:00
meson_viu.h drm/meson: Fix an Alpha Primary Plane bug on Meson GXL/GXM SoCs 2018-12-03 11:12:09 +01:00
meson_vpp.c drm/meson: move OSD scaler management into plane atomic update 2018-11-13 13:27:51 +01:00
meson_vpp.h drm/meson: Add support for HDMI venc modes and settings 2017-04-04 17:49:31 +02:00