Skip to content

Dovetail integration, next round

Jan Kiszka xenomai 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/25cobalt/kernel: ipipe: rename xnsched_realtime_domain to xnsched_primary_domaininclude/cobalt/kernel/ipipe/pipeline/pipeline.h kernel/cobalt/ipipe/init.c kernel/cobalt/ipipe/intr.c +2 more+19 -190 replies
2/25cobalt/kevents: dovetail: drop call to obsolete force_commit_memory()kernel/cobalt/dovetail/kevents.c+3 -80 replies
3/25cobalt/intr: dovetail: implement interrupt management, handlinginclude/cobalt/kernel/dovetail/pipeline/irq.h kernel/cobalt/dovetail/Makefile kernel/cobalt/dovetail/intr.c+155 -10 replies
4/25cobalt/irq: dovetail: implement out-of-band irq management and handlinginclude/cobalt/kernel/dovetail/pipeline/pipeline.h+31 -100 replies
5/25cobalt/kevents: dovetail: enable back tracingkernel/cobalt/dovetail/kevents.c+1 -30 replies
6/25cobalt/x86: ipipe: Remove leftover from x86_32 removalkernel/cobalt/arch/x86/ipipe/include/asm/xenomai/syscall.h+0 -80 replies
7/25cobalt/x86: ipipe: Drop unused strncpy_from_user_nocheckkernel/cobalt/arch/x86/ipipe/include/asm/xenomai/machine.h kernel/cobalt/arch/x86/ipipe/machine.c+0 -230 replies
8/25cobalt/x86: Move shared headers out of pipeline specific folderkernel/cobalt/arch/x86/include/asm/xenomai/c1e.h kernel/cobalt/arch/x86/include/asm/xenomai/features.h kernel/cobalt/arch/x86/include/asm/xenomai/smi.h +3 more+0 -00 replies
9/25cobalt/x86: dovetail: add architecture bitskernel/cobalt/arch/x86/dovetail/Makefile kernel/cobalt/arch/x86/dovetail/c1e.c kernel/cobalt/arch/x86/dovetail/include/asm/xenomai/calibration.h +7 more+348 -20 replies
10/25cobalt/kernel: dovetail: implement sirq servicesinclude/cobalt/kernel/dovetail/pipeline/sirq.h+23 -50 replies
11/25cobalt/sched: dovetail: add task control block initializerskernel/cobalt/dovetail/sched.c+2 -20 replies
12/25cobalt/clock: dovetail: provide backend code to CLOCK_HOST_REALTIMEinclude/cobalt/kernel/dovetail/pipeline/clock.h+2 -10 replies
13/25cobalt/init: dovetail: add oob stage enabling, disabling serviceskernel/cobalt/dovetail/init.c+2 -20 replies
14/25cobalt/timer: Check if nklock is held in timer serviceskernel/cobalt/timer.c+12 -00 replies
15/25cobalt/tick: dovetail: install/uninstall proxy tick devicekernel/cobalt/dovetail/tick.c+81 -20 replies
16/25cobalt/tick: dovetail: implement pipeline_set_timer_shot()include/cobalt/kernel/dovetail/pipeline/clock.h kernel/cobalt/dovetail/tick.c+29 -110 replies
17/25cobalt/tick: dovetail: implement pipeline_timer_name()include/cobalt/kernel/dovetail/pipeline/clock.h kernel/cobalt/dovetail/tick.c+13 -100 replies
18/25cobalt/timer: pipeline: abstract handling of ONESHOT_STOPPED modeinclude/cobalt/kernel/ipipe/pipeline/tick.h include/cobalt/kernel/sched.h kernel/cobalt/clock.c +1 more+16 -20 replies
19/25cobalt/timer: dovetail: handle ONESHOT_STOPPED modeinclude/cobalt/kernel/dovetail/pipeline/tick.h kernel/cobalt/dovetail/tick.c+10 -00 replies
20/25cobalt/tick: dovetail: flatten the call stack to pipeline servicesinclude/cobalt/kernel/dovetail/pipeline/pipeline.h kernel/cobalt/dovetail/sched.c kernel/cobalt/dovetail/tick.c+26 -510 replies
21/25cobalt/clock: dovetail: implement pipeline_read_cycle_counter()include/cobalt/kernel/dovetail/pipeline/clock.h+1 -30 replies
22/25lib/cobalt: ticks: drop cobalt_read_hrclock()include/cobalt/ticks.h lib/cobalt/ticks.c+0 -70 replies
23/25lib/cobalt: dovetail: allow representing time as count of nanosecondsinclude/cobalt/ticks.h lib/cobalt/ticks.c+70 -220 replies
24/25lib/cobalt: add default wrapper to clock_settime()lib/cobalt/wrappers.c+6 -00 replies
25/25lib/cobalt: dovetail: use clock_gettime() vcall for reading timestampslib/cobalt/Makefile.am lib/cobalt/arch/arm/include/asm/xenomai/time.h lib/cobalt/arch/arm64/include/asm/xenomai/time.h +6 more+445 -360 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/25] Dovetail integration, next round

