Re: [PATCH 14/14] score: Avoid Giant lock for scheduler set/get

2016-05-11 Thread Gedare Bloom
patch set looks good to me. On Wed, May 11, 2016 at 9:23 AM, Sebastian Huber wrote: > Update #2555. > --- > cpukit/rtems/src/taskgetscheduler.c | 52 > +++- > cpukit/rtems/src/tasksetscheduler.c | 50 +-- > cpukit/score/include/r

Re: Require help with running Xilinx Zynq Qemu BSP

2016-05-11 Thread Chris Johns
On 11/05/2016 6:02 PM, vivek kukreja wrote: I am preparing for the next phase of my project where I will implement live-tracing over transport. For that drivers for USB and Ethernet have to be loaded in qemu. How will that work? Ah OK. The drivers are simpler than you think. The devices are

SOCIS 2016 - RTEMS - Raspberry Pi 3

2016-05-11 Thread Alexandre Esteves
Hello everyone While poking around in GSOC/SOCIS ideas page, I noticed there were some Raspberry Pi related projects , including one for better RPI 2 support. In about 16 hours I'll be the proud owner of a RPI 3, and looki

Re: [PATCH 4/4] score: Adjust thread queue layout

2016-05-11 Thread Gedare Bloom
ok On Wed, May 11, 2016 at 9:19 AM, Sebastian Huber wrote: > Adjust thread queue layout according to Newlib. This makes it possible > to use the same implementation for and CORE mutexes in the > future. > --- > cpukit/score/include/rtems/score/threadq.h | 37 +++- > cpu

Re: arm/raspberrypi: VideoCore and U-boot testing

2016-05-11 Thread Pavel Pisa
Hello everybody, On Wednesday 11 of May 2016 22:37:48 Jan Sommer wrote: > Am Montag, 2. Mai 2016, 00:15:31 CEST schrieb Pavel Pisa: > [...] > > > So this is result of my actual testing. It would be great if somebody > > else checks boot process with U-boot as well and checks if > > arm_cp15_set_do

Re: arm/raspberrypi: VideoCore and U-boot testing

