RTEMS 4.11.0 RC4 Available

2016-10-31 Thread Chris Johns
RTEMS 4.11.0 RC4 Release: 4.11.0-rc4 Date : 31 October 2016 URL: https://ftp.rtems.org/pub/rtems/releases/4.11/4.11.0-rc4/ This is a release candidate for RTEMS 4.11.0. The release now contains the documentation. The ReST documentation source is provided along with HTML and PDF archives

Sphinx Doc for 4.11 and rtems_clock_set_nanoseconds_extension

2016-10-31 Thread Joel Sherrill
Hi I am reviewing the converted Sphinx documentation to see if there are services that are either undocumented or documented and not present in 4.11. I found that rtems_clock_set_nanoseconds_extension is documented but seems to be not completely cleaned out of the tree on the 4.11 branch and head

[PATCH 2/2] cpuuse: Use rtems_task_iterate()

2016-10-31 Thread Sebastian Huber
--- cpukit/libmisc/cpuuse/cpuusagereport.c | 117 + 1 file changed, 59 insertions(+), 58 deletions(-) diff --git a/cpukit/libmisc/cpuuse/cpuusagereport.c b/cpukit/libmisc/cpuuse/cpuusagereport.c index 370eb05..e3157e8 100644 --- a/cpukit/libmisc/cpuuse/cpuusagerep

[PATCH 1/2] rtems: Add rtems_task_iterate()

2016-10-31 Thread Sebastian Huber
Close #2423. --- cpukit/libcsupport/src/sync.c | 6 ++- cpukit/libmisc/capture/capture-cli.c | 27 ++-- cpukit/libmisc/capture/capture.c | 15 --- cpukit/libmisc/cpuuse/cpuusagereset.c | 8 ++-- cpukit/libmisc/cpuuse/cpuusagetop.c

[PATCH 17/30] score: Yield support for new SMP helping protocol

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/schedulerimpl.h | 58 ++ .../score/include/rtems/score/schedulersmpimpl.h | 11 ++-- testsuites/smptests/smpmutex01/init.c | 52 +++ 3 files changed, 107 insertions(+), 14 deletions(-) diff --g

[PATCH 27/30] score: Delete Thread_Scheduler_control::node

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/schedulercbsimpl.h | 2 +- cpukit/score/include/rtems/score/scheduleredfimpl.h | 2 +- cpukit/score/include/rtems/score/schedulerimpl.h| 12 .../score/include/rtems/score/schedulerpriorityimpl.h | 2 +- .../includ

[PATCH 19/30] score: First part of new MrsP implementation

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/libmisc/monitor/mon-sema.c | 2 +- cpukit/sapi/src/interrtext.c | 3 +- cpukit/score/include/rtems/score/interr.h | 3 +- cpukit/score/include/rtems/score/mrsp.h| 80 +- cpukit/score/include/rtems/score

[PATCH 16/30] score: Add new SMP scheduler helping protocol

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/percpu.h | 8 + cpukit/score/include/rtems/score/scheduler.h | 92 ++ cpukit/score/include/rtems/score/schedulerimpl.h | 158 + .../rtems/score/schedulerpriorityaffinitysmp.h | 22 +++ .../include/r

[PATCH 22/30] score: Simplify update priority scheduler op

2016-10-31 Thread Sebastian Huber
Remove unused return status. --- cpukit/score/include/rtems/score/scheduler.h| 2 +- cpukit/score/include/rtems/score/scheduleredf.h | 2 +- cpukit/score/include/rtems/score/schedulerpriority.h| 2 +- .../include/rtems/score/schedulerpriorityaffinitysmp.h | 8 +---

[PATCH 26/30] score: Delete Scheduler_Node::accepts_help

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/schedulernode.h | 6 -- cpukit/score/include/rtems/score/schedulernodeimpl.h | 1 - cpukit/score/include/rtems/score/schedulersmpimpl.h | 7 +-- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/cpukit/score/include/rtems

[PATCH 24/30] score: Second part of new MrsP implementation

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/schedulerimpl.h | 257 +++-- cpukit/score/include/rtems/score/schedulernode.h | 104 ++--- .../score/include/rtems/score/schedulernodeimpl.h | 1 - .../score/include/rtems/score/schedulersmpimpl.h | 98 +--- cpuki

[PATCH 13/30] score: Protect thread CPU by thread scheduler lock

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/schedulerimpl.h | 13 +--- .../score/include/rtems/score/schedulersmpimpl.h | 36 ++ 2 files changed, 32 insertions(+), 17 deletions(-) diff --git a/cpukit/score/include/rtems/score/schedulerimpl.h b/cpukit/score/incl

[PATCH 15/30] score: Add _Thread_Scheduler_process_requests()

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/Makefile.am | 1 + cpukit/score/include/rtems/score/schedulerimpl.h | 9 +++ cpukit/score/include/rtems/score/schedulernode.h | 9 ++- cpukit/score/include/rtems/score/threadimpl.h| 2 + cpukit/score/src/threadscheduler.c

[PATCH 11/30] score: Add thread scheduler lock

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/thread.h | 5 + cpukit/score/include/rtems/score/threadimpl.h | 16 cpukit/score/src/threadinitialize.c | 1 + cpukit/score/src/threadrestart.c | 1 + 4 files changed, 23 insertions(+) diff --git

[PATCH 05/30] score: Pass scheduler node to block operation

2016-10-31 Thread Sebastian Huber
Changed for consistency with other scheduler operations. Update #2556. --- cpukit/score/include/rtems/score/scheduler.h | 3 ++- cpukit/score/include/rtems/score/scheduleredf.h| 14 ++- .../score/include/rtems/score/scheduleredfimpl.h | 9 cpukit/score/include/rtems

[PATCH 20/30] score: Delete unused functions

2016-10-31 Thread Sebastian Huber
Delete _Scheduler_Thread_change_resource_root() and _Scheduler_Thread_change_help_state(). Update #2556. --- cpukit/score/Makefile.am | 1 - cpukit/score/include/rtems/score/schedulerimpl.h | 42 - cpukit/score/src/schedulerchangeroot.c | 80

[PATCH 25/30] score: Delete Resource Handler

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/Makefile.am | 3 - cpukit/score/include/rtems/score/resource.h | 211 --- cpukit/score/include/rtems/score/resourceimpl.h | 165 cpukit/score/preinstall.am | 8 - cpukit/score/src/resour

[PATCH 30/30] score: Simplify yield and unblock scheduler ops

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/scheduler.h | 12 +-- cpukit/score/include/rtems/score/schedulercbs.h| 2 +- cpukit/score/include/rtems/score/scheduleredf.h| 4 +- cpukit/score/include/rtems/score/schedulerimpl.h | 8 +- .../score/include/rtems/score/sched

[PATCH 23/30] score: Delete unused scheduler ask for help X op

2016-10-31 Thread Sebastian Huber
--- cpukit/score/include/rtems/score/scheduler.h | 41 +- cpukit/score/include/rtems/score/schedulerimpl.h | 152 - .../rtems/score/schedulerpriorityaffinitysmp.h | 7 - .../include/rtems/score/schedulerprioritysmp.h | 7 - .../score/include/rtems/score

[PATCH 18/30] score: Use scheduler instance specific locks

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/mrspimpl.h | 4 ++-- cpukit/score/include/rtems/score/scheduler.h | 5 + cpukit/score/include/rtems/score/schedulerimpl.h | 20 cpukit/score/src/scheduler.c | 16 4 files cha

[PATCH 14/30] score: Add scheduler node requests

2016-10-31 Thread Sebastian Huber
Add the ability to add/remove scheduler nodes to/from the set of scheduler nodes available to the schedulers for a particular thread. Update #2556. --- cpukit/score/include/rtems/score/schedulerimpl.h | 8 +++ cpukit/score/include/rtems/score/schedulernode.h | 62 +++- cpukit

[PATCH 29/30] score: Introduce Thread_Scheduler_control::home

2016-10-31 Thread Sebastian Huber
Replace Thread_Scheduler_control::control and Thread_Scheduler_control::own_control with new Thread_Scheduler_control::home. Update #2556. --- cpukit/libmisc/capture/capture.h | 2 +- cpukit/libmisc/cpuuse/cpuusagereset.c| 2 +- cpukit/posix/src/mutexinit.c

[PATCH 28/30] score: Delete Thread_Scheduler_control::own_node

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/coremuteximpl.h| 6 +++--- cpukit/score/include/rtems/score/mrspimpl.h | 9 ++--- cpukit/score/include/rtems/score/schedulerimpl.h| 5 ++--- cpukit/score/include/rtems/score/schedulersmpimpl.h | 2 +- cpukit/score/include/r

[PATCH 02/30] score: Rename scheduler ask for help stuff