This is just half-way through to one working arch. A split at this at the point libcobalt is refactored for dovetail ticks. Test target for this part remains I-pipe, i.e. the check for no regressions on it.

Jan

CC Hongzhan Chen <[email protected]>
CC Philippe Gerum <[email protected]>

Hongzhan Chen (12):
cobalt/irq: dovetail: implement out-of-band irq management and
handling
cobalt/kevents: dovetail: enable back tracing cobalt/kernel: dovetail: implement sirq services cobalt/sched: dovetail: add task control block initializers cobalt/clock: dovetail: provide backend code to CLOCK_HOST_REALTIME cobalt/init: dovetail: add oob stage enabling, disabling services cobalt/tick: dovetail: install/uninstall proxy tick device cobalt/tick: dovetail: implement pipeline_set_timer_shot() cobalt/tick: dovetail: implement pipeline_timer_name() cobalt/timer: pipeline: abstract handling of ONESHOT_STOPPED mode cobalt/timer: dovetail: handle ONESHOT_STOPPED mode cobalt/clock: dovetail: implement pipeline_read_cycle_counter()

Jan Kiszka (3):
cobalt/x86: ipipe: Remove leftover from x86_32 removal cobalt/x86: ipipe: Drop unused strncpy_from_user_nocheck cobalt/x86: Move shared headers out of pipeline specific folder

