Re: AW: [PATCH] drm/fdinfo: Protect against driver unbind

2025-04-28 Thread Christian König
that is clearly something for the -fixes >> branch I would say. >> >> Regards, >> Christian. >> >> >>> >>> Regards, >>> >>> Tvrtko >>> >>>> ________ >>>> Von:

Re: AW: [PATCH] drm/fdinfo: Protect against driver unbind

2025-04-25 Thread Tvrtko Ursulin
sulin Gesendet: Freitag, 18. April 2025 18:25 An: dri-devel@lists.freedesktop.org Cc: kernel-...@igalia.com; Tvrtko Ursulin; Koenig, Christian; Lucas De Marchi; Rodrigo Vivi; Umesh Nerlige Ramappa Betreff: [PATCH] drm/fdinfo: Protect against driver unbind If we unbind a driver from the PCI device wit

Re: AW: [PATCH] drm/fdinfo: Protect against driver unbind

2025-04-23 Thread Christian König
:25 >> An: dri-devel@lists.freedesktop.org >> Cc: kernel-...@igalia.com; Tvrtko Ursulin; Koenig, Christian; Lucas De >> Marchi; Rodrigo Vivi; Umesh Nerlige Ramappa >> Betreff: [PATCH] drm/fdinfo: Protect against driver unbind >> >> If we unbind a driver from the PC

Re: AW: [PATCH] drm/fdinfo: Protect against driver unbind

2025-04-22 Thread Tvrtko Ursulin
dri-devel@lists.freedesktop.org Cc: kernel-...@igalia.com; Tvrtko Ursulin; Koenig, Christian; Lucas De Marchi; Rodrigo Vivi; Umesh Nerlige Ramappa Betreff: [PATCH] drm/fdinfo: Protect against driver unbind If we unbind a driver from the PCI device with an active DRM client, subsequent read of the f

AW: [PATCH] drm/fdinfo: Protect against driver unbind

2025-04-22 Thread Koenig, Christian
Marchi; Rodrigo Vivi; Umesh Nerlige Ramappa Betreff: [PATCH] drm/fdinfo: Protect against driver unbind If we unbind a driver from the PCI device with an active DRM client, subsequent read of the fdinfo data associated with the file descriptor in question will not end well. Protect the path with a

[PATCH] drm/fdinfo: Protect against driver unbind

2025-04-18 Thread Tvrtko Ursulin
If we unbind a driver from the PCI device with an active DRM client, subsequent read of the fdinfo data associated with the file descriptor in question will not end well. Protect the path with a drm_dev_enter/exit() pair. Signed-off-by: Tvrtko Ursulin Cc: Christian König Cc: Lucas De Marchi Cc