All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@domain.hid>
To: Benjamin Zores <benjamin.zores@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [PATCH] Adeos support for 2.6.18 merged PowerPC architecture.
Date: Sun, 26 Nov 2006 20:10:17 +0100	[thread overview]
Message-ID: <4569E699.6050003@domain.hid> (raw)
In-Reply-To: <20061124113009.08c0a490.benjamin.zores@domain.hid>

Benjamin Zores wrote:
> On Fri, 24 Nov 2006 11:13:03 +0100
> Wolfgang Grandegger <wg@domain.hid> wrote:
> 
>> Yes, the PowerPC tree is not yet supported.
> 
> Yes but as i need it now i've decided to port it ;-)
> Or at least of a try.

Good, :-)

>> You might have realized my hack to get ride of radix-tree.h for the ppc 
>> tree.
> 
> Actually not, have some patch ?

For the ppc tree, I have added

   #ifdef CONFIG_PPC_MERGE
   #include <linux/radix-tree.h>
   #endif

to include/powerpc/irq.h to get rid of the trouble with radix-tree.h.

>> What defconfig do you use? Unfortunately I do not have a board by hand 
>> supported by the PowerPC tree.
> 
> mpc834x_itx_defconfig

I briefly reviewed your patch. At a first glance, it looks OK, but it is 
not yet complete and it does not compile. Quickly, I spotted the 
following problems:

- NR_IRQS is not defined. This is a problem with the include weirdness 
due to radix-tree.h, IIRC. It is set to 512 for all PowerPC archs, puh, 
that's overkill (but not our problem for the time being).

_ipipe_grab_irq(): special IRQ numbers have changed. Check for 
NO_IRQ_IGNORE in the attached patch. Also the new IRQ handling needs a 
more detailed review (check irq.c in the powerpc tree).

- disarm_decr[] has disappeared. It was used to disable the programming 
of the decrementer in arch/ppc/kernel/time.c:timer_interrupt(). It needs 
an appropriate replacement in the powerpc tree. A quick, untested hack 
is in the attached patch.

There might be more issues.

We should also avoid code duplication of IPIPE files, but that's 
something I will fix later-on.

Hope this helps you to get a bit further (kernel booted).

Wolfgang.



  parent reply	other threads:[~2006-11-26 19:10 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 [this message]
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
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=4569E699.6050003@domain.hid \
    --to=wg@domain.hid \
    --cc=benjamin.zores@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.