[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110609171210.GB3877@ucw.cz>
Date: Thu, 9 Jun 2011 19:12:10 +0200
From: Pavel Machek <pavel@....cz>
To: Ohad Ben-Cohen <ohad@...ery.com>
Cc: linux-omap@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, akpm@...ux-foundation.org,
Brian Swetland <swetland@...gle.com>,
Arnd Bergmann <arnd@...db.de>,
Grant Likely <grant.likely@...retlab.ca>,
davinci-linux-open-source
<davinci-linux-open-source@...ux.davincidsp.com>,
Rusty Russell <rusty@...tcorp.com.au>
Subject: Re: [RFC 7/8] drivers: introduce rpmsg, a remote-processor
messaging bus
Hi!
> @@ -0,0 +1,75 @@
> +What: /sys/bus/rpmsg/devices/.../name
> +Date: June 2011
> +KernelVersion: 3.2
> +Contact: Ohad Ben-Cohen <ohad@...ery.com>
> +Description:
> + Every rpmsg device is a communication channel with a remote
> + processor. Channels are identified with a (textual) name,
> + which is maximum 32 bytes long (defined as RPMSG_NAME_SIZE in
> + rpmsg.h).
> +
> + This sysfs entry contains the name of this channel.
> +
> +What: /sys/bus/rpmsg/devices/.../src
> +Date: June 2011
> +KernelVersion: 3.2
> +Contact: Ohad Ben-Cohen <ohad@...ery.com>
> +Description:
> + Every rpmsg device is a communication channel with a remote
> + processor. Channels have a local ("source") rpmsg address,
> + and remote ("destination") rpmsg address. When an entity
> + starts listening on one end of a channel, it assigns it with
> + a unique rpmsg address (a 32 bits integer). This way when
> + inbound messages arrive to this address, the rpmsg core
> + dispatches them to the listening entity (a kernel driver).
> +
> + This sysfs entry contains the src (local) rpmsg address
> + of this channel. If it contains 0xffffffff, then an address
> + wasn't assigned (can happen if no driver exists for this
> + channel).
So this is basically networking... right? Why not implement it as
sockets? (accept, connect, read, write)?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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