1. 10 Mar, 2016 19 commits
  2. 08 Mar, 2016 2 commits
  3. 05 Mar, 2016 7 commits
  4. 03 Mar, 2016 9 commits
  5. 02 Mar, 2016 1 commit
  6. 29 Feb, 2016 2 commits
    • Axel Haslam's avatar
      greybus: Loopback_test: use poll instead of inotify · 9250c0ee
      Axel Haslam authored
      Inotify does not handle sysfs events, so use poll instead.
      
      The loopback kernel driver will send a notification when the test is
      complete. So, open a poll file descriptor for every enabled device,
      and after starting the test, wait for an event from each device.
      After all events are received, read the total number of iterations
      and make sure the test is complete.
      
      Also, add missing stdint header which was included in inotify.
      Signed-off-by: default avatarAxel Haslam <ahaslam@baylibre.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      9250c0ee
    • Axel Haslam's avatar
      greybus: Notify user space only when the test finished. · 39c2787b
      Axel Haslam authored
      Currently, user space is notified for every message sent,
      but this is not really needed and does not work in the async case
      where all messages are sent from the start.
      
      Instead, notify userspace only when all the transfers are complete.
      This allows userspace to wait in a poll loop and wakeup only when
      the test is finished.
      
      Also, don't use the bundle kobj to send the notification it is
      the loopback device that contains the loopback attributes.
      Signed-off-by: default avatarAxel Haslam <ahaslam@baylibre.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      39c2787b