public inbox for linux-doc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Document Media Controller IOCTL number assignments
@ 2025-05-26 11:17 Sakari Ailus
  2025-05-26 11:17 ` [PATCH 1/2] Documentation: Bump media IOCTL reserved numbers Sakari Ailus
  2025-05-26 11:17 ` [PATCH 2/2] media: uapi: Document IOCTL number assignment Sakari Ailus
  0 siblings, 2 replies; 6+ messages in thread
From: Sakari Ailus @ 2025-05-26 11:17 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 not currently using these values. Solve the problem by
bumping the top of the MC range and the samples allocation by 0x10.

Some sample code in samples/rust/rust_misc_device.rs also uses MC IOCTL
numbers below the current limit 0x80, it'd be nice to address that as well
as align with the changes in this patch.

Sakari Ailus (2):
  Documentation: Bump media IOCTL reserved numbers
  media: uapi: Document IOCTL number assignment

 Documentation/userspace-api/ioctl/ioctl-number.rst | 4 ++--
 include/uapi/linux/media.h                         | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

-- 
2.39.5


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

end of thread, other threads:[~2025-05-26 13:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-26 11:17 [PATCH 0/2] Document Media Controller IOCTL number assignments Sakari Ailus
2025-05-26 11:17 ` [PATCH 1/2] Documentation: Bump media IOCTL reserved numbers Sakari Ailus
2025-05-26 11:48   ` Laurent Pinchart
2025-05-26 13:24     ` Sakari Ailus
2025-05-26 11:17 ` [PATCH 2/2] media: uapi: Document IOCTL number assignment Sakari Ailus
2025-05-26 11:48   ` Laurent Pinchart

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