[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1280351097-3346-1-git-send-email-ernesto@ti.com>
Date: Wed, 28 Jul 2010 16:04:52 -0500
From: Ernesto Ramos <ernesto@...com>
To: gregkh@...e.de
Cc: omar.ramirez@...com, ohad@...ery.com, ameya.palande@...ia.com,
felipe.contreras@...ia.com, fernando.lugo@...com,
linux-kernel@...r.kernel.org, andy.shevchenko@...il.com, nm@...com,
linux-omap@...r.kernel.org, Rene Sapiens <rene.sapiens@...com>
Subject: [PATCH 0/5] use idr kernel library instead of handles
From: Rene Sapiens <rene.sapiens@...com>
Use idr kernel library to send/receive node and stream ids to the
user instead of kernel address.
This id will be use to access the node and stream handles at the
kernel side, if id does not match to any handle
error -EFAULT is returned.
For processor handle, dspbridge driver will make sure
the handle is valid by using the handle stored in process context.
Ernesto Ramos (5):
staging:ti dspbridge: use node id instead of kernel address
staging:ti dspbridge: avoid errors if node handle is zero
staging:ti dspbridge: use processor handle from context instead of
user's
staging:ti dspbridge: use stream id instead of kernel address
staging:ti dspbridge: avoid errors if stream id is zero
.../staging/tidspbridge/include/dspbridge/drv.h | 11 +-
.../staging/tidspbridge/include/dspbridge/node.h | 14 +-
.../include/dspbridge/resourcecleanup.h | 12 -
.../staging/tidspbridge/include/dspbridge/strm.h | 22 +-
drivers/staging/tidspbridge/pmgr/dspapi.c | 329 ++++++++++++++++----
drivers/staging/tidspbridge/rmgr/drv.c | 303 ++++++-------------
drivers/staging/tidspbridge/rmgr/drv_interface.c | 18 +-
drivers/staging/tidspbridge/rmgr/node.c | 109 ++++---
drivers/staging/tidspbridge/rmgr/strm.c | 54 ++--
9 files changed, 485 insertions(+), 387 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists