[PATCH v3 4/5] drm: Add decoding of i915 ioctls
Patrik Jakobsson
patrik.jakobsson at linux.intel.com
Fri Jul 10 12:45:37 UTC 2015
On Thu, Jul 09, 2015 at 05:19:33AM +0300, Dmitry V. Levin wrote:
> On Wed, Jul 08, 2015 at 03:11:36AM +0300, Dmitry V. Levin wrote:
> > On Mon, Jul 06, 2015 at 04:40:24PM +0200, Gabriel Laskar wrote:
> > > On Mon, 6 Jul 2015 12:35:52 +0200, Patrik Jakobsson wrote:
> > > > On Fri, Jul 03, 2015 at 03:36:09AM +0300, Dmitry V. Levin wrote:
> [...]
> > > > > Maybe it's time to deal with this issue in a more generic way.
> [...]
> > > Anyway, SYS_FUNC(ioctl) is a bit complicated, and the handling of the
> > > fallbacks on failure should be more generic.
> >
> > What would be useful is a way for "on entering" parsers to return
> > "done with decoding" information to their callers.
> >
> > This could be implemented by or'ing return value in the current semantics
> > with a flag with "done with decoding" meaning, e.g. RVAL_DONE.
> >
> > If an ioctl parser returned RVAL_DONE, this would tell SYS_FUNC(ioctl)
> > that the decoding is finished but fallback decoding is needed, while
> > RVAL_DONE+1 would mean that the decoding is finished and no fallback
> > decoding is needed.
>
> I've pushed this and other related changes along with some usage examples.
I'll have a look. Thanks.
>
>
> --
> ldv
> ------------------------------------------------------------------------------
> Don't Limit Your Business. Reach for the Cloud.
> GigeNET's Cloud Solutions provide you with the tools and support that
> you need to offload your IT needs and focus on growing your business.
> Configured For All Businesses. Start Your Cloud Today.
> https://www.gigenetcloud.com/
> _______________________________________________
> Strace-devel mailing list
> Strace-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/strace-devel
More information about the Strace-devel
mailing list