1. 28 Oct, 2018 1 commit
    • Philippe Gerum's avatar
      net/stack: export services to switch interface up/down · 05cc9c99
      Philippe Gerum authored
      We may want to force a rtnet interface up, and more likely down before
      unloading a driver module.
      Export the ioctl() code which handles the IOC_RT_IFUP/IFDOWN core
      ioctl requests as standalone routines. The locking model remains
      unchanged, with ioctl() requests and direct service calls serializing
      on the per-device lock.
      Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
  2. 27 Sep, 2018 1 commit
  3. 24 Sep, 2018 2 commits
    • Philippe Gerum's avatar
      cobalt: use generic linux/uaccess.h header · bae753be
      Philippe Gerum authored
      asm/uaccess.h is an arch-local, partial header which may cause build
      issues if included directly.
      Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
    • Philippe Gerum's avatar
      drivers/can: flexcan: rebase on mainline v4.14.58 · c6f278d6
      Philippe Gerum authored
      Usable with latest Flexcan controller revisions available from recent
      i.MX series. The older driver would break when initializing the chip
      (FIFO activation), e.g.:
      [  957.052272] rtcan0: real bitrate 1000000, sampling point 75.0%
      [  957.058325] rtcan0: writing ctrl=0x011a2003
      [  957.062670] rtcan0: flexcan_set_bit_time: mcr=0x5980000f ctrl=0x011a2003
      [  957.069403] rtcan0: flexcan_chip_start: writing mcr=0x79a2020f
      [  957.069421] rtcan0: flexcan_chip_start: writing ctrl=0x011aac53
      [  957.075359] Unhandled fault: imprecise external abort (0x1c06) at 0xaec71a2c
      [  957.088371] pgd = cae8c000
      [  957.091106] [aec71a2c] *pgd=9d843835, *pte=ba49d75f, *ppte=ba49dc7f
      [  957.097447] Internal error: : 1c06 [#1] SMP ARM
      [  957.108324] CPU: 1 PID: 843 Comm: rtcanconfig Not tainted 4.14.34 #1
      [  957.115391] Hardware name: Freescale i.MX7 Dual (Device Tree)
      [  957.121155] I-pipe domain: Linux
      [  957.124404] task: caee1900 task.stack: ca5d0000
      [  957.128968] PC is at flexcan_chip_start+0x180/0x34c
      [  957.133869] LR is at flexcan_chip_start+0x178/0x34c
      As a bonus, the latest work arounds addressing silicon bugs are now
      included (e.g. use of timestamp-based offloading when the FIFO
      ordering does not match the time of arrival).
      Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
      Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
  4. 03 Sep, 2018 1 commit
  5. 31 Aug, 2018 2 commits
    • Philippe Gerum's avatar
      drivers/autotune: fix computation of gravity limit · 553881db
      Philippe Gerum authored
      A wrongly computed gravity limit value caused the calibration to end
      too early on some platforms (e.g. arm64).
      This value should be the max. among the set of min. latencies observed
      while running the warmup steps. In the same move, run more warmup
      steps to increase the likeliness of reaching such max.
    • Philippe Gerum's avatar
      drivers/autotune: fix calibration with low frequency timers · 262cdf25
      Philippe Gerum authored
      When a single timer tick last less than the adjustment step time
      (i.e. < 500 ns), we end up with a zero adjustment value which either
      leads to a spurious early shot detection due to a rounding error, or a
      null gravity value at the end of a lengthy but useless calibration
      Make sure to adjust by at least one timer tick, and mitigate rounding
      errors when checking for early shots when the timer frequency is lower
      than 1e9 / ADJUSTMENT_STEP.
  6. 25 Aug, 2018 1 commit
  7. 20 Aug, 2018 1 commit
  8. 03 Jul, 2018 17 commits
  9. 27 Jun, 2018 1 commit
  10. 13 May, 2018 1 commit
  11. 19 Apr, 2018 3 commits
  12. 08 Mar, 2018 9 commits