1. 05 Nov, 2015 6 commits
  2. 02 Nov, 2015 10 commits
  3. 23 Oct, 2015 1 commit
  4. 22 Oct, 2015 4 commits
  5. 21 Oct, 2015 7 commits
  6. 19 Oct, 2015 10 commits
  7. 15 Oct, 2015 2 commits
    • Bryan O'Donoghue's avatar
      greybus: loopback: capture and present firmware supplied latencies · 1ec5843e
      Bryan O'Donoghue authored
      In order to provide deep inspection of the greybus/UniPro system
      instrumentation of
      
      1. APBridge's view of UniPro latency
      2. GPBridge's view of internal firmware-only latency
      
      have both been added and reported to the AP in the transfer loopback
      response header. When this data are present we latch and average it over
      the number of requested cycles, presenting it to user-space via sysfs.
      
      This patch adds the following sysfs entries for each loopback CPort
      
      - apbridge_unipro_latency_avg_con
      - apbridge_unipro_latency_max_con
      - apbridge_unipro_latency_min_con
      - gpbridge_firmware_latency_avg_con
      - gpbridge_firmware_latency_max_con
      - gpbridge_firmware_latency_min_con
      
      and the following sysfs entries representing the average values across all
      available CPorts
      
      - apbridge_unipro_latency_avg_dev
      - apbridge_unipro_latency_max_dev
      - apbridge_unipro_latency_min_dev
      - gpbridge_firmware_latency_avg_dev
      - gpbridge_firmware_latency_max_dev
      - gpbridge_firmware_latency_min_dev
      Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      1ec5843e
    • Bryan O'Donoghue's avatar
      greybus: loopback: add tracker variables to hold firmware timestamps · e6227ee6
      Bryan O'Donoghue authored
      This patch adds tracker variables to hold the incoming firmware derived
      timestamps where apbridge_latency_ts will contain the APBridge's view of
      the UniPro turn-around time and gpbridge_latency_ts will contain the
      GPBridge's view of it's own internal latency. Both values are reported
      in microseconds.
      Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      e6227ee6