lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK=Wgbabj+FXuZhyT9hQNkxozbZJRBLR8TeUxfpCf3B1pwr15Q@mail.gmail.com>
Date:	Wed, 4 Jul 2012 11:36:01 +0300
From:	Ohad Ben-Cohen <ohad@...ery.com>
To:	Tzu-Jung Lee <roylee17@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: How the registration of rpmsg devices should be done?

Hi,

On Wed, Jul 4, 2012 at 11:26 AM, Tzu-Jung Lee <roylee17@...il.com> wrote:
> I working on the IPC functionality on our SoC and is looking into the
> rpmsg & remoteproc framework of inux v3.4.

Great! Which SoC are you working on ?

> Since rpmsg_create_channel() is static and internal to rpmsg module,
> I'm wondering how the registration of rpmsg device should be done?

>From Documentation/rpmsg.txt:

"4. Allocations of rpmsg channels:

At this point we only support dynamic allocations of rpmsg channels.

This is possible only with remote processors that have the VIRTIO_RPMSG_F_NS
virtio device feature set. This feature bit means that the remote
processor supports dynamic name service announcement messages.

When this feature is enabled, creation of rpmsg devices (i.e. channels)
is completely dynamic: the remote processor announces the existence of a
remote rpmsg service by sending a name service message (which contains
the name and rpmsg addr of the remote service, see struct rpmsg_ns_msg).

This message is then handled by the rpmsg bus, which in turn dynamically
creates and registers an rpmsg channel (which represents the remote service).
If/when a relevant rpmsg driver is registered, it will be immediately probed
by the bus, and can then start sending messages to the remote service.

The plan is also to add static creation of rpmsg channels via the virtio
config space, but it's not implemented yet."

Best,
Ohad.
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