From: Philippe Gerum <rpm@xenomai.org>
To: Wolfgang Grandegger <wg@domain.hid>
Cc: Jan Kiszka <jan.kiszka@domain.hid>, xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [PATCH] Adeos support for 2.6.18 merged PowerPC architecture.
Date: Wed, 06 Dec 2006 12:46:44 +0100 [thread overview]
Message-ID: <1165405604.7218.109.camel@domain.hid> (raw)
In-Reply-To: <4575AE62.8000403@domain.hid>
On Tue, 2006-12-05 at 18:37 +0100, Wolfgang Grandegger wrote:
> Jan Kiszka wrote:
> > Wolfgang Grandegger wrote:
> >> Benjamin Zores wrote:
> >>> On Tue, 05 Dec 2006 11:17:07 +0100
> >>> Wolfgang Grandegger <wg@domain.hid> wrote:
> >>>
> >>>> I have now a preliminary patch for adeos-ipipe-2.6.19-ppc-1.5-00. The
> >>>> porting was rather straight-forward, as the ppc tree does not use the
> >>>> new "genirq" interface, in contrast to the powerpc tree (that's what
> >>>> you have realized as well).
> >>> Well, i guess the old "ppc" arch is bound to die sooner or later.
> >>> New developments should always be done against "powerpc" arch imho.
> >> Well, the powerpc tree is still highly experimental and only a few
> >> embedded boards are already supported. I guess it will take a long time
> >> before the ppc tree finally gets buried, especially because porting is
> >> not really trivial (due to OF, IRQ layer, etc.),
> >>
> >>>> Therefore the port of the powerpc tree should be based on Philippe's
> >>>> new adeos-ipipe-2.6.19-i386-1.6-00. Unfortunately, I still do not
> >>>> have a board by hand supported by the powerpc tree.
> >>> I haven't had much much time investigating the problem till now.
> >>> But from what i've seen from Philippe's splitted patches, many of them
> >>> that were supposed to be generic (i.e. don't have i386 in their name)
> >>> still have references to x86 changes.
> >>> Is it a normal behavior ?
> >> Unfortunately, "generic" applies only to the Linux part. I realized,
> >> that the new IPIPE support for the genirqs requires even more
> >> arch-specific modifications than the old interface :-( on PowerPC.
> >
> > How comes? I haven't found time to analyse this for the latest x86
> > patch, but there it should be "more generic" than before. Do you think
> > this is a genirq issue or an I-pipe problem?
>
> Well, it's nothing serious and we should discuss this issue in a
> separated thread. I just wanted to have a closer look to the new port
> before asking. At a first glance I saw that the irq_chip structure has
> two new elements, ipipe_ack and ipipe_eoi. This requires patching of
> every PIC interface. There are a few for x86 but plenty for PowerPC.
> Philippe, is this really necessary? I would prefer the old style using
> "#ifndef CONFIG_IPIPE" around the "chip->ack" in common code.
As just replied to Jan, this is a matter of the arch maintainer's taste.
If you ask me, I would see no issue changing kernel/irq/chip.c on a
per-port basis, for implementing the best/safest approach. Changes in
the I-pipe core layer are not likely to happen there, anyway, so I don't
see any maintenance hell showing up because we fork the implementation
there.
>
> Wolfgang,
>
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core
--
Philippe.
next prev parent reply other threads:[~2006-12-06 11:46 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-24 9:53 [Xenomai-core] [PATCH] Adeos support for 2.6.18 merged PowerPC architecture Benjamin Zores
2006-11-24 10:13 ` Wolfgang Grandegger
[not found] ` <20061124113009.08c0a490.benjamin.zores@domain.hid>
2006-11-26 19:10 ` Wolfgang Grandegger
2006-11-26 19:22 ` Wolfgang Grandegger
2006-11-27 8:21 ` Benjamin Zores
2006-11-27 11:21 ` Wolfgang Grandegger
2006-11-27 11:54 ` Benjamin Zores
2006-11-27 12:11 ` Wolfgang Grandegger
2006-11-30 12:37 ` Benjamin Zores
2006-11-30 13:19 ` Jan Kiszka
2006-11-30 14:59 ` Wolfgang Grandegger
2006-11-30 15:08 ` Jan Kiszka
2006-11-30 18:06 ` Paul
2006-12-01 10:31 ` Jan Kiszka
2006-12-01 22:46 ` Philippe Gerum
2006-12-01 23:14 ` Philippe Gerum
2006-12-02 9:36 ` Wolfgang Grandegger
2006-12-02 16:58 ` Philippe Gerum
2006-12-02 17:37 ` Wolfgang Grandegger
2006-12-02 17:42 ` Philippe Gerum
2006-12-02 17:59 ` Jan Kiszka
2006-12-02 23:32 ` [Xenomai-core] I-pipe git trees Philippe Gerum
2006-12-03 14:12 ` [Xenomai-core] " Jan Kiszka
2006-11-30 15:04 ` [Xenomai-core] [PATCH] Adeos support for 2.6.18 merged PowerPC architecture Wolfgang Grandegger
2006-12-05 10:17 ` Wolfgang Grandegger
2006-12-05 12:35 ` Benjamin Zores
2006-12-05 13:09 ` Wolfgang Grandegger
2006-12-05 13:08 ` Benjamin Zores
2006-12-05 17:41 ` Wolfgang Grandegger
2006-12-05 13:59 ` Jan Kiszka
2006-12-05 17:37 ` Wolfgang Grandegger
2006-12-06 11:46 ` Philippe Gerum [this message]
2006-12-07 8:43 ` Wolfgang Grandegger
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=1165405604.7218.109.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=jan.kiszka@domain.hid \
--cc=wg@domain.hid \
--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.