Re: Aligned operations mismatch

2018-08-22 Thread Sebastian Huber
On 23/08/18 07:29, Sebastian Huber wrote: Hello, On 22/08/18 16:49, Mikhail Svetkin wrote: Hi all, I have found a problem with assembler code generation in network stack on ARM processor (aligment fault). I am using: arm-rtems5-gcc (GCC) 7.2.0 20170814 (RTEMS 5, RSB a6d011e028a0776cedf0823

Re: Aligned operations mismatch

2018-08-22 Thread Amaan Cheval
On Wed, Aug 22, 2018 at 8:20 PM Mikhail Svetkin wrote: > > Hi all, > > I have found a problem with assembler code generation in network stack on ARM > processor (aligment fault). > > I am using: > arm-rtems5-gcc (GCC) 7.2.0 20170814 (RTEMS 5, RSB > a6d011e028a0776cedf0823940eb882e917a44e5, Newli

Re: Aligned operations mismatch

2018-08-22 Thread Sebastian Huber
Hello, On 22/08/18 16:49, Mikhail Svetkin wrote: Hi all, I have found a problem with assembler code generation in network stack on ARM processor (aligment fault). I am using: arm-rtems5-gcc (GCC) 7.2.0 20170814 (RTEMS 5, RSB a6d011e028a0776cedf0823940eb882e917a44e5, Newlib 2.5.0.20170922)

Re: Some problems with the libbsd update

2018-08-22 Thread Sebastian Huber
On 23/08/18 01:13, Joel Sherrill wrote: On Wed, Aug 22, 2018 at 6:00 PM, Chris Johns > wrote: On 22/08/2018 22:25, Sebastian Huber wrote: > On 22/08/18 14:06, Joel Sherrill wrote: >> On Wed, Aug 22, 2018, 6:47 AM Sebastian Huber >> mailto:sebastian.hu.

Re: Some problems with the libbsd update

2018-08-22 Thread Chris Johns
On 23/08/2018 15:09, Sebastian Huber wrote: > On 23/08/18 01:00, Chris Johns wrote: >> On 22/08/2018 22:25, Sebastian Huber wrote: >>> On 22/08/18 14:06, Joel Sherrill wrote: On Wed, Aug 22, 2018, 6:47 AM Sebastian Huber >>> > wrote: It

Re: Some problems with the libbsd update

2018-08-22 Thread Sebastian Huber
On 23/08/18 01:00, Chris Johns wrote: On 22/08/2018 22:25, Sebastian Huber wrote: On 22/08/18 14:06, Joel Sherrill wrote: On Wed, Aug 22, 2018, 6:47 AM Sebastian Huber mailto:sebastian.hu...@embedded-brains.de>> wrote: It really is necessary to know how the other architectures implement it. So

Re: Some problems with the libbsd update

2018-08-22 Thread Joel Sherrill
On Wed, Aug 22, 2018 at 6:00 PM, Chris Johns wrote: > On 22/08/2018 22:25, Sebastian Huber wrote: > > On 22/08/18 14:06, Joel Sherrill wrote: > >> On Wed, Aug 22, 2018, 6:47 AM Sebastian Huber > >> >> > wrote: > >> > >> It really is necessary to know ho

Re: Some problems with the libbsd update

2018-08-22 Thread Chris Johns
On 22/08/2018 22:25, Sebastian Huber wrote: > On 22/08/18 14:06, Joel Sherrill wrote: >> On Wed, Aug 22, 2018, 6:47 AM Sebastian Huber >> > > wrote: >> >> It really is necessary to know how the other architectures implement it. Some >> may turn out to be e

Re: covoar SIGKILL Investigation

2018-08-22 Thread Vijay Kumar Banerjee
I will send the attachment offlist as it's too big for the list. On Wed, 22 Aug 2018 at 21:07, Vijay Kumar Banerjee wrote: > The coverage for whole testsuite completed successfully, > I have attached the zip file here and also included the js and css files > in it. > > coverage didn't complete fo

Aligned operations mismatch

2018-08-22 Thread Mikhail Svetkin
Hi all, I have found a problem with assembler code generation in network stack on ARM processor (aligment fault). I am using: arm-rtems5-gcc (GCC) 7.2.0 20170814 (RTEMS 5, RSB a6d011e028a0776cedf0823940eb882e917a44e5, Newlib 2.5.0.20170922) The compiler generates invalid instruction 'ldmia' here

Re: Some problems with the libbsd update

2018-08-22 Thread Sebastian Huber
On 22/08/18 14:06, Joel Sherrill wrote: On Wed, Aug 22, 2018, 6:47 AM Sebastian Huber > wrote: On 22/08/18 13:44, Joel Sherrill wrote: > > > On Wed, Aug 22, 2018, 4:51 AM Sebastian Huber > mailto:sebastian.hu...@embedded-brains.d

Re: Some problems with the libbsd update

2018-08-22 Thread Joel Sherrill
On Wed, Aug 22, 2018, 6:47 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 22/08/18 13:44, Joel Sherrill wrote: > > > > > > On Wed, Aug 22, 2018, 4:51 AM Sebastian Huber > > > > wrote: > > > > On 22/08/18 09:50, Sebastian Huber w

Re: Some problems with the libbsd update

2018-08-22 Thread Sebastian Huber
On 22/08/18 13:44, Joel Sherrill wrote: On Wed, Aug 22, 2018, 4:51 AM Sebastian Huber > wrote: On 22/08/18 09:50, Sebastian Huber wrote: > To support everything in RTEMS is a lot of work, so I have to make > some trade-offs. The implemen

Re: Some problems with the libbsd update

2018-08-22 Thread Joel Sherrill
On Wed, Aug 22, 2018, 4:51 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 22/08/18 09:50, Sebastian Huber wrote: > > To support everything in RTEMS is a lot of work, so I have to make > > some trade-offs. The implementation of this API must be as efficient > > as possible sin

Re: Some problems with the libbsd update

2018-08-22 Thread Sebastian Huber
On 22/08/18 09:50, Sebastian Huber wrote: To support everything in RTEMS is a lot of work, so I have to make some trade-offs. The implementation of this API must be as efficient as possible since it is used in the critical paths of the network stack. I will try to use a single global epoch and

Some problems with the libbsd update

2018-08-22 Thread Sebastian Huber
Hello, I work currently on an update of the libbsd to the latest FreeBSD head (see also https://devel.rtems.org/ticket/3472). I was a quite smooth process until May 2018. FreeBSD seems to receive a significant amount of funding to perform better on NUMA systems. They started to use lock-free