1. 19 Sep, 2021 1 commit
    • Philippe Gerum's avatar
      lib/init: factor out generic vDSO lookup task · eb605ec7
      Philippe Gerum authored
      
      
      There is no point in specializing the resolution of clock_gettime() in
      the vDSO on a per-arch basis. This is mostly generic code with only a
      couple of arch-specific identifiers we need, which we can leave into
      the arch/ area.
      
      Move the bulk of the symbol resolution code to the generic init
      routine, adding asm/evl/vdso.h for storing the few arch-specific bits
      such code still depends on.
      Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
      eb605ec7
  2. 18 Sep, 2021 2 commits
  3. 11 Sep, 2021 4 commits
  4. 05 Sep, 2021 1 commit
  5. 21 Aug, 2021 2 commits
  6. 03 Aug, 2021 1 commit
  7. 30 Jun, 2021 1 commit
    • Philippe Gerum's avatar
      utils: evl/test: silence pedantic warning from 'find' · a1ac1ac6
      Philippe Gerum authored
      Address this warning from the 'find' command used in the evl-test
      script:
      
      "find: warning: you have specified the global option -maxdepth after
      the argument -type, but global options are not positional, i.e.,
      -maxdepth affects tests specified before it as well as those specified
      after it.  Please specify global options before other arguments."
      a1ac1ac6
  8. 13 Jun, 2021 1 commit
  9. 13 May, 2021 1 commit
  10. 01 Mar, 2021 1 commit
    • Philippe Gerum's avatar
      include/tube: fix queue remove/add race · edb5af7f
      Philippe Gerum authored
      
      
      A receiver could get a spurious empty tube status, due to
      receive_tube() racing with send_tube(). See the added comments into
      the code for details about the resolution.
      
      At this chance, guard against load/store tearing on shared pointers.
      
      Pending issue: we still have a potential connectivity issue between
      the prep and finish ops when pushing to a tube.
      Signed-off-by: default avatarPhilippe Gerum <rpm@xenomai.org>
      edb5af7f
  11. 07 Feb, 2021 5 commits
  12. 13 Dec, 2020 5 commits
  13. 12 Dec, 2020 4 commits
  14. 11 Nov, 2020 1 commit
  15. 10 Nov, 2020 1 commit
  16. 20 Sep, 2020 1 commit
    • lio's avatar
      lib:fix possible returning EINVAL when evl_attach* called by SCHED_RR threads · f20f616f
      lio authored
      
      
      When evl_attach_thread() was called,  a local stack variable *attrs* will copy-
      from-user to linux-evl. The problem is that *attrs* initializes only two of its
      members:attrs.sched_policy and attrs.sched_priority, but none of the other
      members are initialized.
      
      These uninitialized may be "zero" or any other random values, for example:
      attrs->sched_rr_quantum may be some none-zero value when the threads under
      discussion is a SCHED_RR task.
      In this case, *attrs* copyed to linux-evl in *thread_common_ioctl()*, and
      attrs->sched_rr_quantum is none-zero value; then fllowed call *set_time_slice*
      will lead to a -EINVAL return for meet *quantum <= evl_get_clock_gravity()*.
      
      This patch will initialize all members of *attrs* to zero.
      Signed-off-by: default avatarlio <liu.hailong6@zte.com.cn>
      f20f616f
  17. 13 Sep, 2020 1 commit
  18. 16 Jul, 2020 2 commits
  19. 04 Jul, 2020 1 commit
  20. 14 Jun, 2020 3 commits
  21. 01 Jun, 2020 1 commit