1. 19 Aug, 2020 1 commit
  2. 12 Aug, 2020 1 commit
    • chensong's avatar
      testsuite: App of gpio loopback/react benchmark · 0bcfce8f
      chensong authored
      This a tool to benchmark the latency of GPIO driver,
      it's able to run 2 kinds of benchmark test:
      
      1, loopback mode
      1) apply 2 gpio pins by calling service in gpio RTDM driver
         like gpio-bcm2835 and gpio-core.c, one is as output,
         the other is as interrupt
      2) call write_rt to send a pulse from output
      3) call read_rt to get timestamps recorded in driver (inner loop)
      4) also record timespace in user space(outer_loop)
         outer_loop is inner_loop plus overhead of event wakeup
      5) ftrace enable/disable
      
      2, react mode
      1) apply 2 gpio pins by calling service in gpio RTDM driver
         like gpio-bcm2835 and gpio-core.c, one is as ourput,
         the other is as interrupt
      2) call read_rt to wait for a pulse from latency box
      3) call write_rt to send a signal back to latency box
         as a reaction
      4) latency box calculates the diff and makes the histogram
      
      e.g.:
      1) react mode:
         gpiobench -o 20 -i 21 -c pinctrl-bcm2835 -m 1 -l 1000
      2) loopback mode:
         gpiobench -o 20 -i 21 -c pinctrl-bcm2835 -m 0 -l 1000 -h 100 -b 50
      
      CC: Jan Kiszka <jan.kiszka@siemens.com>
      CC: Greg Gallagher <greg@embeddedgreg.com>
      Signed-off-by: default avatarchensong <chensong@tj.kylinos.cn>
      [Jan: fixed time delta calculation and output for 32-bit targets]
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
      0bcfce8f
  3. 02 Jun, 2020 1 commit
  4. 24 Apr, 2020 2 commits
  5. 19 Apr, 2020 1 commit
  6. 14 Apr, 2020 1 commit
  7. 06 Apr, 2020 1 commit
  8. 02 Mar, 2020 1 commit
  9. 20 Feb, 2020 1 commit
  10. 19 Feb, 2020 1 commit
  11. 17 Feb, 2020 1 commit
  12. 10 Feb, 2020 2 commits
  13. 04 Feb, 2020 1 commit
  14. 03 Feb, 2020 1 commit
  15. 31 Jan, 2020 10 commits
  16. 22 Jan, 2020 1 commit
  17. 21 Jan, 2020 1 commit
  18. 16 Jan, 2020 2 commits
  19. 14 Jan, 2020 6 commits
  20. 17 Dec, 2019 1 commit
    • Jan Kiszka's avatar
      cobalt: sched-quota: Fix live-updating if quotas, once more · 133e9969
      Jan Kiszka authored
      f116e7eb already tried to enable live updates of a quota group but
      got one thing wrong and missed another catch:
      
      First, we must not use group_is_active() to check if the group is
      currently consuming time. That has to be the same logic as in
      xnsched_quota_pick(), i.e. a check of the currently running thread on
      the target sched belongs to the modified group.
      
      The second issue is that, if a group had no budget on refill or consumed
      it in this period already, an extension of the budget missed to move
      expired threads back to the runqueue.
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
      133e9969
  21. 12 Dec, 2019 1 commit
  22. 09 Dec, 2019 1 commit
  23. 06 Dec, 2019 1 commit
    • Jan Kiszka's avatar
      ci: Do not stumble over annotated ipipe tags · add6d3f5
      Jan Kiszka authored
      Currently not an issue for the kernels we pull here, but 4.14-ppc would
      break e.g. because ls-remote --tags gives
      
      ... ipipe-core-4.14.36-ppc32-1.1
      ... ipipe-core-4.14.36-ppc32-1.1^{}
      
      with the second one representing the dereferentiation of the annotated
      tag. We only need the first one, though, while the second breaks git
      clone. --refs filters this.
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
      add6d3f5