Skip to content

RFC: KBUS messaging subsystem

Tony Ibbs linux-embedded lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11Documentation for KBUSDocumentation/Kbus.txt+1222 -00 replies
2/11KBUS external header file.include/linux/kbus_defns.h+613 -00 replies
3/11KBUS internal header fileipc/kbus_internal.h+626 -00 replies
4/11KBUS main source file, basic device support onlyipc/kbus_main.c+1061 -00 replies
5/11KBUS add support for messagesipc/kbus_main.c+2741 -210 replies
6/11KBUS add ability to receive messages only onceinclude/linux/kbus_defns.h ipc/kbus_internal.h ipc/kbus_main.c+125 -50 replies
7/11KBUS add ability to add devices at runtimeinclude/linux/kbus_defns.h ipc/kbus_main.c+28 -10 replies
8/11KBUS add Replier Bind Eventsinclude/linux/kbus_defns.h ipc/kbus_internal.h ipc/kbus_main.c+410 -10 replies
9/11KBUS Replier Bind Event set-aside listsinclude/linux/kbus_defns.h ipc/kbus_internal.h ipc/kbus_main.c+518 -150 replies
10/11KBUS report state to userspaceipc/kbus_report.c+256 -00 replies
11/11KBUS configuration and Makefileinit/Kconfig ipc/Kconfig ipc/Makefile+128 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] RFC: KBUS messaging subsystem

KBUS is a lightweight, Linux kernel mediated messaging system, particularly intended for use in embedded environments.

It is meant to be simple to use and understand. It is designed to provide predictable message delivery, deterministic message ordering, and a guaranteed reply for each request. It is especially aimed at situations where existing solutions, such as DBUS, cannot be used, typically because of system constraints.

We have various customers using KBUS in real life, and believe it to be useful. I had a showcase table for KBUS at the ELCE in Cambridge, October last year, and there seemed to be interest.

The KBUS project home page is at http://kbus-messaging.org/, from which there are links to the original Google code repository, more documentation, and various userspace libraries.

There is a working repository with these patches applied to Linux 2.6.37, available via:

git pull git://github.com/crazyscot/linux-2.6-kbus.git kbus-2.6.37

These patches have been applied in branch apply-patchset-20110318

In order to keep the size of individual patches down, the main code has been split over several patches (0004..0009). With luck this should also make it easier to understand what KBUS is trying to do.

Tony Ibbs (11):
Documentation for KBUS
KBUS external header file.
KBUS internal header file
KBUS main source file, basic device support only KBUS add support for messages
KBUS add ability to receive messages only once KBUS add ability to add devices at runtime KBUS add Replier Bind Events
KBUS Replier Bind Event set-aside lists KBUS report state to userspace
KBUS configuration and Makefile

 Documentation/Kbus.txt     | 1222 ++++++++++++
 include/linux/kbus_defns.h |  666 +++++++
 init/Kconfig               |    2 +
 ipc/Kconfig                |  117 ++
 ipc/Makefile               |    9 +
 ipc/kbus_internal.h        |  723 +++++++
 ipc/kbus_main.c            | 4690 ++++++++++++++++++++++++++++++++++++++++++++
 ipc/kbus_report.c          |  256 +++
 8 files changed, 7685 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/Kbus.txt
 create mode 100644 include/linux/kbus_defns.h
 create mode 100644 ipc/Kconfig
 create mode 100644 ipc/kbus_internal.h
 create mode 100644 ipc/kbus_main.c
 create mode 100644 ipc/kbus_report.c
Signature · 1 line
1.7.4.1