1. 19 1月, 2017 3 次提交
  2. 30 12月, 2016 1 次提交
    • L
      rpmsg: virtio_rpmsg_bus: fix channel creation · 63447646
      Loic Pallardy 提交于
      Since commit 4dffed5b ("rpmsg: Name rpmsg devices based on
      channel id"), it is no more possible for a firmware to register twice
      a service (on different endpoints). rpmsg_register_device function
      is failing when calling device_add for the second time as second
      device has the same name as first one already register.
      It is because name is based only on service name and so is not more
      unique. Previously name was unique thanks to the use of rpmsg_dev_index.
      
      This patch adds destination and source endpoint numbers device name to
      create an unique identifier.
      
      Fixes: 4dffed5b ("rpmsg: Name rpmsg devices based on channel id")
      Acked-by: NPeter Griffin <peter.griffin@linaro.org>
      Signed-off-by: NLoic Pallardy <loic.pallardy@st.com>
      [bjorn: flipped name and address in device name]
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      63447646
  3. 08 12月, 2016 1 次提交
  4. 15 11月, 2016 1 次提交
  5. 01 11月, 2016 4 次提交
  6. 12 9月, 2016 1 次提交
    • A
      rpmsg: smd: fix dependency on QCOM_SMD=n · 395317bb
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      Fixes: 53e2822e ("rpmsg: Introduce Qualcomm SMD backend")
      Signed-off-by: NBjorn Andersson <bjorn.andersson@linaro.org>
      395317bb
  7. 09 9月, 2016 17 次提交
  8. 13 8月, 2016 5 次提交
  9. 11 8月, 2016 1 次提交
  10. 07 5月, 2016 1 次提交
  11. 13 1月, 2016 1 次提交
  12. 13 3月, 2015 1 次提交
  13. 27 11月, 2014 1 次提交
    • S
      rpmsg: use less buffers when vrings are small · b1b98914
      Suman Anna 提交于
      Adjust the number of rpmsg buffers to rely on the size of the
      vring, instead of using the hard coded value of 512 (256 per
      direction).
      
      This is needed when small vrings are being used, where 256
      buffers are too much to fit in a vring.
      
      While considering the vring size, keep using the 512 hard coded
      value as an upper limit to avoid wacky resource tables consuming
      unreasonable amount of memory.
      
      NOTE: The number of buffers is already assumed to be symmetrical
      in each direction, and that logic is unchanged.
      Signed-off-by: NSuman Anna <s-anna@ti.com>
      [edit commit message, small code and comment simplification]
      Signed-off-by: NOhad Ben-Cohen <ohad@wizery.com>
      b1b98914
  14. 30 4月, 2013 1 次提交
  15. 21 4月, 2013 1 次提交