All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Matteo Facchinetti <matteo.facchinetti@sirius-es.it>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Backport Xenomai-26 to Linux 2.6.29.1
Date: Fri, 08 Feb 2013 10:02:59 +0100	[thread overview]
Message-ID: <5114BF43.4010808@xenomai.org> (raw)
In-Reply-To: <5114BE02.6040901@sirius-es.it>

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.


  reply	other threads:[~2013-02-08  9:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08  8:57 [Xenomai] Backport Xenomai-26 to Linux 2.6.29.1 Matteo Facchinetti
2013-02-08  9:02 ` Philippe Gerum [this message]
2013-02-08  9:04   ` Philippe Gerum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5114BF43.4010808@xenomai.org \
    --to=rpm@xenomai.org \
    --cc=matteo.facchinetti@sirius-es.it \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.