2016-10-31 Thread Sebastian Huber
Rename the scheduler ask for help stuff since this will be replaced step by step with a second generation of the scheduler helping protocol. Keep the old one for now in parallel to reduce the patch set sizes. Update #2556. --- cpukit/score/include/rtems/score/scheduler.h| 8 ++

[PATCH 03/30] score: Pass scheduler node to update priority op

2016-10-31 Thread Sebastian Huber
This enables to call this scheduler operation for all scheduler nodes available to a thread. Update #2556. --- cpukit/score/include/rtems/score/scheduler.h | 3 +- cpukit/score/include/rtems/score/scheduleredf.h| 3 +- cpukit/score/include/rtems/score/schedulerimpl.h | 28 +++---

[PATCH 01/30] score: Fix _Scheduler_Try_to_schedule_node() usage

2016-10-31 Thread Sebastian Huber
Fix wrong use of continue statement in while loops. --- .../score/include/rtems/score/schedulersmpimpl.h | 137 ++--- 1 file changed, 65 insertions(+), 72 deletions(-) diff --git a/cpukit/score/include/rtems/score/schedulersmpimpl.h b/cpukit/score/include/rtems/score/schedulers

[PATCH 08/30] score: Add _Scheduler_Node_get_scheduler()

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/schedulernodeimpl.h | 8 cpukit/score/src/threadqops.c| 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/cpukit/score/include/rtems/score/schedulernodeimpl.h b/cpukit/score/include/rtems/score/s

[PATCH 10/30] score: Add _Thread_Scheduler_remove_wait_node()

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/threadimpl.h | 9 + cpukit/score/src/threadchangepriority.c | 6 -- cpukit/score/src/threadqops.c | 6 -- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/cpukit/score/include/rtems/score/thread

[PATCH 07/30] score: Simplify _Scheduler_SMP_Node_change_state()

2016-10-31 Thread Sebastian Huber
Update #2556. --- .../score/include/rtems/score/schedulersmpimpl.h | 64 +- 1 file changed, 26 insertions(+), 38 deletions(-) diff --git a/cpukit/score/include/rtems/score/schedulersmpimpl.h b/cpukit/score/include/rtems/score/schedulersmpimpl.h index 0f82161..eced51b 100644

[PATCH 09/30] score: Add _Thread_Scheduler_add_wait_node()

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/threadimpl.h | 13 + cpukit/score/src/threadchangepriority.c | 5 + cpukit/score/src/threadqops.c | 5 + 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/cpukit/score/include/rtems/score/t

New scheduler helping protocol implementation

2016-10-31 Thread Sebastian Huber
This is an SMP only patch set. It implements the second generation of the scheduler helping protocol and replaces the current implementation. It finalizes the OMIP locking protocol implementation. The global scheduler lock is replaced with scheduler instance specific locks. _

[PATCH 21/30] score: Delete _Scheduler_Ask_for_help_if_necessary

2016-10-31 Thread Sebastian Huber
Delete Thread_Control::Resource_node. Update #2556. --- cpukit/score/include/rtems/score/schedulerimpl.h | 100 +-- cpukit/score/include/rtems/score/thread.h| 8 -- cpukit/score/include/rtems/score/threadimpl.h| 13 +-- cpukit/score/src/threadinitialize.c

[PATCH 12/30] score: Protect thread scheduler state changes

2016-10-31 Thread Sebastian Huber
Update #2556. --- cpukit/score/include/rtems/score/schedulerimpl.h | 31 +--- .../score/include/rtems/score/schedulersmpimpl.h | 57 +- 2 files changed, 58 insertions(+), 30 deletions(-) diff --git a/cpukit/score/include/rtems/score/schedulerimpl.h b/cpukit/score/

[PATCH 04/30] score: Pass scheduler node to yield operation

2016-10-31 Thread Sebastian Huber
Changed for consistency with other scheduler operations. Update #2556. --- cpukit/score/include/rtems/score/scheduler.h | 3 ++- cpukit/score/include/rtems/score/scheduleredf.h| 19 ++ cpukit/score/include/rtems/score/schedulerimpl.h | 6 +- .../score/include/rte

[PATCH 06/30] score: Pass scheduler node to unblock operation

2016-10-31 Thread Sebastian Huber
Changed for consistency with other scheduler operations. Update #2556. --- cpukit/score/include/rtems/score/scheduler.h | 3 +- cpukit/score/include/rtems/score/schedulercbs.h| 17 ++--- cpukit/score/include/rtems/score/scheduleredf.h| 13 ++- cpukit/score/include/rtems/sco