Skip to contentSkip to conversation

Linux powerpc merger

Xenomai-core Heikki Lindholm 2 participants 4 messages Oct 10, 2005 – Oct 11, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

As people following powerpc kernel mailing lists probably know, the Linux "ppc" and "ppc64" architectures are merging into a single "powerpc" arch. I think the same should be done to fusion. It would seem quite easy and there's already lots of redundant code there, but possible problems arise from being able to work with both the old unmerged kernels and the future merged arch kernels. Is there any ideas regarding or work being done on this front?

-- Heikki Lindholm

#1 lore raw
Quoted 3 lines · Heikki Lindholm

Hello,

As people following powerpc kernel mailing lists probably know, the Linux "ppc" and "ppc64" architectures are merging into a single "powerpc" arch. I think the same should be done to fusion.

Agreed. Let's closely follow the "natural" development path of the kernel incarnations we use for our ports; especially when such path is sensible.

It would seem

Quoted 1 line

quite easy and there's already lots of redundant code there, but possible problems arise from being able to work with both the old unmerged kernels and the future merged arch kernels.

Would the issues be located at the Adeos level, or would this leak to Xeno's arch-dep layer?

Is there any ideas

Quoted 1 line

regarding or work being done on this front?

I plan to restart working on the I-pipe/ppc patch shortly, so that we can both upgrade the Adeos architecture and the kernel version available for Xeno's ppc port. Since most of the work has been done already, we should synchronize and start crafting a patch for the ppc* combo after the initial I-pipe/ppc one.

Signature · 1 line
Philippe.
#2 lore raw
Quoted 6 lines

It would seem

Quoted 1 line

quite easy and there's already lots of redundant code there, but possible problems arise from being able to work with both the old unmerged kernels and the future merged arch kernels.

Would the issues be located at the Adeos level, or would this leak to Xeno's arch-dep layer?

I suppose adeos level should go nicely with the kernel changes once they're in place; we can easily mimick the kernel techniques (#ifdefs) to tell which arch we're on. The issues would be with Xeno having to distinguish the kernel were building for. I'm quite sure putting all the Xenomai stuff under a common powerpc and having a few #ifdef __powerpc32/64__ won't be enough. Having SAID that, it probably will enough, though :)

-- Heikki Lindholm

#3 lore raw
In reply to Philippe Gerum

Philippe Gerum kirjoitti:

Quoted 14 lines
Quoted 3 lines · Heikki Lindholm

Hello,

As people following powerpc kernel mailing lists probably know, the Linux "ppc" and "ppc64" architectures are merging into a single "powerpc" arch. I think the same should be done to fusion.

Agreed. Let's closely follow the "natural" development path of the kernel incarnations we use for our ports; especially when such path is sensible.

It would seem

Quoted 1 line

quite easy and there's already lots of redundant code there, but possible problems arise from being able to work with both the old unmerged kernels and the future merged arch kernels.

Quoted 8 lines

Would the issues be located at the Adeos level, or would this leak to Xeno's arch-dep layer?

Is there any ideas

Quoted 1 line

regarding or work being done on this front?

I plan to restart working on the I-pipe/ppc patch shortly, so that we can both upgrade the Adeos architecture and the kernel version available for Xeno's ppc port. Since most of the work has been done already, we should synchronize and start crafting a patch for the ppc* combo after the initial I-pipe/ppc one.

We could actually start by proactively (ugh!) merging the Xenomai ppc and ppc64 dirs into one powerpc dir like the kernel folks do and see if we can get it to work with the current separate ppc/ppc64 patches. I actually had this in mind when I noticed how much code would be unchanged for the ppc64 arch, but decided to do it separately anyway in case something bigger would have surfaced later, which it seems it didn't.

-- Heikki Lindholm