Skip to content

Refactor media IOCTL handling

Sakari Ailus linux-media 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 0 repliesNew
  2. v45 patches 7 repliesSuperseded
  3. v35 patches 7 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches18 repliesSuperseded
v13 patches0 repliesSuperseded

Changes in v5 from the cover letter

- Don't refactor compat IOCTL handling. The assumption is that the compat code will stay as-is and only the ENUM_LINKS IOCTL will require compat handling in the future and newer IOCTLs would use u64 for pointers.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4media: Determine early whether an IOCTL is supporteddrivers/media/media-device.c+20 -00 replies
2/4media: Unify IOCTL handler callingdrivers/media/media-device.c+15 -360 replies
3/4media: Refactor copying IOCTL arguments from and to user spacedrivers/media/media-device.c+83 -930 replies
4/4media: Add flags to tell whether to take graph mutex for an IOCTLdrivers/media/media-device.c+23 -140 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchLaurent PinchartHans Verkuil
1/4R-b A-b
2/4R-b A-b
3/4A-b A-b
4/4R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/4] Refactor media IOCTL handling

Hi,

Here's the 5th version of the media IOCTL rework set.

since v4:

- Don't refactor compat IOCTL handling. The assumption is that the compat code will stay as-is and only the ENUM_LINKS IOCTL will require compat handling in the future and newer IOCTLs would use u64 for pointers.

This has brought about a number of changes, I've yet cunningly kept all the acks. I'll perform more testing before sending a pull request; please do read the code in the meantime.

The last patch of the set adding support for variable argument sizes is postponed until a later time.

Signature · 2 lines
Kind regards,
Sakari