linux/drivers/gpu/drm
Linus Torvalds 0f25f0e4ef the bulk of struct fd memory safety stuff
Making sure that struct fd instances are destroyed in the same
 scope where they'd been created, getting rid of reassignments
 and passing them by reference, converting to CLASS(fd{,_pos,_raw}).
 
 We are getting very close to having the memory safety of that stuff
 trivial to verify.
 
 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQqUNBr3gm4hGXdBJlZ7Krx/gZQ6wUCZzdikAAKCRBZ7Krx/gZQ
 69nJAQCmbQHK3TGUbQhOw6MJXOK9ezpyEDN3FZb4jsu38vTIdgEA6OxAYDO2m2g9
 CN18glYmD3wRyU6Bwl4vGODouSJvDgA=
 =gVH3
 -----END PGP SIGNATURE-----

Merge tag 'pull-fd' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs

Pull 'struct fd' class updates from Al Viro:
 "The bulk of struct fd memory safety stuff

  Making sure that struct fd instances are destroyed in the same scope
  where they'd been created, getting rid of reassignments and passing
  them by reference, converting to CLASS(fd{,_pos,_raw}).

  We are getting very close to having the memory safety of that stuff
  trivial to verify"

* tag 'pull-fd' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (28 commits)
  deal with the last remaing boolean uses of fd_file()
  css_set_fork(): switch to CLASS(fd_raw, ...)
  memcg_write_event_control(): switch to CLASS(fd)
  assorted variants of irqfd setup: convert to CLASS(fd)
  do_pollfd(): convert to CLASS(fd)
  convert do_select()
  convert vfs_dedupe_file_range().
  convert cifs_ioctl_copychunk()
  convert media_request_get_by_fd()
  convert spu_run(2)
  switch spufs_calls_{get,put}() to CLASS() use
  convert cachestat(2)
  convert do_preadv()/do_pwritev()
  fdget(), more trivial conversions
  fdget(), trivial conversions
  privcmd_ioeventfd_assign(): don't open-code eventfd_ctx_fdget()
  o2hb_region_dev_store(): avoid goto around fdget()/fdput()
  introduce "fd_pos" class, convert fdget_pos() users to it.
  fdget_raw() users: switch to CLASS(fd_raw)
  convert vmsplice() to CLASS(fd)
  ...
