1. 04 Jun, 2018 1 commit
  2. 26 Apr, 2018 1 commit
  3. 26 Oct, 2017 1 commit
  4. 30 Aug, 2017 1 commit
  5. 29 Aug, 2017 1 commit
  6. 27 Jun, 2017 1 commit
  7. 31 May, 2017 1 commit
  8. 29 Mar, 2017 1 commit
  9. 19 Jan, 2017 1 commit
    • Arnd Bergmann's avatar
      rpmsg: char: add CONFIG_NET dependency · b70ea16d
      Arnd Bergmann authored
      Without CONFIG_NET, we get a build failure for the new driver:
      
      ERROR: "skb_queue_tail" [drivers/rpmsg/rpmsg_char.ko] undefined!
      ERROR: "skb_put" [drivers/rpmsg/rpmsg_char.ko] undefined!
      ERROR: "__alloc_skb" [drivers/rpmsg/rpmsg_char.ko] undefined!
      ERROR: "kfree_skb" [drivers/rpmsg/rpmsg_char.ko] undefined!
      ERROR: "skb_dequeue" [drivers/rpmsg/rpmsg_char.ko] undefined!
      
      This adds a dependency so we don't try to build the broken configuration.
      
      Fixes: c0cdc19f ("rpmsg: Driver for user space endpoint interface")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      b70ea16d
  10. 18 Jan, 2017 1 commit
    • Bjorn Andersson's avatar
      rpmsg: Driver for user space endpoint interface · c0cdc19f
      Bjorn Andersson authored
      This driver allows rpmsg instances to expose access to rpmsg endpoints
      to user space processes. It provides a control interface, allowing
      userspace to export endpoints and an endpoint interface for each exposed
      endpoint.
      
      The implementation is based on prior art by Texas Instrument, Google,
      PetaLogix and was derived from a FreeRTOS performance statistics driver
      written by Michal Simek.
      
      The control interface provides a "create endpoint" ioctl, which is fed a
      name, source and destination address. The three values are used to
      create the endpoint, in a backend-specific way, and a rpmsg endpoint
      device is created - with the three parameters are available in sysfs for
      udev usage.
      
      E.g. to create an endpoint device for one of the Qualcomm SMD channel
      related to DIAG one would issue:
      
        struct rpmsg_endpoint_info info = { "DIAG_CNTL", 0, 0 };
        int fd = open("/dev/rpmsg_ctrl0", O_RDWR);
        ioctl(fd, RPMSG_CREATE_EPT_IOCTL, &info);
      
      Each created endpoint device shows up as an individual character device
      in /dev, allowing permission to be controlled on a per-endpoint basis.
      The rpmsg endpoint will be created and destroyed following the opening
      and closing of the endpoint device, allowing rpmsg backends to open and
      close the physical channel, if supported by the wire protocol.
      
      Cc: Marek Novak <marek.novak@nxp.com>
      Cc: Matteo Sartori <matteo.sartori@t3lab.it>
      Cc: Michal Simek <monstr@monstr.eu>
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      c0cdc19f
  11. 12 Sep, 2016 1 commit
    • Arnd Bergmann's avatar
      rpmsg: smd: fix dependency on QCOM_SMD=n · 395317bb
      Arnd Bergmann authored
      The ARM allmodconfig build broke with the addition of the SMD rpmsg
      driver that conflicts with the driver its replaces:
      
      WARNING: drivers/soc/qcom/smd: 'qcom_smd_register_edge' exported twice. Previous export was in drivers/rpmsg/qcom_smd.ko
      WARNING: drivers/soc/qcom/smd: 'qcom_smd_unregister_edge' exported twice. Previous export was in drivers/rpmsg/qcom_smd.ko
      
      There is already a dependency that is meant to avoid the broken
      configuration, but that only prevents the case where at least
      one of the two are built-in, but not if both are modules.
      
      This changes the dependency to "=n", to ensure that the new driver
      can only be enabled if the other one is completely disabled.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: 53e2822e ("rpmsg: Introduce Qualcomm SMD backend")
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      395317bb
  12. 09 Sep, 2016 2 commits
  13. 21 Apr, 2013 1 commit
  14. 11 Jan, 2013 1 commit
  15. 28 Sep, 2012 1 commit
  16. 22 Feb, 2012 1 commit
    • Ohad Ben-Cohen's avatar
      rpmsg: depend on EXPERIMENTAL · 4ba60295
      Ohad Ben-Cohen authored
      There isn't any binary change in sight or evidence of any stability
      issue, but as we just begin to get traction we can't rule them out
      completely.
      
      To be on the safe side, let's mark rpmsg as EXPERIMENTAL, and remove
      it later on after we have several happy users.
      Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      Cc: Rob Clark <rob@ti.com>
      Cc: Mark Grosen <mgrosen@ti.com>
      Cc: Ludovic BARRE <ludovic.barre@stericsson.com>
      4ba60295
  17. 08 Feb, 2012 2 commits
    • Ohad Ben-Cohen's avatar
      rpmsg: add Kconfig menu · f8289eda
      Ohad Ben-Cohen authored
      Add a dedicated Kconfig menu for the rpmsg drivers, so they
      don't show up in the main driver menu.
      Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
      f8289eda
    • Ohad Ben-Cohen's avatar
      rpmsg: add virtio-based remote processor messaging bus · bcabbcca
      Ohad Ben-Cohen authored
      Add a virtio-based inter-processor communication bus, which enables
      kernel drivers to communicate with entities, running on remote
      processors, over shared memory using a simple messaging protocol.
      
      Every pair of AMP processors share two vrings, which are used to send
      and receive the messages over shared memory.
      
      The header of every message sent on the rpmsg bus contains src and dst
      addresses, which make it possible to multiplex several rpmsg channels on
      the same vring.
      
      Every rpmsg channel is a device on this bus. When a channel is added,
      and an appropriate rpmsg driver is found and probed, it is also assigned
      a local rpmsg address, which is then bound to the driver's callback.
      
      When inbound messages carry the local address of a bound driver,
      its callback is invoked by the bus.
      
      This patch provides a kernel interface only; user space interfaces
      will be later exposed by kernel users of this rpmsg bus.
      
      Designed with Brian Swetland <swetland@google.com>.
      Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
      Acked-by: Rusty Russell <rusty@rustcorp.com.au> (virtio_ids.h)
      Cc: Brian Swetland <swetland@google.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Greg KH <greg@kroah.com>
      Cc: Stephen Boyd <sboyd@codeaurora.org>
      bcabbcca