Linux Documentation
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Document Media Controller IOCTL number assignments
@ 2025-05-27  5:56 Sakari Ailus
  2025-05-27  5:56 ` [PATCH v2 1/3] Documentation: Bump media IOCTL reserved numbers Sakari Ailus
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Sakari Ailus @ 2025-05-27  5:56 UTC (permalink / raw)
  To: linux-doc
  Cc: Jonathan Corbet, Greg Kroah-Hartman, Madhavan Srinivasan,
	Haren Myneni, Bagas Sanjaya, Andrew Donnellan, Michael Ellerman,
	Akshay Gupta, linux-kernel, linux-media, hans, laurent.pinchart,
	Mauro Carvalho Chehab, Lee Jones

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(-)

-- 
2.39.5


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-09-05 11:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-27  5:56 [PATCH v2 0/3] Document Media Controller IOCTL number assignments Sakari Ailus
2025-05-27  5:56 ` [PATCH v2 1/3] Documentation: Bump media IOCTL reserved numbers Sakari Ailus
2025-05-27  5:56 ` [PATCH v2 2/3] media: uapi: Document IOCTL number assignment Sakari Ailus
2025-05-27  5:56 ` [PATCH v2 3/3] samples: rust_misc_device: Bump IOCTL numbers Sakari Ailus
2025-09-05 10:25 ` [PATCH v2 0/3] Document Media Controller IOCTL number assignments Sakari Ailus
2025-09-05 10:32   ` Greg Kroah-Hartman
2025-09-05 11:02     ` Sakari Ailus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox