Skip to content

I-pipe house cleaning

Jan Kiszka xenomai 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20cobalt: Drop self element from lostage_signalinclude/cobalt/kernel/thread.h kernel/cobalt/thread.c+0 -70 replies
2/20drivers/udd: Drop self element from irqswitch_workkernel/drivers/udd/udd.c+1 -30 replies
3/20cobalt: Drop not longer supported CONFIG_XENO_OPT_STATS_IRQSinclude/cobalt/kernel/intr.h kernel/cobalt/Kconfig kernel/cobalt/sched.c+2 -910 replies
4/20testsuite/smokey/y2038: Activate minimal clock_settime64testsuite/smokey/y2038/syscall-tests.c+0 -302 replies
5/20testsuite/clocktest: Drop obsolete CLOCK_HOST_REALTIME and wallclock offset bitstestsuite/clocktest/clocktest.c+2 -620 replies
6/20testsuite/smokey: Remove VDSO testconfigure.ac testsuite/smokey/Makefile.am testsuite/smokey/vdso-access/Makefile.am +1 more+0 -430 replies
7/20lib/cobalt: Drop legacy_tsc code for I-pipeinclude/cobalt/ticks.h kernel/cobalt/arch/arm/include/asm/xenomai/uapi/features.h kernel/cobalt/arch/arm64/include/asm/xenomai/uapi/features.h +8 more+28 -2970 replies
8/20lib/cobalt: Drop tsc.hlib/cobalt/arch/arm/include/asm/xenomai/Makefile.am lib/cobalt/arch/arm/include/asm/xenomai/tsc.h lib/cobalt/arch/arm64/include/asm/xenomai/Makefile.am +3 more+3 -1460 replies
9/20cobalt/uapi: Drop tsc.hkernel/cobalt/arch/arm/include/asm/xenomai/uapi/tsc.h kernel/cobalt/arch/arm64/include/asm/xenomai/uapi/tsc.h+0 -500 replies
10/20lib/cobalt: Drop VDSO supportlib/cobalt/init.c lib/cobalt/umm.c lib/cobalt/umm.h+5 -170 replies
11/20kernel/cobalt: Remove archcall syscall stubinclude/cobalt/uapi/syscall.h kernel/cobalt/arch/arm/include/asm/xenomai/syscall.h kernel/cobalt/arch/arm64/include/asm/xenomai/syscall.h +3 more+1 -360 replies
12/20kernel/cobalt: Retire clock_freq field in cobalt_featinfoinclude/cobalt/kernel/dovetail/pipeline/pipeline.h include/cobalt/uapi/asm-generic/features.h kernel/cobalt/posix/syscall.c+2 -80 replies
13/20kernel/cobalt: Remove VDSO supportinclude/cobalt/kernel/Makefile.am include/cobalt/kernel/vdso.h include/cobalt/sys/cobalt.h +10 more+3 -2640 replies
14/20testsuite/smokey/rtdm: Remove dead codetestsuite/smokey/rtdm/rtdm.c+0 -120 replies
15/20lib/cobalt: Refactor cobalt_read_tsc API to cobalt_read_nsinclude/cobalt/sys/cobalt.h include/cobalt/ticks.h include/copperplate/clockobj.h +3 more+21 -720 replies
16/20lib/copperplate: Refactor clockobj_get_tsc API to clockobj_get_nsinclude/copperplate/clockobj.h lib/copperplate/clockobj.c lib/copperplate/threadobj.c +3 more+33 -540 replies
17/20scripts/Kconfig.frag: Switch to I-pipe onlyscripts/Kconfig.frag+2 -42 replies
18/20include/cobalt: Fix inclusion guard namesinclude/cobalt/kernel/dovetail/pipeline/tick.h+3 -30 replies
19/20ci: Update comment.gitlab-ci.yml+1 -10 replies
20/20cobalt/posix: Update commentkernel/cobalt/posix/process.c+2 -20 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/20] I-pipe house cleaning

Initially, I just ran into the "Revisit: I-pipe requirement" comment on the lostage_signal self field. But then I did a systematic search for i[-]pipe and found way more. This is the result which should only make things (minimally) faster and otherwise simply remove now dead code.

Jan

Jan Kiszka (20):
cobalt: Drop self element from lostage_signal drivers/udd: Drop self element from irqswitch_work
cobalt: Drop not longer supported CONFIG_XENO_OPT_STATS_IRQS testsuite/smokey/y2038: Activate minimal clock_settime64 testsuite/clocktest: Drop obsolete CLOCK_HOST_REALTIME and wallclock
offset bits
testsuite/smokey: Remove VDSO test
lib/cobalt: Drop legacy_tsc code for I-pipe
lib/cobalt: Drop tsc.h
cobalt/uapi: Drop tsc.h
lib/cobalt: Drop VDSO support
kernel/cobalt: Remove archcall syscall stub kernel/cobalt: Retire clock_freq field in cobalt_featinfo kernel/cobalt: Remove VDSO support
testsuite/smokey/rtdm: Remove dead code
lib/cobalt: Refactor cobalt_read_tsc API to cobalt_read_ns lib/copperplate: Refactor clockobj_get_tsc API to clockobj_get_ns scripts/Kconfig.frag: Switch to I-pipe only include/cobalt: Fix inclusion guard names
ci: Update comment
cobalt/posix: Update comment

 .gitlab-ci.yml                                |   2 +-
 configure.ac                                  |   1 -
 include/cobalt/kernel/Makefile.am             |   1 -
 .../kernel/dovetail/pipeline/pipeline.h       |   5 -
 .../cobalt/kernel/dovetail/pipeline/tick.h    |   6 +-
 include/cobalt/kernel/intr.h                  |  30 -----
 include/cobalt/kernel/thread.h                |   1 -
 include/cobalt/kernel/vdso.h                  |  49 -------
 include/cobalt/sys/cobalt.h                   |   3 +-
 include/cobalt/ticks.h                        |  49 -------
 include/cobalt/uapi/asm-generic/features.h    |   8 +-
 include/cobalt/uapi/kernel/Makefile.am        |   4 +-
 include/cobalt/uapi/kernel/urw.h              | 113 ----------------
 include/cobalt/uapi/kernel/vdso.h             |  66 ----------
 include/cobalt/uapi/syscall.h                 |   2 +-
 include/copperplate/clockobj.h                |  35 +----
 kernel/cobalt/Kconfig                         |  12 --
 .../arch/arm/include/asm/xenomai/syscall.h    |   9 --
 .../arm/include/asm/xenomai/uapi/features.h   |   1 -
 .../arch/arm/include/asm/xenomai/uapi/tsc.h   |  25 ----
 .../arch/arm64/include/asm/xenomai/syscall.h  |   9 --
 .../arm64/include/asm/xenomai/uapi/features.h |   2 -
 .../arch/arm64/include/asm/xenomai/uapi/tsc.h |  25 ----
 .../arch/x86/include/asm/xenomai/syscall.h    |   8 --
 .../x86/include/asm/xenomai/uapi/features.h   |   1 -
 kernel/cobalt/clock.c                         |   2 -
 kernel/cobalt/dovetail/kevents.c              |   1 -
 kernel/cobalt/init.c                          |   1 -
 kernel/cobalt/posix/memory.c                  |  21 ---
 kernel/cobalt/posix/process.c                 |   5 +-
 kernel/cobalt/posix/syscall.c                 |  12 --
 kernel/cobalt/sched.c                         |  51 +------
 kernel/cobalt/thread.c                        |   6 -
 kernel/cobalt/trace/cobalt-posix.h            |   1 -
 kernel/drivers/udd/udd.c                      |   4 +-
 lib/cobalt/arch/arm/features.c                |  46 -------
 .../arch/arm/include/asm/xenomai/Makefile.am  |   3 +-
 lib/cobalt/arch/arm/include/asm/xenomai/tsc.h |  48 -------
 lib/cobalt/arch/arm64/features.c              |  42 ------
 .../arm64/include/asm/xenomai/Makefile.am     |   3 +-
 .../arch/arm64/include/asm/xenomai/tsc.h      |  54 --------
 .../arch/x86/include/asm/xenomai/Makefile.am  |   3 +-
 lib/cobalt/arch/x86/include/asm/xenomai/tsc.h |  38 ------
 lib/cobalt/clock.c                            | 124 +++---------------
 lib/cobalt/init.c                             |   4 +-
 lib/cobalt/internal.c                         |   6 +-
 lib/cobalt/internal.h                         |   2 +-
 lib/cobalt/ticks.c                            |  70 +---------
 lib/cobalt/umm.c                              |  14 +-
 lib/cobalt/umm.h                              |   6 +-
 lib/copperplate/clockobj.c                    |   8 +-
 lib/copperplate/threadobj.c                   |   4 +-
 lib/psos/tm.c                                 |   2 +-
 scripts/Kconfig.frag                          |   6 +-
 testsuite/clocktest/clocktest.c               |  64 +--------
 testsuite/smokey/Makefile.am                  |   2 -
 testsuite/smokey/arith/arith.c                |   6 +-
 testsuite/smokey/posix-cond/posix-cond.c      |  46 +++----
 testsuite/smokey/rtdm/rtdm.c                  |  12 --
 testsuite/smokey/tsc/tsc.c                    |  37 +-----
 testsuite/smokey/vdso-access/Makefile.am      |   9 --
 testsuite/smokey/vdso-access/vdso-access.c    |  31 -----
 testsuite/smokey/y2038/syscall-tests.c        |  30 -----
 63 files changed, 99 insertions(+), 1192 deletions(-)
 delete mode 100644 include/cobalt/kernel/vdso.h
 delete mode 100644 include/cobalt/uapi/kernel/urw.h
 delete mode 100644 include/cobalt/uapi/kernel/vdso.h
 delete mode 100644 kernel/cobalt/arch/arm/include/asm/xenomai/uapi/tsc.h
 delete mode 100644 kernel/cobalt/arch/arm64/include/asm/xenomai/uapi/tsc.h
 delete mode 100644 lib/cobalt/arch/arm/include/asm/xenomai/tsc.h
 delete mode 100644 lib/cobalt/arch/arm64/include/asm/xenomai/tsc.h
 delete mode 100644 lib/cobalt/arch/x86/include/asm/xenomai/tsc.h
 delete mode 100644 testsuite/smokey/vdso-access/Makefile.am
 delete mode 100644 testsuite/smokey/vdso-access/vdso-access.c
Signature · 1 line
2.35.3