Dovetail integration - the finals
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | cobalt/thread: Rework kthread check for xnthread_signalkernel/ | +3 | 0 replies | |
| 2/17 | cobalt/thread: Move xnthread_signal work off the stackinclude/ kernel/ kernel/ +2 more | +101 | 0 replies | |
| 3/17 | cobalt/thread: Privatize xnthread_map to map_kthreadinclude/ kernel/ | +98 | 0 replies | |
| 4/17 | cobalt/thread: Pull kthread inband work onto creator stackkernel/ | +13 | 0 replies | |
| 5/17 | cobalt/thread: Make sure relax inband work is on a stack outliving the wakeupkernel/ | +8 | 0 replies | |
| 6/17 | cobalt/thread: dovetail: keep hard irqs off on transition to in-bandinclude/ include/ kernel/ | +43 | 4 replies | |
| 7/17 | cobalt/sched: dovetail: prevent early scheduling on uninit runqueueskernel/ kernel/ | +10 | 0 replies | |
| 8/17 | cobalt/arm: dovetail: add architecture bitskernel/ kernel/ kernel/ +8 more | +423 | 0 replies | |
| 9/17 | lib/cobalt: Reorder low_init for having cobalt_use_legacy_tsc earlier availablelib/ | +1 | 0 replies | |
| 10/17 | lib/cobalt/arm: dovetail: skip detection of KUSER_TSC supportlib/ | +4 | 0 replies | |
| 11/17 | lib/cobalt/arm64: dovetail: skip detection of KUSER_TSC supportlib/ | +4 | 0 replies | |
| 12/17 | cobalt/tick: dovetail: improve accuracy of the host tick delaykernel/ | +8 | 0 replies | |
| 13/17 | cobalt/tick: dovetail: Drop pointless inline specifier from pipeline_must_force_program_tickinclude/ | +1 | 0 replies | |
| 14/17 | cobalt/clock: dovetail: abstract interface to hardware TSCinclude/ include/ lib/ +7 more | +37 | 0 replies | |
| 15/17 | cobalt/arm64: dovetail: add architecture bitskernel/ kernel/ kernel/ +9 more | +276 | 0 replies | |
| 16/17 | cobalt/syscall: Account for different syscall argument marshalinginclude/ include/ kernel/ +4 more | +45 | 0 replies | |
| 17/17 | ci: Add arm, arm64 and x86 dovetail targets for kernel 5.10.gitlab-ci.yml | +26 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/17] Dovetail integration - the finals
Now the final bits to git dovetail / 5.10 support into mainline. The last missing piece was the avoidance xnmalloc in critical paths when submitting inband work. I've used Hongzhan's patch for xnthread_signal and also Philippe's patches for the remaining cases. The outcome seems to work fine for both I-pipe and Dovetail now - but please review!
Not included are necessary RTDM extensions and the addition of latmus as currently still queued in wip/dovetail. There were some open issues, but those could not be easily addressed on top of next.
On top, I would also still like to understand - and ideally address prior to releasing a new major version - if we cannot align the ARM syscall ABI of Xenomai to the kernel /wrt argument passing. Now is a good chance to do that.
Jan
Jan Kiszka (9):
cobalt/thread: Rework kthread check for xnthread_signal cobalt/thread: Move xnthread_signal work off the stack cobalt/thread: Privatize xnthread_map to map_kthread cobalt/thread: Pull kthread inband work onto creator stack cobalt/thread: Make sure relax inband work is on a stack outliving the
wakeup
lib/cobalt: Reorder low_init for having cobalt_use_legacy_tsc earlier
available
cobalt/tick: dovetail: Drop pointless inline specifier from
pipeline_must_force_program_tick
cobalt/syscall: Account for different syscall argument marshaling
ci: Add arm, arm64 and x86 dovetail targets for kernel 5.10
Philippe Gerum (8):
cobalt/thread: dovetail: keep hard irqs off on transition to in-band cobalt/sched: dovetail: prevent early scheduling on uninit runqueues cobalt/arm: dovetail: add architecture bits lib/cobalt/arm: dovetail: skip detection of KUSER_TSC support lib/cobalt/arm64: dovetail: skip detection of KUSER_TSC support cobalt/tick: dovetail: improve accuracy of the host tick delay cobalt/clock: dovetail: abstract interface to hardware TSC cobalt/arm64: dovetail: add architecture bits
.gitlab-ci.yml | 26 ++
.../kernel/dovetail/pipeline/pipeline.h | 11 +
.../cobalt/kernel/dovetail/pipeline/sched.h | 12 +
.../cobalt/kernel/dovetail/pipeline/tick.h | 2 +-
.../cobalt/kernel/ipipe/pipeline/pipeline.h | 12 +
include/cobalt/kernel/ipipe/pipeline/sched.h | 20 +
include/cobalt/kernel/thread.h | 24 +-
include/cobalt/sys/cobalt.h | 2 +
include/copperplate/clockobj.h | 12 +-
kernel/cobalt/arch/arm/Kconfig | 4 +
kernel/cobalt/arch/arm/dovetail/Makefile | 5 +
.../include/asm/xenomai/calibration.h | 39 ++
.../dovetail/include/asm/xenomai/features.h | 30 ++
.../arm/dovetail/include/asm/xenomai/fptest.h | 52 +++
.../dovetail}/include/asm/xenomai/machine.h | 67 +--
.../dovetail/include/asm/xenomai/syscall.h | 101 +++++
.../dovetail/include/asm/xenomai/syscall32.h | 24 ++
.../arm/dovetail/include/asm/xenomai/thread.h | 32 ++
.../dovetail/include/asm/xenomai/wrappers.h | 27 ++
kernel/cobalt/arch/arm/dovetail/machine.c | 44 ++
kernel/cobalt/arch/arm64/dovetail/Makefile | 5 +
.../include/asm/xenomai/calibration.h | 24 ++
.../dovetail/include/asm/xenomai/features.h | 15 +
.../dovetail/include/asm/xenomai/fptest.h | 35 ++
.../dovetail/include/asm/xenomai/machine.h | 33 ++
.../dovetail/include/asm/xenomai/syscall.h | 63 +++
.../dovetail/include/asm/xenomai/syscall32.h | 12 +
.../dovetail/include/asm/xenomai/thread.h | 22 +
.../dovetail/include/asm/xenomai/wrappers.h | 15 +
kernel/cobalt/arch/arm64/dovetail/machine.c | 41 ++
.../arm64/ipipe/include/asm/xenomai/machine.h | 3 +
kernel/cobalt/arch/arm64/ipipe/machine.c | 3 +
.../dovetail/include/asm/xenomai/syscall.h | 5 -
kernel/cobalt/dovetail/kevents.c | 2 +-
kernel/cobalt/dovetail/sched.c | 1 +
kernel/cobalt/dovetail/tick.c | 14 +-
.../include/asm-generic/xenomai/syscall.h | 7 -
kernel/cobalt/ipipe/kevents.c | 2 +-
kernel/cobalt/posix/syscall.c | 14 +-
kernel/cobalt/sched.c | 10 +-
kernel/cobalt/synch.c | 4 +-
kernel/cobalt/thread.c | 402 ++++++++----------
lib/cobalt/arch/arm/features.c | 4 +
lib/cobalt/arch/arm/include/asm/xenomai/tsc.h | 2 +-
lib/cobalt/arch/arm64/features.c | 4 +
.../arch/arm64/include/asm/xenomai/tsc.h | 2 +-
.../arch/powerpc/include/asm/xenomai/tsc.h | 2 +-
lib/cobalt/arch/x86/include/asm/xenomai/tsc.h | 2 +-
lib/cobalt/clock.c | 6 +-
lib/cobalt/init.c | 2 +-
lib/cobalt/internal.c | 18 +-
lib/copperplate/clockobj.c | 12 +-
testsuite/smokey/tsc/tsc.c | 2 +-
53 files changed, 1030 insertions(+), 304 deletions(-)
create mode 100644 kernel/cobalt/arch/arm/dovetail/Makefile
create mode 100644 kernel/cobalt/arch/arm/dovetail/include/asm/xenomai/calibration.h
create mode 100644 kernel/cobalt/arch/arm/dovetail/include/asm/xenomai/features.h
create mode 100644 kernel/cobalt/arch/arm/dovetail/include/asm/xenomai/fptest.h
copy kernel/cobalt/arch/{arm64/ipipe => arm/dovetail}/include/asm/xenomai/machine.h (59%)
create mode 100644 kernel/cobalt/arch/arm/dovetail/include/asm/xenomai/syscall.h
create mode 100644 kernel/cobalt/arch/arm/dovetail/include/asm/xenomai/syscall32.h
create mode 100644 kernel/cobalt/arch/arm/dovetail/include/asm/xenomai/thread.h
create mode 100644 kernel/cobalt/arch/arm/dovetail/include/asm/xenomai/wrappers.h
create mode 100644 kernel/cobalt/arch/arm/dovetail/machine.c
create mode 100644 kernel/cobalt/arch/arm64/dovetail/Makefile
create mode 100644 kernel/cobalt/arch/arm64/dovetail/include/asm/xenomai/calibration.h
create mode 100644 kernel/cobalt/arch/arm64/dovetail/include/asm/xenomai/features.h
create mode 100644 kernel/cobalt/arch/arm64/dovetail/include/asm/xenomai/fptest.h
create mode 100644 kernel/cobalt/arch/arm64/dovetail/include/asm/xenomai/machine.h
create mode 100644 kernel/cobalt/arch/arm64/dovetail/include/asm/xenomai/syscall.h
create mode 100644 kernel/cobalt/arch/arm64/dovetail/include/asm/xenomai/syscall32.h
create mode 100644 kernel/cobalt/arch/arm64/dovetail/include/asm/xenomai/thread.h
create mode 100644 kernel/cobalt/arch/arm64/dovetail/include/asm/xenomai/wrappers.h
create mode 100644 kernel/cobalt/arch/arm64/dovetail/machine.cSignature · 1 line
2.26.2