Subject: Re: [I-PIPE] ipipe-core-4.14.89-x86-2 released References: <1368965303.3936165.1545600892860@mail.yahoo.com> <91ae88c0-4fb5-9e98-e08b-669ffe607bd1@xenomai.org> <7d356b91-90bb-ddd1-30a4-9b52ac362e62@web.de> <123395f3-a80e-c883-3fea-f3a6a5c39ed5@siemens.com> From: Philippe Gerum Message-ID: <5051b042-b2c2-ecee-e3ef-c4457e6663c2@xenomai.org> Date: Mon, 28 Jan 2019 16:31:25 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka , Alec Ari , "xenomai@xenomai.org" , Henning Schild On 1/28/19 4:18 PM, Philippe Gerum via Xenomai wrote: > On 1/28/19 12:22 PM, Jan Kiszka wrote: >> On 27.12.18 17:17, Jan Kiszka via Xenomai wrote: >>> On 24.12.18 11:06, Philippe Gerum via Xenomai wrote: >>>> On 12/23/18 10:34 PM, Alec Ari via Xenomai wrote: >>>>> 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. >>>> >>> >>> 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? >> > > 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. > 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 + -- Philippe.