Skip to content

Document Media Controller IOCTL number assignments

Sakari Ailus linux-doc linux-media lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- Improved the commit message in the first patch.

- Added a patch to change the IOCTLs also in the Rust sample.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Documentation: Bump media IOCTL reserved numbersDocumentation/userspace-api/ioctl/ioctl-number.rst+2 -20 replies
2/3media: uapi: Document IOCTL number assignmentinclude/uapi/linux/media.h+4 -00 replies
3/3samples: rust_misc_device: Bump IOCTL numberssamples/rust/rust_misc_device.rs+7 -70 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchLaurent Pinchart
1/3R-b
2/3R-b
3/3

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

Read the v2 thread

Cover letter [PATCH v2 0/3] Document Media Controller IOCTL number assignments

Hello all,

The Media Controller uses IOCTL numbers with '|' type up to 0x81 but the range from 0x80 upwards is documented to belong to samples. The samples, however, are currently using these values. Solve the problem by bumping the top of the MC range and the samples allocation by 0x10 as the samples don't require a stable IOCTL interface.

since v1:

- Improved the commit message in the first patch.

- Added a patch to change the IOCTLs also in the Rust sample.

Sakari Ailus (3):
Documentation: Bump media IOCTL reserved numbers
media: uapi: Document IOCTL number assignment
samples: rust_misc_device: Bump IOCTL numbers

 Documentation/userspace-api/ioctl/ioctl-number.rst |  4 ++--
 include/uapi/linux/media.h                         |  4 ++++
 samples/rust/rust_misc_device.rs                   | 14 +++++++-------
 3 files changed, 13 insertions(+), 9 deletions(-)
Signature · 1 line
2.39.5