Skip to contentSkip to conversation

ipipe-core-4.14.89-x86-2 released

I-PIPE [email protected] 5 participants 10 messages Dec 21, 2018 – Jan 28, 2019

lore
Share & tools
lore
#1 lore raw

Hello,

I'm not sure if the patch generator was believed to be fixed yet or not, but files for other arches (arch/arm/include/asm/arch_timer.h) are still included. If this still being worked on, disregard this message.

Alec

#2 lore raw
Quoted 6 lines · Alec Ari via Xenomai

Hello,

I'm not sure if the patch generator was believed to be fixed yet or not, but files for other arches (arch/arm/include/asm/arch_timer.h) are still included. If this still being worked on, disregard this message.

The upstream tree at https://gitlab.denx.de/Xenomai/ipipe-x86 still exports I-pipe bits for multiple architectures (at least for x86 and arm) but does not include scripts/ipipe/genpatches.sh, so the generator does a plain diff, assuming a single-arch tree.

The ARM bits are likely left-overs and should be dropped to fix the tree.

Signature · 1 line
Philippe.
#3 lore raw
Quoted 8 lines · Philippe Gerum via Xenomai
Quoted 6 lines · Alec Ari via Xenomai

Hello,

I'm not sure if the patch generator was believed to be fixed yet or not, but files for other arches (arch/arm/include/asm/arch_timer.h) are still included. If this still being worked on, disregard this message.

Quoted 7 lines

The upstream tree at https://gitlab.denx.de/Xenomai/ipipe-x86 still exports I-pipe bits for multiple architectures (at least for x86 and arm) but does not include scripts/ipipe/genpatches.sh, so the generator does a plain diff, assuming a single-arch tree.

The ARM bits are likely left-overs and should be dropped to fix the tree.

Going through the commits, it seems we have a couple of ARM-only driver and timer patches in the x86 tree but no general ARM enabling. Those should be removed, indeed.

Jan

#4 lore raw
Quoted 14 lines · Jan Kiszka via Xenomai
Quoted 13 lines · Philippe Gerum via Xenomai
Quoted 6 lines · Alec Ari via Xenomai

Hello,

I'm not sure if the patch generator was believed to be fixed yet or not, but files for other arches (arch/arm/include/asm/arch_timer.h) are still included. If this still being worked on, disregard this message.

The upstream tree at https://gitlab.denx.de/Xenomai/ipipe-x86 still exports I-pipe bits for multiple architectures (at least for x86 and arm) but does not include scripts/ipipe/genpatches.sh, so the generator does a plain diff, assuming a single-arch tree.

Quoted 4 lines
Quoted 2 lines

The ARM bits are likely left-overs and should be dropped to fix the tree.

Going through the commits, it seems we have a couple of ARM-only driver and timer patches in the x86 tree but no general ARM enabling. Those should be removed, indeed.

In fact, the problem is imported from ipipe-noarch: There are many ARM-related driver changes that, strictly spoken, do not belong into the noarch tree. Some touch arch/arm, others just change drivers that are practically ARM-only.

Philippe, do we want to remove those commits from noarch and add them to ARM? Or should we filter out arch-unrelated diffs when generating the patches?

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
#5 lore raw
Quoted 26 lines · Jan Kiszka
Quoted 17 lines · Jan Kiszka via Xenomai
Quoted 16 lines · Philippe Gerum via Xenomai
Quoted 9 lines · Alec Ari via Xenomai

Hello,

I'm not sure if the patch generator was believed to be fixed yet or not, but files for other arches (arch/arm/include/asm/arch_timer.h) are still included. If this still being worked on, disregard this message.

The upstream tree at https://gitlab.denx.de/Xenomai/ipipe-x86 still exports I-pipe bits for multiple architectures (at least for x86 and arm) but does not include scripts/ipipe/genpatches.sh, so the generator does a plain diff, assuming a single-arch tree.

Quoted 7 lines
Quoted 3 lines

The ARM bits are likely left-overs and should be dropped to fix the tree.

Going through the commits, it seems we have a couple of ARM-only driver and timer patches in the x86 tree but no general ARM enabling. Those should be removed, indeed.

Quoted 9 lines

In fact, the problem is imported from ipipe-noarch: There are many ARM-related driver changes that, strictly spoken, do not belong into the noarch tree. Some touch arch/arm, others just change drivers that are practically ARM-only.

Philippe, do we want to remove those commits from noarch and add them to ARM? Or should we filter out arch-unrelated diffs when generating the patches?

The drivers you mention are shared between different archs (several arm/ drivers are used by arm64) so instead of maintaining multiple copies, all these drivers have been merged into noarch eventually.

This is a patch generation issue for kernel series 4.14+, the easiest way may be to provide an exclude file to the generator on a per-arch basis. A filter rule excluding arm/ for anything but arm and arm64 should be enough. I'll have a look at this.

Please note that this does not apply to pre-4.14 trees; those should provide scripts/ipipe/genpatches.sh as the legacy I-pipe series normally does, which should filter contents appropriately.

Signature · 1 line
Philippe.
#6 lore raw
Quoted 41 lines · Philippe Gerum via Xenomai
Quoted 26 lines · Jan Kiszka
Quoted 17 lines · Jan Kiszka via Xenomai
Quoted 16 lines · Philippe Gerum via Xenomai
Quoted 9 lines · Alec Ari via Xenomai

Hello,

I'm not sure if the patch generator was believed to be fixed yet or not, but files for other arches (arch/arm/include/asm/arch_timer.h) are still included. If this still being worked on, disregard this message.

The upstream tree at https://gitlab.denx.de/Xenomai/ipipe-x86 still exports I-pipe bits for multiple architectures (at least for x86 and arm) but does not include scripts/ipipe/genpatches.sh, so the generator does a plain diff, assuming a single-arch tree.

Quoted 7 lines
Quoted 3 lines

The ARM bits are likely left-overs and should be dropped to fix the tree.

Going through the commits, it seems we have a couple of ARM-only driver and timer patches in the x86 tree but no general ARM enabling. Those should be removed, indeed.

Quoted 9 lines

In fact, the problem is imported from ipipe-noarch: There are many ARM-related driver changes that, strictly spoken, do not belong into the noarch tree. Some touch arch/arm, others just change drivers that are practically ARM-only.

Philippe, do we want to remove those commits from noarch and add them to ARM? Or should we filter out arch-unrelated diffs when generating the patches?

The drivers you mention are shared between different archs (several arm/ drivers are used by arm64) so instead of maintaining multiple copies, all these drivers have been merged into noarch eventually.

Quoted 9 lines

This is a patch generation issue for kernel series 4.14+, the easiest way may be to provide an exclude file to the generator on a per-arch basis. A filter rule excluding arm/ for anything but arm and arm64 should be enough. I'll have a look at this.

Please note that this does not apply to pre-4.14 trees; those should provide scripts/ipipe/genpatches.sh as the legacy I-pipe series normally does, which should filter contents appropriately.

Those files should not be part of noarch though:

 arch/arm/mach-imx/mach-imx51.c            |    5 +
 arch/arm/mach-imx/mach-imx53.c            |    5 +
 arch/arm/plat-omap/dmtimer.c              |   17 +-
 arch/arm/plat-omap/include/plat/dmtimer.h |    6 +
Signature · 1 line
Philippe.
#7 lore raw
Quoted 52 lines · Philippe Gerum
Quoted 41 lines · Philippe Gerum via Xenomai
Quoted 26 lines · Jan Kiszka
Quoted 17 lines · Jan Kiszka via Xenomai
Quoted 16 lines · Philippe Gerum via Xenomai
Quoted 9 lines · Alec Ari via Xenomai

Hello,

I'm not sure if the patch generator was believed to be fixed yet or not, but files for other arches (arch/arm/include/asm/arch_timer.h) are still included. If this still being worked on, disregard this message.

The upstream tree at https://gitlab.denx.de/Xenomai/ipipe-x86 still exports I-pipe bits for multiple architectures (at least for x86 and arm) but does not include scripts/ipipe/genpatches.sh, so the generator does a plain diff, assuming a single-arch tree.

Quoted 7 lines
Quoted 3 lines

The ARM bits are likely left-overs and should be dropped to fix the tree.

Going through the commits, it seems we have a couple of ARM-only driver and timer patches in the x86 tree but no general ARM enabling. Those should be removed, indeed.

Quoted 9 lines

In fact, the problem is imported from ipipe-noarch: There are many ARM-related driver changes that, strictly spoken, do not belong into the noarch tree. Some touch arch/arm, others just change drivers that are practically ARM-only.

Philippe, do we want to remove those commits from noarch and add them to ARM? Or should we filter out arch-unrelated diffs when generating the patches?

The drivers you mention are shared between different archs (several arm/ drivers are used by arm64) so instead of maintaining multiple copies, all these drivers have been merged into noarch eventually.

Quoted 9 lines

This is a patch generation issue for kernel series 4.14+, the easiest way may be to provide an exclude file to the generator on a per-arch basis. A filter rule excluding arm/ for anything but arm and arm64 should be enough. I'll have a look at this.

Please note that this does not apply to pre-4.14 trees; those should provide scripts/ipipe/genpatches.sh as the legacy I-pipe series normally does, which should filter contents appropriately.

Quoted 7 lines

Those files should not be part of noarch though:

  arch/arm/mach-imx/mach-imx51.c            |    5 +
  arch/arm/mach-imx/mach-imx53.c            |    5 +
  arch/arm/plat-omap/dmtimer.c              |   17 +-
  arch/arm/plat-omap/include/plat/dmtimer.h |    6 +

So these three should go:

a1edb318ad047d0582de66482efa3b76b30b6e1a
09cafa0ee6b1547133eee438c37c8703e70a88d1
5fc1baae9cc27adc771c67aee131993612e88ff2

There is also 9f33ef39090f5f100f056e208733fef2e02bd373, which also contains a "FIXME" in the commit log.

If we get rid of these, there will be no further need for filtering of arch/.

Jan

Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
#8 lore raw
Quoted 70 lines · Jan Kiszka
Quoted 55 lines · Philippe Gerum
Quoted 44 lines · Philippe Gerum via Xenomai
Quoted 33 lines · Jan Kiszka
Quoted 18 lines · Jan Kiszka via Xenomai
Quoted 17 lines · Philippe Gerum via Xenomai
Quoted 9 lines · Alec Ari via Xenomai

Hello,

I'm not sure if the patch generator was believed to be fixed yet or not, but files for other arches (arch/arm/include/asm/arch_timer.h) are still included. If this still being worked on, disregard this message.

The upstream tree at https://gitlab.denx.de/Xenomai/ipipe-x86 still exports I-pipe bits for multiple architectures (at least for x86 and arm) but does not include scripts/ipipe/genpatches.sh, so the generator
does a plain diff, assuming a single-arch tree.

Quoted 7 lines
Quoted 3 lines

The ARM bits are likely left-overs and should be dropped to fix the tree.

Going through the commits, it seems we have a couple of ARM-only driver and timer patches in the x86 tree but no general ARM enabling. Those should be removed, indeed.

In fact, the problem is imported from ipipe-noarch: There are many ARM-related driver changes that, strictly spoken, do not belong into the
noarch tree. Some touch arch/arm, others just change drivers that are practically ARM-only.

Quoted 5 lines

Philippe, do we want to remove those commits from noarch and add them to
ARM? Or should we filter out arch-unrelated diffs when generating the patches?

The drivers you mention are shared between different archs (several arm/ drivers are used by arm64) so instead of maintaining multiple copies, all these drivers have  been merged into noarch eventually.

Quoted 9 lines

This is a patch generation issue for kernel series 4.14+, the easiest way may be to provide an exclude file to the generator on a per-arch basis. A filter rule excluding arm/ for anything but arm and arm64 should be enough. I'll have a look at this.

Please note that this does not apply to pre-4.14 trees; those should provide scripts/ipipe/genpatches.sh as the legacy I-pipe series normally does, which should filter contents appropriately.