2024-11-18 12:24:06 -08:00
..
amd the bulk of struct fd memory safety stuff 2024-11-18 12:24:06 -08:00
arm drm: komeda: Fix an issue related to normalized zpos 2024-08-30 13:44:12 +01:00
armada
aspeed
ast drm/ast: vga: Clear EDID if no display is connected 2024-10-17 08:50:14 +02:00
atmel-hlcdc drm: atmel-hlcdc: add LCD controller layer definition for sam9x75 2024-05-30 15:47:55 +02:00
bridge drm/bridge: tc358768: Fix DSI command tx 2024-11-14 11:29:42 +01:00
ci drm/ci: increase timeout for all jobs 2024-08-28 12:21:49 -03:00
display Short summary of fixes pull: 2024-10-01 08:15:55 +10:00
etnaviv Merge drm/drm-next into drm-misc-next 2024-07-29 09:35:54 +02:00
exynos drm next for 6.12-rc1 2024-09-19 10:18:15 +02:00
fsl-dcu
gma500 drm next for 6.12-rc1 2024-09-19 10:18:15 +02:00
gud drm: add missing MODULE_DESCRIPTION() macros 2024-06-10 12:44:39 +02:00
hisilicon drm/hisilicon: Remove unused delarations 2024-08-13 16:22:43 +02:00
hyperv
i2c
i915 vfs-6.13.file 2024-11-18 10:30:29 -08:00
imagination drm/imagination: Break an object reference loop 2024-11-04 09:41:38 +00:00
imx Linux 6.11-rc7 2024-09-11 09:18:15 +02:00
ingenic drm/bridge-connector: move to DRM_DISPLAY_HELPER module 2024-09-03 10:18:31 +02:00
kmb drm/bridge-connector: move to DRM_DISPLAY_HELPER module 2024-09-03 10:18:31 +02:00
lib
lima Merge drm/drm-next into drm-misc-next 2024-07-29 09:35:54 +02:00
logicvc
loongson drm/loongson: use GEM references instead of TTMs 2024-08-01 10:03:44 +02:00
mcde
mediatek drm/mediatek: Fix potential NULL dereference in mtk_crtc_destroy() 2024-10-23 14:09:13 +00:00
meson drm/bridge-connector: move to DRM_DISPLAY_HELPER module 2024-09-03 10:18:31 +02:00
mgag200 Revert "drm/mgag200: Add vblank support" 2024-10-17 08:49:45 +02:00
msm Merge tag 'drm-msm-fixes-2024-10-16' of https://gitlab.freedesktop.org/drm/msm into drm-fixes 2024-10-17 17:40:55 +10:00
mxsfb drm: lcdif: Use adjusted_mode .clock instead of .crtc_clock 2024-07-16 20:15:31 +02:00
nouveau nouveau/dp: handle retries for AUX CH transfers with GSP. 2024-11-14 11:50:01 +10:00
omapdrm Linux 6.11-rc7 2024-09-11 09:18:15 +02:00
panel drm/panel: himax-hx83102: Adjust power and gamma to optimize brightness 2024-10-14 10:00:45 -07:00
panfrost Merge drm/drm-next into drm-misc-next 2024-07-29 09:35:54 +02:00
panthor drm/panthor: Fix handling of partial GPU mapping of BOs 2024-11-13 00:30:37 +00:00
pl111
qxl drm/qxl: Pin buffer objects for internal mappings 2024-07-10 09:12:42 +02:00
radeon drm/radeon: Fix encoder->possible_clones 2024-10-15 11:53:07 -04:00
renesas Linux 6.11-rc7 2024-09-11 09:18:15 +02:00
rockchip drm/rockchip: vop: Fix a dereferenced before check warning 2024-11-09 23:57:32 +01:00
scheduler drm/sched: Mark scheduler work queues with WQ_MEM_RECLAIM 2024-10-28 14:12:56 -04:00
solomon
sprd
sti drm/sti/sti_hdmi: convert to struct drm_edid 2024-08-29 14:30:14 +03:00
stm drm/stm: add COMMON_CLK dependency 2024-09-10 13:55:49 +02:00
sun4i drm/sun4i: Fix layer zpos change/atomic modesetting 2024-06-10 12:44:41 +02:00
tegra drm/tegra: Fix NULL vs IS_ERR() check in probe() 2024-10-24 18:50:04 +02:00
tests drm/tests: hdmi: Fix memory leaks in drm_display_mode_from_cea_vic() 2024-10-31 10:31:35 +01:00
tidss drm/bridge-connector: move to DRM_DISPLAY_HELPER module 2024-09-03 10:18:31 +02:00
tilcdc drm/tilcdc: Use backlight power constants 2024-08-16 09:28:01 +02:00
tiny drm/tiny/gm12u320: convert to struct drm_edid 2024-08-29 14:30:15 +03:00
ttm Revert "drm/ttm: Add a flag to allow drivers to skip clear-on-free" 2024-08-28 06:45:53 -07:00
tve200
udl move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
v3d drm/v3d: Stop the active perfmon before being destroyed 2024-10-07 09:03:57 -03:00
vboxvideo Short summary of fixes pull: 2024-10-01 08:15:55 +10:00
vc4 drm/vc4: Stop the active perfmon before being destroyed 2024-10-07 09:06:46 -03:00
vgem
virtio Merge drm/drm-fixes into drm-misc-fixes 2024-07-30 09:09:23 +02:00
vkms drm/vkms: Formatting and typo fix 2024-08-15 11:01:48 -03:00
vmwgfx vfs-6.13.file 2024-11-18 10:30:29 -08:00
xe drm/xe/oa: Fix "Missing outer runtime PM protection" warning 2024-11-13 11:37:22 -08:00
xen
xlnx drm/bridge-connector: move to DRM_DISPLAY_HELPER module 2024-09-03 10:18:31 +02:00
drm_aperture.c
drm_atomic_helper.c drm: Fix kerneldoc for "Returns" section 2024-08-26 16:40:09 +02:00
drm_atomic_state_helper.c
drm_atomic_uapi.c drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS 2024-09-25 12:35:05 +02:00
drm_atomic.c drm: Fix kerneldoc for "Returns" section 2024-08-26 16:40:09 +02:00
drm_auth.c
drm_blend.c
drm_bridge.c drm/bridge: Silence error messages upon probe deferral 2024-07-18 13:20:16 +02:00
drm_buddy.c drm/buddy: Add start address support to trim function 2024-08-07 18:19:00 -04:00
drm_cache.c
drm_client_modeset.c drm/client: fix null pointer dereference in drm_client_modeset_probe 2024-08-02 09:23:54 +02:00
drm_client.c drm/client: Fix error code in drm_client_buffer_vmap_local() 2024-07-29 08:50:23 +02:00
drm_color_mgmt.c minmax: add a few more MIN_T/MAX_T users 2024-07-28 13:41:14 -07:00
drm_connector.c drm/connector: kerneldoc: Fix two missing newlines in drm_connector.c 2024-08-12 09:07:31 -04:00
drm_crtc_helper_internal.h
drm_crtc_helper.c
drm_crtc_internal.h drm/panic: Add a QR code panic screen 2024-08-23 16:55:35 +02:00
drm_crtc.c drm: Rename drm_plane_check_pixel_format() to drm_plane_has_format() 2024-06-24 17:08:33 +03:00
drm_damage_helper.c
drm_debugfs_crc.c
drm_debugfs.c drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes 2024-09-24 16:10:12 +02:00
drm_displayid_internal.h
drm_displayid.c drm/edid: reduce DisplayID log spamming 2024-08-14 10:19:09 +03:00
drm_drv.c drm: Expand max DRM device number to full MINORBITS 2024-08-26 17:06:22 +02:00
drm_dumb_buffers.c
drm_edid_load.c
drm_edid.c drm: use mem_is_zero() instead of !memchr_inv(s, 0, n) 2024-08-16 12:07:46 +03:00
drm_eld.c
drm_encoder_slave.c
drm_encoder.c
drm_exec.c mm: kvmalloc: align kvrealloc() with krealloc() 2024-09-01 20:25:44 -07:00
drm_fb_dma_helper.c
drm_fb_helper.c drm/fbdev-helper: Remove drm_fb_helper_output_poll_changed() 2024-08-13 16:21:11 +02:00
drm_fbdev_dma.c drm/fbdev-dma: Only cleanup deferred I/O if necessary 2024-10-10 09:49:25 +02:00
drm_fbdev_shmem.c
drm_fbdev_ttm.c drm next for 6.11-rc1: 2024-07-18 09:34:02 -07:00
drm_file.c [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
drm_flip_work.c
drm_format_helper.c
drm_fourcc.c
drm_framebuffer.c
drm_gem_atomic_helper.c
drm_gem_dma_helper.c
drm_gem_framebuffer_helper.c
drm_gem_shmem_helper.c drm/gem-shmem: Add import attachment warning to locked pin function 2024-05-29 09:30:44 +02:00
drm_gem_ttm_helper.c
drm_gem_vram_helper.c
drm_gem.c drm: Fix kerneldoc for "Returns" section 2024-08-26 16:40:09 +02:00
drm_gpuvm.c
drm_internal.h accel: Use XArray instead of IDR for minors 2024-08-26 17:06:22 +02:00
drm_ioc32.c
drm_ioctl.c
drm_kms_helper_common.c
drm_lease.c
drm_managed.c drm/managed: Simplify if condition 2024-07-03 10:11:03 +02:00
drm_mipi_dbi.c drm: add missing MODULE_DESCRIPTION() macros 2024-06-10 12:44:39 +02:00
drm_mipi_dsi.c drm/mipi-dsi: Add mipi_dsi_dcs_set_tear_scanline_multi 2024-08-20 14:17:54 -07:00
drm_mm.c drm/mm: Remove unused drm_mm_replace_node 2024-06-06 10:24:13 -04:00
drm_mode_config.c drm: Add might_fault to drm_modeset_lock priming 2024-07-18 15:39:54 +02:00
drm_mode_object.c drm/mode_object: Export drm_mode_obj_find_prop_id for tests 2024-05-28 09:57:28 +02:00
drm_modes.c drm: Fix kerneldoc for "Returns" section 2024-08-26 16:40:09 +02:00
drm_modeset_helper.c
drm_modeset_lock.c
drm_of.c
drm_panel_orientation_quirks.c drm: panel-orientation-quirks: Make Lenovo Yoga Tab 3 X90F DMI match less strict 2024-11-07 16:16:42 +01:00
drm_panel.c drm/panel: Avoid warnings w/ panel-simple/panel-edp at shutdown 2024-07-22 09:00:58 -07:00
drm_panic_qr.rs drm/panic: Add a QR code panic screen 2024-08-23 16:55:35 +02:00
drm_panic.c drm/panic: Add a QR code panic screen 2024-08-23 16:55:35 +02:00
drm_pci.c
drm_plane_helper.c
drm_plane.c drm: Export drm_plane_has_format() 2024-06-24 17:08:53 +03:00
drm_prime.c drm: new helper: drm_gem_prime_handle_to_dmabuf() 2024-09-10 13:44:30 -04:00
drm_print.c drm/printer: Allow NULL data in devcoredump printer 2024-08-01 11:00:12 -07:00
drm_privacy_screen_x86.c
drm_privacy_screen.c
drm_probe_helper.c drm: Remove struct drm_mode_config_funcs.output_poll_changed 2024-08-13 16:21:13 +02:00
drm_property.c
drm_rect.c drm: Fix kerneldoc for "Returns" section 2024-08-26 16:40:09 +02:00
drm_self_refresh_helper.c
drm_simple_kms_helper.c drm: add missing MODULE_DESCRIPTION() macros 2024-06-10 12:44:39 +02:00
drm_suballoc.c
drm_syncobj.c fdget(), trivial conversions 2024-11-03 01:28:06 -05:00
drm_sysfs.c drm/edid: add a helper for EDID sysfs property show 2024-05-23 14:37:24 +03:00
drm_trace_points.c
drm_trace.h
drm_vblank_work.c drm: Add drm_vblank_work_flush_all(). 2024-06-24 18:03:18 +02:00
drm_vblank.c drm: Fix kerneldoc for "Returns" section 2024-08-26 16:40:09 +02:00
drm_vma_manager.c
drm_writeback.c
Kconfig drm/panic: Add a QR code panic screen 2024-08-23 16:55:35 +02:00
Makefile Linux 6.11-rc7 2024-09-11 09:18:15 +02:00