* [Xenomai] Backport Xenomai-26 to Linux 2.6.29.1
@ 2013-02-08 8:57 Matteo Facchinetti
2013-02-08 9:02 ` Philippe Gerum
0 siblings, 1 reply; 3+ messages in thread
From: Matteo Facchinetti @ 2013-02-08 8:57 UTC (permalink / raw)
To: xenomai
Hi,
We decided to try to backport the
adeos-ipipe-2.6.36.4-powerpc-2.12-05.patch against the Linux 2.6.29.1
kernel but we encountered problems with spinlock handling:
In the 2.6.29 kernel, we found some differences about spinlock
structures hierarchy. In detail at kernel side we have only
raw_spinlock_t and spinlock_t but xenomai (ipipe_lock.h) uses
arch_spinlock_t, raw_spinlock_t and spinlock_t.
Those differences will force us to heavily modify the spinlock handling
in the xenomai patch, deleting a layer and replacing arch_spinlock_t
with raw_spinlock_t and raw_spinlock_t with spinlock_t.
Is there an old patch file that contains spinlock handling compliant
with 2.6.29.1 kernel and xenomai 2.6?
Regards,
Matteo Facchinetti
Sirius Electronic Systems
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai] Backport Xenomai-26 to Linux 2.6.29.1
2013-02-08 8:57 [Xenomai] Backport Xenomai-26 to Linux 2.6.29.1 Matteo Facchinetti
@ 2013-02-08 9:02 ` Philippe Gerum
2013-02-08 9:04 ` Philippe Gerum
0 siblings, 1 reply; 3+ messages in thread
From: Philippe Gerum @ 2013-02-08 9:02 UTC (permalink / raw)
To: Matteo Facchinetti; +Cc: xenomai
On 02/08/2013 09:57 AM, Matteo Facchinetti wrote:
> Hi,
>
> We decided to try to backport the
> adeos-ipipe-2.6.36.4-powerpc-2.12-05.patch against the Linux 2.6.29.1
> kernel but we encountered problems with spinlock handling:
>
> In the 2.6.29 kernel, we found some differences about spinlock
> structures hierarchy. In detail at kernel side we have only
> raw_spinlock_t and spinlock_t but xenomai (ipipe_lock.h) uses
> arch_spinlock_t, raw_spinlock_t and spinlock_t.
> Those differences will force us to heavily modify the spinlock handling
> in the xenomai patch, deleting a layer and replacing arch_spinlock_t
> with raw_spinlock_t and raw_spinlock_t with spinlock_t.
>
> Is there an old patch file that contains spinlock handling compliant
> with 2.6.29.1 kernel and xenomai 2.6?
>
This is clearly an area of the I-pipe code you should NOT backport, at
all. You should keep the one avail with 2.6.29.1, and fix up the
generic/arch-dep portions of the pipeline code accordingly.
--
Philippe.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai] Backport Xenomai-26 to Linux 2.6.29.1
2013-02-08 9:02 ` Philippe Gerum
@ 2013-02-08 9:04 ` Philippe Gerum
0 siblings, 0 replies; 3+ messages in thread
From: Philippe Gerum @ 2013-02-08 9:04 UTC (permalink / raw)
To: Matteo Facchinetti; +Cc: xenomai
On 02/08/2013 10:02 AM, Philippe Gerum wrote:
> On 02/08/2013 09:57 AM, Matteo Facchinetti wrote:
>> Hi,
>>
>> We decided to try to backport the
>> adeos-ipipe-2.6.36.4-powerpc-2.12-05.patch against the Linux 2.6.29.1
>> kernel but we encountered problems with spinlock handling:
>>
>> In the 2.6.29 kernel, we found some differences about spinlock
>> structures hierarchy. In detail at kernel side we have only
>> raw_spinlock_t and spinlock_t but xenomai (ipipe_lock.h) uses
>> arch_spinlock_t, raw_spinlock_t and spinlock_t.
>> Those differences will force us to heavily modify the spinlock handling
>> in the xenomai patch, deleting a layer and replacing arch_spinlock_t
>> with raw_spinlock_t and raw_spinlock_t with spinlock_t.
>>
>> Is there an old patch file that contains spinlock handling compliant
>> with 2.6.29.1 kernel and xenomai 2.6?
>>
>
> This is clearly an area of the I-pipe code you should NOT backport, at
> all. You should keep the one avail with 2.6.29.1, and fix up the
> generic/arch-dep portions of the pipeline code accordingly.
>
>
In short, do not backport include/ipipe_lock.h.
--
Philippe.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-08 9:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-08 8:57 [Xenomai] Backport Xenomai-26 to Linux 2.6.29.1 Matteo Facchinetti
2013-02-08 9:02 ` Philippe Gerum
2013-02-08 9:04 ` Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.