Philippe Gerum (10):
cobalt/kernel: ipipe: rename xnsched_realtime_domain to
xnsched_primary_domain
cobalt/kevents: dovetail: drop call to obsolete force_commit_memory() cobalt/intr: dovetail: implement interrupt management, handling cobalt/x86: dovetail: add architecture bits
cobalt/timer: Check if nklock is held in timer services cobalt/tick: dovetail: flatten the call stack to pipeline services lib/cobalt: ticks: drop cobalt_read_hrclock()
lib/cobalt: dovetail: allow representing time as count of nanoseconds lib/cobalt: add default wrapper to clock_settime() lib/cobalt: dovetail: use clock_gettime() vcall for reading timestamps

 .../cobalt/kernel/dovetail/pipeline/clock.h   |  30 +-
 include/cobalt/kernel/dovetail/pipeline/irq.h |  24 ++
 .../kernel/dovetail/pipeline/pipeline.h       |  40 +--
 .../cobalt/kernel/dovetail/pipeline/sirq.h    |  28 +-
 .../cobalt/kernel/dovetail/pipeline/tick.h    |   4 +
 .../cobalt/kernel/ipipe/pipeline/pipeline.h   |   2 +-
 include/cobalt/kernel/ipipe/pipeline/tick.h   |   6 +
 include/cobalt/kernel/sched.h                 |   5 +
 include/cobalt/ticks.h                        |  50 +++-
 kernel/cobalt/arch/x86/dovetail/Makefile      |   5 +
 kernel/cobalt/arch/x86/dovetail/c1e.c         |   1 +
 .../include/asm/xenomai/calibration.h}        |  34 +--
 .../x86/dovetail/include/asm/xenomai/fptest.h |  70 +++++
 .../include/asm/xenomai/machine.h             |   7 +-
 .../include/asm/xenomai/syscall.h             |  19 +-
 .../x86/dovetail/include/asm/xenomai/thread.h |  38 +++
 .../arch/x86/{ipipe => dovetail}/machine.c    |  29 +-
 kernel/cobalt/arch/x86/dovetail/smi.c         |   1 +
 .../x86/{ipipe => }/include/asm/xenomai/c1e.h |   0
 .../include/asm/xenomai/features.h            |   0
 .../x86/{ipipe => }/include/asm/xenomai/smi.h |   0
 .../include/asm/xenomai/syscall32-table.h     |   0
 .../include/asm/xenomai/syscall32.h           |   0
 .../include/asm/xenomai/wrappers.h            |   0
 .../x86/ipipe/include/asm/xenomai/machine.h   |   4 -
 .../x86/ipipe/include/asm/xenomai/syscall.h   |   8 -
 kernel/cobalt/arch/x86/ipipe/machine.c        |  19 --
 kernel/cobalt/arch/x86/ipipe/smi.c            |   4 +-
 kernel/cobalt/clock.c                         |   2 +-
 kernel/cobalt/dovetail/Makefile               |   2 +-
 kernel/cobalt/dovetail/init.c                 |   4 +-
 kernel/cobalt/dovetail/intr.c                 | 130 ++++++++
 kernel/cobalt/dovetail/kevents.c              |  15 +-
 kernel/cobalt/dovetail/sched.c                |  12 +-
 kernel/cobalt/dovetail/tick.c                 | 141 ++++++++-
 kernel/cobalt/ipipe/init.c                    |  12 +-
 kernel/cobalt/ipipe/intr.c                    |  20 +-
 kernel/cobalt/ipipe/kevents.c                 |   2 +-
 kernel/cobalt/ipipe/syscall.c                 |   2 +-
 kernel/cobalt/timer.c                         |  17 +-
 lib/cobalt/Makefile.am                        |   1 +
 .../arch/arm/include/asm/xenomai/time.h       |  16 +
 .../arch/arm64/include/asm/xenomai/time.h     |  16 +
 .../arch/powerpc/include/asm/xenomai/time.h   |  16 +
 .../arch/x86/include/asm/xenomai/time.h       |  16 +
 lib/cobalt/clock.c                            | 107 ++++---
 lib/cobalt/internal.h                         |   6 +
 lib/cobalt/parse_vdso.c                       | 281 ++++++++++++++++++
 lib/cobalt/ticks.c                            |  65 ++--
 lib/cobalt/wrappers.c                         |   6 +
 50 files changed, 1060 insertions(+), 257 deletions(-)
 create mode 100644 include/cobalt/kernel/dovetail/pipeline/irq.h
 create mode 100644 kernel/cobalt/arch/x86/dovetail/Makefile
 create mode 120000 kernel/cobalt/arch/x86/dovetail/c1e.c
 copy kernel/cobalt/arch/x86/{ipipe/include/asm/xenomai/machine.h => dovetail/include/asm/xenomai/calibration.h} (52%)
 create mode 100644 kernel/cobalt/arch/x86/dovetail/include/asm/xenomai/fptest.h
 copy kernel/cobalt/arch/x86/{ipipe => dovetail}/include/asm/xenomai/machine.h (88%)
 copy kernel/cobalt/arch/x86/{ipipe => dovetail}/include/asm/xenomai/syscall.h (87%)
 create mode 100644 kernel/cobalt/arch/x86/dovetail/include/asm/xenomai/thread.h
 copy kernel/cobalt/arch/x86/{ipipe => dovetail}/machine.c (80%)
 create mode 120000 kernel/cobalt/arch/x86/dovetail/smi.c
 rename kernel/cobalt/arch/x86/{ipipe => }/include/asm/xenomai/c1e.h (100%)
 rename kernel/cobalt/arch/x86/{ipipe => }/include/asm/xenomai/features.h (100%)
 rename kernel/cobalt/arch/x86/{ipipe => }/include/asm/xenomai/smi.h (100%)
 rename kernel/cobalt/arch/x86/{ipipe => }/include/asm/xenomai/syscall32-table.h (100%)
 rename kernel/cobalt/arch/x86/{ipipe => }/include/asm/xenomai/syscall32.h (100%)
 rename kernel/cobalt/arch/x86/{ipipe => }/include/asm/xenomai/wrappers.h (100%)
 create mode 100644 kernel/cobalt/dovetail/intr.c
 create mode 100644 lib/cobalt/arch/arm/include/asm/xenomai/time.h
 create mode 100644 lib/cobalt/arch/arm64/include/asm/xenomai/time.h
 create mode 100644 lib/cobalt/arch/powerpc/include/asm/xenomai/time.h
 create mode 100644 lib/cobalt/arch/x86/include/asm/xenomai/time.h
 create mode 100644 lib/cobalt/parse_vdso.c
Signature · 1 line
2.26.2