Re: [Xenomai-core] [BUG] racy xnshadow_harden under CONFIG_PREEMPT

2006-01-31 Thread Philippe Gerum
Jeroen Van den Keybus wrote: And now, Ladies and Gentlemen, with the patches attached. I've installed both patches and the problem seems to have disappeared. I'll try it on another machine tomorrow, too. Meanwhile: thanks very much for the assistance ! Actually, the effort you made t

Re: [Xenomai-core] [BUG] racy xnshadow_harden under CONFIG_PREEMPT

2006-01-31 Thread Jeroen Van den Keybus
And now, Ladies and Gentlemen, with the patches attached.   I've installed both patches and the problem seems to have disappeared. I'll try it on another machine tomorrow, too. Meanwhile: thanks very much for the assistance ! Jeroen.  

Re: [Xenomai-core] [PATCH] Shared irqs v.6

2006-01-31 Thread Jan Kiszka
Dmitry Adamushko wrote: > On 31/01/06, Jan Kiszka <[EMAIL PROTECTED]> wrote: >> Dmitry Adamushko wrote: >>> Hi, >>> >>> the previous version contained an ugly bug, namely the misuse of the >>> test_and_set/clear_bit interface >>> that led to a broken system from time to time. >>> >> What about the

Re: [Xenomai-core] [PATCH] Shared irqs v.6

2006-01-31 Thread Dmitry Adamushko
On 31/01/06, Jan Kiszka <[EMAIL PROTECTED]> wrote: Dmitry Adamushko wrote:> Hi,>> the previous version contained an ugly bug, namely the misuse of the> test_and_set/clear_bit interface> that led to a broken system from time to time.> What about the ISA/edge-triggered stuff? :DMy problem is that we

Re: [Xenomai-core] [PATCH] Shared irqs v.6

2006-01-31 Thread Jan Kiszka
Dmitry Adamushko wrote: > Hi, > > the previous version contained an ugly bug, namely the misuse of the > test_and_set/clear_bit interface > that led to a broken system from time to time. > And here is a tiny patch to make RTDM shared-IRQ-aware. If you release another version before a merge, you

Re: [Xenomai-core] [PATCH] Shared irqs v.6

2006-01-31 Thread Jan Kiszka
Dmitry Adamushko wrote: > Hi, > > the previous version contained an ugly bug, namely the misuse of the > test_and_set/clear_bit interface > that led to a broken system from time to time. > What about the ISA/edge-triggered stuff? :D My problem is that we cannot test here on real hardware becaus

Re: [Xenomai-core] [BUG] racy xnshadow_harden under CONFIG_PREEMPT

2006-01-31 Thread Jan Kiszka
Philippe Gerum wrote: > Jan Kiszka wrote: >> At this chance: any comments on the panic-freeze extension for the >> tracer? I need to rework the Xenomai patch, but the ipipe side should be >> ready for merge. >> > > No issue with the ipipe side since it only touches the tracer support > code. No is

[Xenomai-core] [PATCH] Shared irqs v.6

2006-01-31 Thread Dmitry Adamushko
Hi, the previous version contained an ugly bug, namely the misuse of the test_and_set/clear_bit interface that led to a broken system from time to time. -- Best regards,Dmitry Adamushko shirq-v6.patch Description: Binary data

Re: [Xenomai-core] rt_heap in userspace, heapsize [patch]

2006-01-31 Thread Philippe Gerum
Stefan Kisdaroczi wrote: Hi again, I looked at the sources now... Am Tuesday 17 January 2006 14:57 schrieb Stefan Kisdaroczi: Hi, I made a small test with rt_heap_ in userspace, i think I understood the actual limitations of the userspace support. I used 1 as heapsize. Xenomai 2.1-RC2/x8

Re: [Xenomai-core] [PATCH] rt_heap reminder

2006-01-31 Thread Philippe Gerum
Hi, Stefan Kisdaroczi wrote: Hi all, as a reminder (userspace, native skin, shared heap) [1]: API documentation: "If the heap is shared, this value can be either zero, or the same value given to rt_heap_create()." This is not true. As the heapsize gets altered in rt_heap_create for page size

Re: [Xenomai-core] [patch] factoring arithmetic routines.

2006-01-31 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Gilles Chanteperdrix wrote: > > Hi, > > For your review, here is an attempt to factor arithmetic routines in > asm-generic/hal.h. And with the blackfin architecture... Applied, thanks. ---

Re: [Xenomai-core] [BUG] racy xnshadow_harden under CONFIG_PREEMPT

2006-01-31 Thread Philippe Gerum
Jeroen Van den Keybus wrote: And now, Ladies and Gentlemen, with the patches attached. I've installed both patches and the problem seems to have disappeared. I'll try it on another machine tomorrow, too. Meanwhile: thanks very much for the assistance ! Actually, the effort you made t

Re: [Xenomai-core] [BUG] racy xnshadow_harden under CONFIG_PREEMPT

2006-01-31 Thread Jeroen Van den Keybus
And now, Ladies and Gentlemen, with the patches attached.   I've installed both patches and the problem seems to have disappeared. I'll try it on another machine tomorrow, too. Meanwhile: thanks very much for the assistance ! Jeroen.   ___ Xenomai-core ma

Re: [Xenomai-core] [PATCH] merge powerpc fpu.S and fpu_64.S