Quoted 7 lines

Those files should not be part of noarch though:

  arch/arm/mach-imx/mach-imx51.c            |    5 + arch/arm/mach-imx/mach-imx53.c            |    5 + arch/arm/plat-omap/dmtimer.c              |   17 +- arch/arm/plat-omap/include/plat/dmtimer.h |    6 +

So these three should go:

a1edb318ad047d0582de66482efa3b76b30b6e1a
09cafa0ee6b1547133eee438c37c8703e70a88d1
5fc1baae9cc27adc771c67aee131993612e88ff2

Quoted 6 lines

There is also 9f33ef39090f5f100f056e208733fef2e02bd373, which also contains a "FIXME" in the commit log.

If we get rid of these, there will be no further need for filtering of arch/.

Actually, after a second look, if the idea is to strip anything an arch does not use, there are many more commits to drop from arm64 and other archs. Most of them live in drivers/irqchip and drivers/clocksource. Either we go for a manifest of files to include, or an exclude filter. genpatches.sh used to build the former dynamically, maybe this has to be reinstated for 4.14+ eventually.

Signature · 1 line
Philippe.
#9 lore raw
In reply to Jan Kiszka
Quoted 64 lines · Jan Kiszka
Quoted 55 lines · Philippe Gerum
Quoted 44 lines · Philippe Gerum via Xenomai
Quoted 33 lines · Jan Kiszka
Quoted 18 lines · Jan Kiszka via Xenomai
Quoted 17 lines · Philippe Gerum via Xenomai
Quoted 9 lines · Alec Ari via Xenomai

Hello,

I'm not sure if the patch generator was believed to be fixed yet or not, but files for other arches (arch/arm/include/asm/arch_timer.h) are still included. If this still being worked on, disregard this message.

The upstream tree at https://gitlab.denx.de/Xenomai/ipipe-x86 still exports I-pipe bits for multiple architectures (at least for x86 and arm) but does not include scripts/ipipe/genpatches.sh, so the generator
does a plain diff, assuming a single-arch tree.

Quoted 7 lines
Quoted 3 lines

The ARM bits are likely left-overs and should be dropped to fix the tree.

Going through the commits, it seems we have a couple of ARM-only driver and timer patches in the x86 tree but no general ARM enabling. Those should be removed, indeed.

In fact, the problem is imported from ipipe-noarch: There are many ARM-related driver changes that, strictly spoken, do not belong into the
noarch tree. Some touch arch/arm, others just change drivers that are practically ARM-only.

Quoted 5 lines

Philippe, do we want to remove those commits from noarch and add them to
ARM? Or should we filter out arch-unrelated diffs when generating the patches?

The drivers you mention are shared between different archs (several arm/ drivers are used by arm64) so instead of maintaining multiple copies, all these drivers have  been merged into noarch eventually.

Quoted 9 lines

This is a patch generation issue for kernel series 4.14+, the easiest way may be to provide an exclude file to the generator on a per-arch basis. A filter rule excluding arm/ for anything but arm and arm64 should be enough. I'll have a look at this.

Please note that this does not apply to pre-4.14 trees; those should provide scripts/ipipe/genpatches.sh as the legacy I-pipe series normally does, which should filter contents appropriately.

Quoted 7 lines

Those files should not be part of noarch though:

  arch/arm/mach-imx/mach-imx51.c            |    5 + arch/arm/mach-imx/mach-imx53.c            |    5 + arch/arm/plat-omap/dmtimer.c              |   17 +- arch/arm/plat-omap/include/plat/dmtimer.h |    6 +

Quoted 9 lines

So these three should go:

a1edb318ad047d0582de66482efa3b76b30b6e1a
09cafa0ee6b1547133eee438c37c8703e70a88d1
5fc1baae9cc27adc771c67aee131993612e88ff2

There is also 9f33ef39090f5f100f056e208733fef2e02bd373, which also contains a "FIXME" in the commit log.

This is a timer vs clocksource split for arm, this won't impact your architecture.

Signature · 1 line
Philippe.