1. 04 Oct, 2018 1 commit
  2. 28 Sep, 2018 1 commit
  3. 01 Sep, 2018 1 commit
  4. 28 Aug, 2018 2 commits
  5. 31 Jul, 2018 6 commits
    • Arun Kumar Neelakantam's avatar
      rpmsg: Add compat ioctl for rpmsg char driver · 00b645e0
      Arun Kumar Neelakantam authored
      Add compat ioctl callback to support 32bit user space applications.
      Signed-off-by: default avatarArun Kumar Neelakantam <aneela@codeaurora.org>
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      00b645e0
    • Chris Lew's avatar
      rpmsg: glink: Store edge name for glink device · 475452fc
      Chris Lew authored
      Channels may need to identify the edge their channel was probed for.
      Store the edge name by reading the label property from device tree or
      default to the node name.
      Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
      Signed-off-by: default avatarArun Kumar Neelakantam <aneela@codeaurora.org>
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      475452fc
    • Srinivas Kandagatla's avatar
      rpmsg: core: add support to power domains for devices · fe782aff
      Srinivas Kandagatla authored
      Some of the rpmsg devices need to switch on power domains to communicate
      with remote processor. For example on Qualcomm DB820c platform LPASS
      power domain needs to switched on for any kind of audio services.
      This patch adds the missing power domain support in rpmsg core.
      
      Without this patch attempting to play audio via QDSP on DB820c would
      reboot the system.
      Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      fe782aff
    • Srinivas Kandagatla's avatar
      rpmsg: smd: fix kerneldoc warnings · 82eca590
      Srinivas Kandagatla authored
      This patch fixes below kerneldoc warnings
      
      qcom_smd.c:141: warning: Function parameter or member 'dev' not described in 'qcom_smd_edge'
      qcom_smd.c:141: warning: Function parameter or member 'name' not described in 'qcom_smd_edge'
      qcom_smd.c:141: warning: Function parameter or member 'new_channel_event' not described in 'qcom_smd_edge'
      qcom_smd.c:222: warning: Function parameter or member 'qsept' not described in 'qcom_smd_channel'
      qcom_smd.c:222: warning: Function parameter or member 'registered' not described in 'qcom_smd_channel'
      qcom_smd.c:222: warning: Function parameter or member 'state_change_event' not described in 'qcom_smd_channel'
      qcom_smd.c:222: warning: Function parameter or member 'drvdata' not described in 'qcom_smd_channel'
      qcom_smd.c:737: warning: Function parameter or member 'wait' not described in '__qcom_smd_send'
      Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      82eca590
    • Srinivas Kandagatla's avatar
      rpmsg: glink: Fix various kerneldoc warnings. · 6f0b9584
      Srinivas Kandagatla authored
      Fix below kerneldoc warnings while building with W=1
      qcom_glink_native.c:53: warning: Function parameter or member 'data' not described in 'glink_defer_cmd'
      qcom_glink_native.c:75: warning: Function parameter or member 'data' not described in 'glink_core_rx_intent'
      qcom_glink_native.c:75: warning: Function parameter or member 'id' not described in 'glink_core_rx_intent'
      qcom_glink_native.c:75: warning: Function parameter or member 'size' not described in 'glink_core_rx_intent'
      qcom_glink_native.c:75: warning: Function parameter or member 'reuse' not described in 'glink_core_rx_intent'
      qcom_glink_native.c:75: warning: Function parameter or member 'in_use' not described in 'glink_core_rx_intent'
      qcom_glink_native.c:75: warning: Function parameter or member 'offset' not described in 'glink_core_rx_intent'
      qcom_glink_native.c:75: warning: Function parameter or member 'node' not described in 'glink_core_rx_intent'
      qcom_glink_native.c:116: warning: Function parameter or member 'features' not described in 'qcom_glink'
      qcom_glink_native.c:116: warning: Function parameter or member 'intentless' not described in 'qcom_glink'
      qcom_glink_native.c:524: warning: Function parameter or member 'version' not described in 'qcom_glink_receive_version'
      qcom_glink_native.c:524: warning: Function parameter or member 'features' not described in 'qcom_glink_receive_version'
      qcom_glink_native.c:524: warning: Excess function parameter 'r_version' description in 'qcom_glink_receive_version'
      qcom_glink_native.c:524: warning: Excess function parameter 'r_features' description in 'qcom_glink_receive_version'
      qcom_glink_native.c:551: warning: Function parameter or member 'version' not described in 'qcom_glink_receive_version_ack'
      qcom_glink_native.c:551: warning: Function parameter or member 'features' not described in 'qcom_glink_receive_version_ack'
      qcom_glink_native.c:551: warning: Excess function parameter 'r_version' description in 'qcom_glink_receive_version_ack'
      qcom_glink_native.c:551: warning: Excess function parameter 'r_features' description in 'qcom_glink_receive_version_ack'
      qcom_glink_native.c:570: warning: bad line:                                       wire format and transmit
      qcom_glink_native.c:604: warning: Function parameter or member 'intent' not described in 'qcom_glink_advertise_intent'
      qcom_glink_native.c:604: warning: Excess function parameter 'size' description in 'qcom_glink_advertise_intent'
      qcom_glink_native.c:710: warning: Function parameter or member 'glink' not described in 'qcom_glink_handle_intent_req'
      qcom_glink_native.c:710: warning: Function parameter or member 'cid' not described in 'qcom_glink_handle_intent_req'
      qcom_glink_native.c:710: warning: Function parameter or member 'size' not described in 'qcom_glink_handle_intent_req'
      Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      6f0b9584
    • Srinivas Kandagatla's avatar
      rpmsg: glink: correctly annotate intent members · 427613ee
      Srinivas Kandagatla authored
      As intent structure members are not correctly annotated, leading to below warnings
      
      qcom_glink_native.c:614:16: warning: incorrect type in assignment (different base types)
      qcom_glink_native.c:614:16:    expected unsigned short [unsigned] [usertype] id
      qcom_glink_native.c:614:16:    got restricted __le16 [usertype] <noident>
      qcom_glink_native.c:615:18: warning: incorrect type in assignment (different base types)
      qcom_glink_native.c:615:18:    expected unsigned short [unsigned] [usertype] lcid
      qcom_glink_native.c:615:18:    got restricted __le16 [usertype] <noident>
      qcom_glink_native.c:616:19: warning: incorrect type in assignment (different base types)
      qcom_glink_native.c:616:19:    expected unsigned int [unsigned] [usertype] count
      qcom_glink_native.c:616:19:    got restricted __le32 [usertype] <noident>
      qcom_glink_native.c:617:18: warning: incorrect type in assignment (different base types)
      qcom_glink_native.c:617:18:    expected unsigned int [unsigned] [usertype] size
      qcom_glink_native.c:617:18:    got restricted __le32 [usertype] <noident>
      qcom_glink_native.c:618:18: warning: incorrect type in assignment (different base types)
      qcom_glink_native.c:618:18:    expected unsigned int [unsigned] [usertype] liid
      qcom_glink_native.c:618:18:    got restricted __le32 [usertype] <noident>
      
      Fix this by correctly annotating them.
      Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      427613ee
  6. 02 Jul, 2018 1 commit
  7. 04 Jun, 2018 6 commits
  8. 26 Apr, 2018 1 commit
  9. 25 Apr, 2018 2 commits
  10. 28 Mar, 2018 3 commits
  11. 27 Mar, 2018 1 commit
    • Bjorn Andersson's avatar
      Revert "rpmsg: smd: Create device for all channels" · 2bd9b438
      Bjorn Andersson authored
      In an effort to pick up channels that are in a funky state we
      optimistically tried to open all channels that we found, with the
      addition that we failed if the other side did not handshake the opening.
      
      But as we're starting the modem a second time all channels are found -
      in a "funky" state - and we try to open them. But the modem firmware
      requires the IPCRTR to be up in order to initialize. So any channels we
      try to open before that will fail and will not be opened again.
      
      This takes care of the regression, at the cost of reintroducing the
      previous behavior of handling of channels with "funky" states.
      
      Reverts commit c12fc451 ("rpmsg: smd: Create device for all channels")
      Reported-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
      2bd9b438
  12. 20 Mar, 2018 2 commits
  13. 18 Mar, 2018 2 commits
  14. 11 Feb, 2018 1 commit
    • Linus Torvalds's avatar
      vfs: do bulk POLL* -> EPOLL* replacement · a9a08845
      Linus Torvalds authored
      This is the mindless scripted replacement of kernel use of POLL*
      variables as described by Al, done by this script:
      
          for V in IN OUT PRI ERR RDNORM RDBAND WRNORM WRBAND HUP RDHUP NVAL MSG; do
              L=`git grep -l -w POLL$V | grep -v '^t' | grep -v /um/ | grep -v '^sa' | grep -v '/poll.h$'|grep -v '^D'`
              for f in $L; do sed -i "-es/^\([^\"]*\)\(\<POLL$V\>\)/\\1E\\2/" $f; done
          done
      
      with de-mangling cleanups yet to come.
      
      NOTE! On almost all architectures, the EPOLL* constants have the same
      values as the POLL* constants do.  But they keyword here is "almost".
      For various bad reasons they aren't the same, and epoll() doesn't
      actually work quite correctly in some cases due to this on Sparc et al.
      
      The next patch from Al will sort out the final differences, and we
      should be all done.
      Scripted-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      a9a08845
  15. 19 Jan, 2018 1 commit
  16. 02 Jan, 2018 1 commit
  17. 19 Dec, 2017 6 commits
  18. 06 Dec, 2017 1 commit
  19. 28 Nov, 2017 1 commit