2006-01-31 Thread Philippe Gerum
Heikki Lindholm wrote: Currently the two powerpc fpu*.S assembly sections are so similar that there's really no need for two of them. Merge them into a common fpu.S. Tested on a G5. Applied, thanks. -- Heikki Lindholm --

Re: [Xenomai-core] [PATCH] Shared irqs v.6

2006-01-31 Thread Jan Kiszka
Dmitry Adamushko wrote: > On 31/01/06, Jan Kiszka <[EMAIL PROTECTED]> wrote: >> Dmitry Adamushko wrote: >>> Hi, >>> >>> the previous version contained an ugly bug, namely the misuse of the >>> test_and_set/clear_bit interface >>> that led to a broken system from time to time. >>> >> What about the

Re: [Xenomai-core] [PATCH] Shared irqs v.6

2006-01-31 Thread Dmitry Adamushko
On 31/01/06, Jan Kiszka <[EMAIL PROTECTED]> wrote: Dmitry Adamushko wrote:> Hi,>> the previous version contained an ugly bug, namely the misuse of the> test_and_set/clear_bit interface> that led to a broken system from time to time.> What about the ISA/edge-triggered stuff? :DMy problem is that we

Re: [Xenomai-core] [PATCH] Shared irqs v.6

2006-01-31 Thread Jan Kiszka
Dmitry Adamushko wrote: > Hi, > > the previous version contained an ugly bug, namely the misuse of the > test_and_set/clear_bit interface > that led to a broken system from time to time. > And here is a tiny patch to make RTDM shared-IRQ-aware. If you release another version before a merge, you

[Xenomai-core] [PATCH] Shared irqs v.6

2006-01-31 Thread Dmitry Adamushko
Hi, the previous version contained an ugly bug, namely the misuse of the test_and_set/clear_bit interface that led to a broken system from time to time. -- Best regards,Dmitry Adamushko shirq-v6.patch Description: Binary data ___ Xenomai-core mailing

Re: [Xenomai-core] [PATCH] Shared irqs v.6

2006-01-31 Thread Jan Kiszka
Dmitry Adamushko wrote: > Hi, > > the previous version contained an ugly bug, namely the misuse of the > test_and_set/clear_bit interface > that led to a broken system from time to time. > What about the ISA/edge-triggered stuff? :D My problem is that we cannot test here on real hardware becaus

Re: [Xenomai-core] [BUG] racy xnshadow_harden under CONFIG_PREEMPT

2006-01-31 Thread Jan Kiszka
Philippe Gerum wrote: > Jan Kiszka wrote: >> At this chance: any comments on the panic-freeze extension for the >> tracer? I need to rework the Xenomai patch, but the ipipe side should be >> ready for merge. >> > > No issue with the ipipe side since it only touches the tracer support > code. No is

Re: [Xenomai-core] Re: [PATCH] Shared irqs v.5

2006-01-31 Thread Philippe Gerum
Jan Kiszka wrote: Dmitry Adamushko wrote: To achieve this, 1) xnintr_t should be extended with a "name" field; 2) rt_intr_create() should contain a "name" argument and not use auto-generation (as "irqN") any more. Ok, sounds reasonable. This said, since this change would alter the inte

Re: [Xenomai-core] rt_heap in userspace, heapsize [patch]

2006-01-31 Thread Philippe Gerum
Stefan Kisdaroczi wrote: Hi again, I looked at the sources now... Am Tuesday 17 January 2006 14:57 schrieb Stefan Kisdaroczi: Hi, I made a small test with rt_heap_ in userspace, i think I understood the actual limitations of the userspace support. I used 1 as heapsize. Xenomai 2.1-RC2/x8

Re: [Xenomai-core] [PATCH] rt_heap reminder

2006-01-31 Thread Philippe Gerum
Hi, Stefan Kisdaroczi wrote: Hi all, as a reminder (userspace, native skin, shared heap) [1]: API documentation: "If the heap is shared, this value can be either zero, or the same value given to rt_heap_create()." This is not true. As the heapsize gets altered in rt_heap_create for page size

Re: [Xenomai-core] [patch] factoring arithmetic routines.

2006-01-31 Thread Philippe Gerum
Gilles Chanteperdrix wrote: Gilles Chanteperdrix wrote: > > Hi, > > For your review, here is an attempt to factor arithmetic routines in > asm-generic/hal.h. And with the blackfin architecture... Applied, thanks. ---

Re: [Xenomai-core] [PATCH] merge powerpc fpu.S and fpu_64.S

2006-01-31 Thread Philippe Gerum
Heikki Lindholm wrote: Currently the two powerpc fpu*.S assembly sections are so similar that there's really no need for two of them. Merge them into a common fpu.S. Tested on a G5. Applied, thanks. -- Heikki Lindholm --

Re: [Xenomai-core] Re: [PATCH] Shared irqs v.5

2006-01-31 Thread Philippe Gerum
Jan Kiszka wrote: Dmitry Adamushko wrote: To achieve this, 1) xnintr_t should be extended with a "name" field; 2) rt_intr_create() should contain a "name" argument and not use auto-generation (as "irqN") any more. Ok, sounds reasonable. This said, since this change would alter the inte

Re: [Xenomai-core] [BUG] racy xnshadow_harden under CONFIG_PREEMPT

2006-01-31 Thread Philippe Gerum
Jan Kiszka wrote: Philippe Gerum wrote: Philippe Gerum wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jeroen Van den Keybus wrote: Hello, I'm currently not at a level to participate in your discussion. Although I'm willing to supply you with stresstests, I would neverthele