2016-05-11 Thread Jan Sommer
Am Montag, 2. Mai 2016, 00:15:31 CEST schrieb Pavel Pisa: [...] > So this is result of my actual testing. It would be great if somebody > else checks boot process with U-boot as well and checks if > arm_cp15_set_domain_access_control() causes problem as well. > I built everything from scratch (to

Re: Compatibility with upcomming Newlib snapshot and GCC 6

2016-05-11 Thread Joel Sherrill
Is this related to this static assertion failure for all BSPs using gcc and newlib master? powerpc-rtems4.12-gcc --pipe -DHAVE_CONFIG_H -I.. -I../../cpukit/../../../psim/lib/include -meabi -mcpu=603e -msdata=sysv -fno-common -Dppc603e -O2 -g -fno-keep-inline-functions -ffunction-sections -fdat

[PATCH 10/14] score: Use thread state lock for current state

2016-05-11 Thread Sebastian Huber
In addition protect scheduler of thread by thread state lock. Enables use of scheduler per-instance locks. Update #2555. --- cpukit/libmisc/cpuuse/cpuusagereset.c| 13 ++- cpukit/rtems/src/taskmode.c | 4 +- cpukit/score/include/rtems/score/schedulerimpl.h | 1

[PATCH 14/14] score: Avoid Giant lock for scheduler set/get

2016-05-11 Thread Sebastian Huber
Update #2555. --- cpukit/rtems/src/taskgetscheduler.c | 52 +++- cpukit/rtems/src/tasksetscheduler.c | 50 +-- cpukit/score/include/rtems/score/schedulerimpl.h | 42 ++- cpukit/score/include/rtems/score/threadimpl.h

[PATCH 06/14] score: Introduce thread state lock

2016-05-11 Thread Sebastian Huber
Update #2556. --- cpukit/posix/src/psignalunblockthread.c | 20 +++--- cpukit/rtems/include/rtems/rtems/signalimpl.h | 8 +-- cpukit/rtems/src/signalcatch.c| 10 +-- cpukit/rtems/src/signalsend.c | 7 +- cpukit/rtems/src/taskmode.c | 4 +-

[PATCH 11/14] score: Avoid Giant lock _Scheduler_Set_affinity()

2016-05-11 Thread Sebastian Huber
Update #2555. --- cpukit/posix/src/pthreadcreate.c | 8 ++-- cpukit/posix/src/pthreadsetaffinitynp.c | 59 +--- cpukit/rtems/src/tasksetaffinity.c | 43 + cpukit/score/include/rtems/score/schedulerimpl.h | 6 +-- cpukit/s

[PATCH 03/14] mpci: Delete unused region support

2016-05-11 Thread Sebastian Huber
--- cpukit/rtems/Makefile.am | 2 - cpukit/rtems/include/rtems/rtems/regionimpl.h | 4 - cpukit/rtems/include/rtems/rtems/regionmp.h | 140 - cpukit/rtems/preinstall.am| 4 - cpukit/rtems/src/regionmp.c | 279 --

[PATCH 12/14] score: Avoid Giant lock _Scheduler_Get_affinity()

2016-05-11 Thread Sebastian Huber
Update #2555. --- cpukit/posix/src/pthreadgetaffinitynp.c | 49 +++ cpukit/rtems/src/taskgetaffinity.c | 51 + cpukit/score/src/schedulergetaffinity.c | 13 +++-- 3 files changed, 62 insertions(+), 51 deletions(-) diff --git a/c

[PATCH 13/14] posix: Avoid Giant lock for some pthread functions

2016-05-11 Thread Sebastian Huber
Avoid Giant lock for pthread_getattr_np(), pthread_setschedparam() and pthread_getschedparam(). Replace POSIX threads scheduler lock with thread state lock. Update #2555. --- cpukit/posix/include/rtems/posix/pthreadimpl.h | 17 cpukit/posix/include/rtems/posix/threadsup.h | 2 - cpukit

Eliminate the Giant lock for most thread operations

2016-05-11 Thread Sebastian Huber
This patch series eliminates the Giant lock for most thread operations. The next step is to eliminate the Giant lock for thread life-cycle changes, e.g. start, restart, cancel, exit, join. ___ devel mailing list devel@rtems.org http://lists.rtems.org/ma

[PATCH 08/14] rtems: Avoid Giant lock for some task operations

2016-05-11 Thread Sebastian Huber
Avoid Giant lock for rtems_task_set_priority(), rtems_task_suspend() and rtems_task_resume(). Update #2555. --- cpukit/rtems/include/rtems/rtems/taskmp.h | 34 - cpukit/rtems/src/taskmp.c | 120 +- cpukit/rtems/src/taskresume.c | 3

[PATCH 07/14] rtems: Use thread state lock for signals

2016-05-11 Thread Sebastian Huber
--- cpukit/rtems/include/rtems/rtems/asr.h | 3 -- cpukit/rtems/include/rtems/rtems/asrimpl.h | 61 -- cpukit/rtems/src/signalcatch.c | 17 - cpukit/rtems/src/signalsend.c | 8 ++-- cpukit/rtems/src/taskmode.c| 6 +

[PATCH 09/14] rtems: Avoid Giant lock rtems_task_is_suspended()

2016-05-11 Thread Sebastian Huber
Update #2555. --- cpukit/rtems/src/taskissuspended.c | 48 +++--- 1 file changed, 13 insertions(+), 35 deletions(-) diff --git a/cpukit/rtems/src/taskissuspended.c b/cpukit/rtems/src/taskissuspended.c index 1414052..467281d 100644 --- a/cpukit/rtems/src/taskissusp

[PATCH 05/14] score: Add _Thread_queue_Is_lock_owner()

2016-05-11 Thread Sebastian Huber
Add _Thread_queue_Is_lock_owner() in case RTEMS_DEBUG is defined. --- cpukit/score/include/rtems/score/threadq.h | 16 - cpukit/score/include/rtems/score/threadqimpl.h | 48 -- 2 files changed, 60 insertions(+), 4 deletions(-) diff --git a/cpukit/score/include/

[PATCH 04/14] posix: Make _POSIX_signals_Action_handler() static

2016-05-11 Thread Sebastian Huber
--- cpukit/posix/include/rtems/posix/psignalimpl.h | 7 -- cpukit/posix/src/psignal.c | 135 - cpukit/posix/src/psignalunblockthread.c| 126 +++ 3 files changed, 126 insertions(+), 142 deletions(-) diff --git a/cpukit/posix

[PATCH 02/14] score: Ensure matching lock acquire and release

2016-05-11 Thread Sebastian Huber
Ensure matching lock acquire and release for SMP locks if RTEMS_DEBUG is defined. --- cpukit/score/include/rtems/score/smplock.h | 7 --- cpukit/score/src/smplock.c | 13 - 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/cpukit/score/include/rtems/s

[PATCH 01/14] score: Add _ISR_lock_Is_owner()

2016-05-11 Thread Sebastian Huber
--- cpukit/score/include/rtems/score/isrlock.h | 19 cpukit/score/include/rtems/score/percpu.h | 2 ++ cpukit/score/include/rtems/score/smplock.h | 48 -- cpukit/score/src/smplock.c | 25 +++- 4 files changed, 90 insertions(+),

Compatibility with upcomming Newlib snapshot and GCC 6

2016-05-11 Thread Sebastian Huber
There should be a Newlib snapshot available in the next days. I would like to update the tools to use it and the latest GCC 6 snapshot. After these changes a tool update is necessary for the RTEMS master. ___ devel mailing list devel@rtems.org http://l

[PATCH 3/4] score: Use Newlib provided

2016-05-11 Thread Sebastian Huber
--- cpukit/include/rtems/endian.h | 85 +-- cpukit/include/sys/endian.h | 46 ++- 2 files changed, 37 insertions(+), 94 deletions(-) diff --git a/cpukit/include/rtems/endian.h b/cpukit/include/rtems/endian.h index e670477..802cc4b 1006

[PATCH 2/4] network: Align with Newlib type definitions

2016-05-11 Thread Sebastian Huber
--- cpukit/libnetworking/rtems/rtems_bsdnet_internal.h | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h b/cpukit/libnetworking/rtems/rtems_bsdnet_internal.h index b08d674..7ede2c6 100644 --- a/cpukit/libnetworking/rtem

[PATCH 4/4] score: Adjust thread queue layout

2016-05-11 Thread Sebastian Huber
Adjust thread queue layout according to Newlib. This makes it possible to use the same implementation for and CORE mutexes in the future. --- cpukit/score/include/rtems/score/threadq.h | 37 +++- cpukit/score/include/rtems/score/threadqimpl.h | 4 +-- cpukit/score/src/mu

[PATCH 1/4] score: Add libatomic support

2016-05-11 Thread Sebastian Huber
Close #2695. --- cpukit/score/Makefile.am| 1 + cpukit/score/cpu/sparc/Makefile.am | 1 - cpukit/score/cpu/sparc/sparcv8-atomic.c | 211 cpukit/score/src/libatomic.c| 79 4 files changed, 80 insertions(+), 212 dele

Re: Require help with running Xilinx Zynq Qemu BSP

2016-05-11 Thread vivek kukreja
Hello Chris, I am preparing for the next phase of my project where I will implement live-tracing over transport. For that drivers for USB and Ethernet have to be loaded in qemu. How will that work? Regards, Vivek > On 11-May-2016, at 05:30, Chris Johns wrote: > >> On 11/05/2016 02:57, vivek

SOCIS2016_EHTESHAMIFAR_FaultTolerance - Invitation to comment

2016-05-11 Thread Saeed Ehteshamifar (via Google Docs)
I've shared an item with you: SOCIS2016_EHTESHAMIFAR_FaultTolerance https://docs.google.com/document/d/14hNEIi-FaywfvpB71yll-3FvzgbhUS2nhiiWZ8V7s7A/edit?usp=sharing&invite=CP3g7NwL&ts=5732daa6 It's not an attachment -- it's stored online. To open this item, just click the link above. Hi, I