[PATCH 03/11] KBUS internal header file

2011-03-18 Thread Tony Ibbs
Various internal datastructures, and communication between source files. Signed-off-by: Tony Ibbs t...@tonyibbs.co.uk --- ipc/kbus_internal.h | 626 +++ 1 files changed, 626 insertions(+), 0 deletions(-) create mode 100644 ipc/kbus_internal.h

[PATCH 04/11] KBUS main source file, basic device support only

2011-03-18 Thread Tony Ibbs
This first version of the main source file just provides device open/close and various basic IOCTLs, including bind/unbind. Signed-off-by: Tony Ibbs t...@tonyibbs.co.uk --- ipc/kbus_main.c | 1061 +++ 1 files changed, 1061 insertions(+), 0

[PATCH 07/11] KBUS add ability to add devices at runtime

2011-03-18 Thread Tony Ibbs
Users do not always know how many KBUS devices will be needed when the system starts. This allows a normal user to request an extra device. Signed-off-by: Tony Ibbs t...@tonyibbs.co.uk --- include/linux/kbus_defns.h | 12 +++- ipc/kbus_main.c| 17 + 2

[PATCH 08/11] KBUS add Replier Bind Events

2011-03-18 Thread Tony Ibbs
It is useful to be able to write userspace proxies which allow messages sent on one KBUS device to be received on another. In order to do this, the userspace program needs to be reliably informed of Replier bind and unbind events. These proxies are referrred to as Limpets in the KBUS

[PATCH 06/11] KBUS add ability to receive messages only once

2011-03-18 Thread Tony Ibbs
Sometimes a recipient has bound to a message name more than once, but only wants to receive one copy of each message matching those bindings. Signed-off-by: Tony Ibbs t...@tonyibbs.co.uk --- include/linux/kbus_defns.h | 18 +++--- ipc/kbus_internal.h| 30

[PATCH 11/11] KBUS configuration and Makefile

2011-03-18 Thread Tony Ibbs
Signed-off-by: Tony Ibbs t...@tonyibbs.co.uk --- init/Kconfig |2 + ipc/Kconfig | 117 ++ ipc/Makefile |9 3 files changed, 128 insertions(+), 0 deletions(-) create mode 100644 ipc/Kconfig diff --git a/init/Kconfig

[PATCH 10/11] KBUS report state to userspace

2011-03-18 Thread Tony Ibbs
This introduces two pseudo-files which expose some of the current KBUS internal state. The bindings file, in particular, is used in the KBUS test scripts (which are part of the userspace Python binding). Signed-off-by: Tony Ibbs t...@tonyibbs.co.uk --- ipc/kbus_report.c | 256

[PATCH 09/11] KBUS Replier Bind Event set-aside lists

2011-03-18 Thread Tony Ibbs
In order to make sending Replier Bind Events reliable, we need to introduce set-aside message lists, in case a client that wants to receive such events has a full list when the event occurs (making bind/unbind depend on the recipient of the event is not acceptable). Signed-off-by: Tony Ibbs