public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/5] Refactor media IOCTL handling, add variable length arguments
@ 2016-08-11 20:29 Sakari Ailus
  2016-08-11 20:29 ` [PATCH v4 1/5] media: Determine early whether an IOCTL is supported Sakari Ailus
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Sakari Ailus @ 2016-08-11 20:29 UTC (permalink / raw)
  To: linux-media; +Cc: hverkuil, laurent.pinchart, mchehab

Hi folks,

This is the fourth version of the media IOCTL handling rework set. What's
changed since v3:

patch 1:

- Use BUILD_BUG_ON() and ARRAY_SIZE() to ensure the ioctl array and the
  equivalent compat array are always in sync. (This caused quite a few
  conflicts with the rest of the patches.)

patch 5:                                                                        

- Don't use unlikely().

- Fix commit message --- the patch was changed to use supported IOCTL sizes
  but the commit message was not updated.
                                                                                
---                                                                             
                                                                                
The patches themselves have been reworked so I don't detail the changes         
in this set. What's noteworthy however is that the set adds support for         
variable length IOCTL arguments.                                                
                                                                                
(The motivation for these patches is having found myself pondering whether      
to have nine or thirteen reserved fields for the request IOCTL. I decided       
to address the problem instead. If this is found workable on the media          
controller we could follow the same model on V4L2.)                             

-- 
Kind regards,
Sakari


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

end of thread, other threads:[~2016-09-13 10:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-11 20:29 [PATCH v4 0/5] Refactor media IOCTL handling, add variable length arguments Sakari Ailus
2016-08-11 20:29 ` [PATCH v4 1/5] media: Determine early whether an IOCTL is supported Sakari Ailus
2016-08-22 12:53   ` Hans Verkuil
2016-09-06  9:56   ` Mauro Carvalho Chehab
2016-09-13 10:51     ` Sakari Ailus
2016-09-13 10:59       ` Mauro Carvalho Chehab
2016-08-11 20:29 ` [PATCH v4 2/5] media: Unify IOCTL handler calling Sakari Ailus
2016-08-11 20:29 ` [PATCH v4 3/5] media: Refactor copying IOCTL arguments from and to user space Sakari Ailus
2016-09-02 15:31   ` Laurent Pinchart
2016-08-11 20:29 ` [PATCH v4 4/5] media: Add flags to tell whether to take graph mutex for an IOCTL Sakari Ailus
2016-08-11 20:29 ` [PATCH v4 5/5] media: Support variable size IOCTL arguments Sakari Ailus
2016-08-22 12:55   ` Hans Verkuil
2016-08-22 12:58     ` Hans Verkuil

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