All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] [RFC] x86 port to kernel 3.10
@ 2013-08-21  8:39 Jan Kiszka
  2013-08-21  8:44 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 17+ messages in thread
From: Jan Kiszka @ 2013-08-21  8:39 UTC (permalink / raw)
  To: Xenomai

Hi all,

in the process of updating our kernel support to current (and long-term)
stable 3.10, I've pushed the I-pipe master tree to that version. The
tree is available at

git://git.xenomai.org/ipipe-jki.git next-x86

Though the focus is on x86, this became a full merge, ie. I also tried
to resolve ARM and PowerPC conflicts (other archs had none). But I'm
sure I broke some things (or things were already broken after the 3.9
merge - there were suspicious unresolved conflicts). So these arch need
a careful check! Specifically watch out for merges that resolved
conflicts in their trees.

The reason for doing this full merge is that there were simply too many
merges into Linus' tree that touched x86 and other archs in the same
run. It made no sense to split them up, only pulling what affects x86.
And I guess this will also remain true in the future.

Instead of merging 3.10 in one run (like Philippe did with 3.9), I
applied the following script-driven algorithm (can share it if there is
interest): merge stepwise what went into Linus' tree, stop when there is
a conflict that requires manual actions. Go one commit back in Linus'
tree and merge this one first (to reduce the number of merges into the
I-pipe tree). Then merge the conflicting commit, resolve it manually and
resume the merges. The result looks like this:

late I-pipe fix-ups for 3.10
merge "3.10"
merge "commit B" <-- required manual conflict solving
merge "commit A" <-- merged without conflicts
...
I-pipe head for 3.8

The advantage of this pattern is that we get more bisection points in
case something subtly breaks between 3.8 and 3.10. The disadvantage is
that the I-pipe history becomes more complex than it already is. I only
did builds and tests after reaching 3.10 (therefore the later fix-ups).
This could still be improved by doing builds after each merge - but it
would extend the required time significantly. Please let me know your
opinion about this approach and how to improve it further.

To test the current state, a few Xenomai patches are required. Find the
basic set at

git://git.xenomai.org/xenomai-jki.git for-upstream

This currently leaves CAN and Analogy broken due to procfs changes.
Maybe I'll be able to look into them later. RTnet will need a massive
update, too.

Feedback, test reports etc. are welcome!

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-08-27 13:31 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-21  8:39 [Xenomai] [RFC] x86 port to kernel 3.10 Jan Kiszka
2013-08-21  8:44 ` Gilles Chanteperdrix
2013-08-21  8:47   ` Jan Kiszka
2013-08-21  8:54     ` Jan Kiszka
2013-08-21 11:32       ` Gilles Chanteperdrix
2013-08-21 11:46         ` Jan Kiszka
2013-08-21 11:49           ` Gilles Chanteperdrix
2013-08-21 11:53             ` Jan Kiszka
2013-08-21 11:58               ` Gilles Chanteperdrix
2013-08-21 13:39                 ` Jan Kiszka
2013-08-21 18:23                   ` Gilles Chanteperdrix
2013-08-22  7:46                     ` Jan Kiszka
2013-08-22  9:37                       ` Gilles Chanteperdrix
2013-08-22 16:49                         ` Jan Kiszka
2013-08-27 13:31                           ` Jan Kiszka
2013-08-24  7:29                   ` John Morris
2013-08-24  7:43                     ` Jan Kiszka

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.