Patchwork [GIT,PULL] fixing and cleaning up rpmsg/remoteproc for 3.4

login
register
mail settings
Submitter Ohad Ben-Cohen
Date March 6, 2012, 6:09 p.m.
Message ID <CAK=WgbYsZUzTos_sXd+ZayKfPc=sxL7v0Q_==bTMh-_4XiMWiw@mail.gmail.com>
Download mbox
Permalink /patch/144974/
State New
Headers show

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc.git

Comments

Ohad Ben-Cohen - March 6, 2012, 6:09 p.m.
Hi Arnd,

Please pull:

git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc.git
rpmsg-fixes-and-more-for-3.4

To get a few rpmsg/remoteproc fixes, cleanups and some generalization
work for 3.4.

Again, I should have sent the Kconfig patch earlier in a separate pull
request. Sorry about that.

Thanks!
Ohad.

The following changes since commit e12bc14b88d44e5c1456dccb59ff58103f6c6edc:

  remoteproc: s/big switch/lookup table/ (2012-02-22 18:28:49 +0200)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc.git
rpmsg-fixes-and-more-for-3.4

for you to fetch changes up to 1e3e2c7c46b2e6e90f3a26ba9be6326c00ca31e4:

  remoteproc: cleanup resource table parsing paths (2012-03-06 19:14:44 +0200)

----------------------------------------------------------------
Fixing and cleaning up several remoteproc and rpmsg issues.

In addition, remoteproc's resource table is converted to a collection
of type-value members, instead of a rigid array of homogeneous structs.

This enables remoteproc to support registration of generic virtio devices,
and not only a single VIRTIO_ID_RPMSG virtio device.

But perhaps more importantly, the resource table overhaul makes it possible
to easily extend it in the future without breaking older images (simply by
defining a new member type, while continuing to support older types).

----------------------------------------------------------------
Mark Asselstine (1):
      rpmsg: fix build warning when dma_addr_t is 64-bit

Ohad Ben-Cohen (12):
      remoteproc: make sure we're parsing a 32bit firmware
      remoteproc/omap: two Kconfig fixes
      rpmsg: fix name service endpoint leak
      rpmsg: validate incoming message length before propagating
      rpmsg: fix published buffer length in rpmsg_recv_done
      remoteproc: resource table overhaul
      remoteproc: remoteproc_rpmsg -> remoteproc_virtio
      remoteproc: safer boot/shutdown order
      remoteproc: remove the single rpmsg vdev limitation
      remoteproc/omap: remove the mbox_callback limitation
      remoteproc: remove the hardcoded vring alignment
      remoteproc: cleanup resource table parsing paths

 Documentation/remoteproc.txt                       |  136 +++---
 drivers/remoteproc/Kconfig                         |    3 +-
 drivers/remoteproc/Makefile                        |    2 +-
 drivers/remoteproc/omap_remoteproc.c               |   11 +-
 drivers/remoteproc/remoteproc_core.c               |  532 ++++++++++++--------
 drivers/remoteproc/remoteproc_internal.h           |    6 +-
 .../{remoteproc_rpmsg.c => remoteproc_virtio.c}    |  162 +++----
 drivers/rpmsg/virtio_rpmsg_bus.c                   |   46 ++-
 include/linux/remoteproc.h                         |  339 ++++++++++---
 9 files changed, 793 insertions(+), 444 deletions(-)
 rename drivers/remoteproc/{remoteproc_rpmsg.c => remoteproc_virtio.c} (65%)
Olof Johansson - March 7, 2012, 11:24 p.m.
On Tue, Mar 6, 2012 at 10:09 AM, Ohad Ben-Cohen <ohad@wizery.com> wrote:
> Hi Arnd,
>
> Please pull:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/ohad/remoteproc.git
> rpmsg-fixes-and-more-for-3.4
>
> To get a few rpmsg/remoteproc fixes, cleanups and some generalization
> work for 3.4.
>
> Again, I should have sent the Kconfig patch earlier in a separate pull
> request. Sorry about that.

Pulled, thanks.


-Olof