All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: Bruce Ashfield <bruce.ashfield@gmail.com>,
	Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/2] kernel: Add optional patch_xenomai task
Date: Sun, 7 Jan 2018 19:57:45 +0100	[thread overview]
Message-ID: <5ba2da95-dbe0-b65b-e2e9-8e8fff030d96@denx.de> (raw)
In-Reply-To: <CADkTA4OQNJWyMn8tj7m8nEOjeH4M5V729uU+OBerKe5V+ns2VA@mail.gmail.com>

On 01/07/2018 07:55 PM, Bruce Ashfield wrote:
> On Sun, Jan 7, 2018 at 1:49 PM, Marek Vasut <marex@denx.de> wrote:
>> On 01/07/2018 06:55 PM, Bruce Ashfield wrote:
>>> On Sun, Jan 7, 2018 at 12:53 PM, Marek Vasut <marex@denx.de> wrote:
>>>> On 01/07/2018 05:42 PM, Bruce Ashfield wrote:
>>>>> On Sun, Jan 7, 2018 at 11:38 AM, Marek Vasut <marex@denx.de> wrote:
>>>>>> On 01/07/2018 05:37 PM, Bruce Ashfield wrote:
>>>>>>> On Sun, Jan 7, 2018 at 11:19 AM, Marek Vasut <marex@denx.de> wrote:
>>>>>>>> Add additional task, do_patch_xenomai, inserted between do_patch and
>>>>>>>> do_configure tasks. This task applies the cobalt patch to the kernel
>>>>>>>> sources for a specific machine. This is disabled by default, so use
>>>>>>>> PACKAGECONFIG[xenomai] of the kernel package to enable the patching.
>>>>>>>>
>>>>>>>> You will also need a kernel recipe for a kernel version with ipipe
>>>>>>>> patch applied.
>>>>>>>
>>>>>>> This doesn't make any sense to me.
>>>>>>>
>>>>>>> Why on earth would this be in kernel.bbclass ? and part of a xenomai
>>>>>>> recipe ?
>>>>>> Do you have a better suggestion how to make this easily available for
>>>>>> every kernel recipe ?
>>>>>
>>>>> There's no need to make it available for every kernel recipe. If someone
>>>>> wants to build xenomai, they need to have a specific kernel recipe and
>>>>> configuration to make it work. By providing that patch and allowing it to
>>>>> be applied to any kernel doesn't mean it will actually work .. so you aren't
>>>>> doing anyone any favours.
>>>>>
>>>>> The same thing could be said for the -rt patch, aufs, etc, any patch could
>>>>> be made available for any kernel, but they aren't, since they will either fail
>>>>> to patch, or won't work at runtime.
>>>> We actually have a -rt patch available in the kernel recipes, so why not
>>>> xenomai patch ?
>>>
>>> As a separate recipe, not as something in a common bbclass, which implies
>>> that it applies and works everywhere.
>>>
>>> Anyone that is trying to apply -rt against a generic kernel .. is very mistaken.
>>
>> So I should pull this into linux-*-xenomai , just like the rt patch does?
> 
> Yep.
> 
> But how it is maintained is a RP question, oe-core has a set of reference kernel
> versions, and those reference kernels have a similar set of functionality across
> architectures, are actively maintained and all get the same fixes at
> the same time.
> 
> (and I just realized that RP isn't copied on this thread anymore, so I'm adding
> him).
> 
> If we introduce something like this, I'd argue that it needs to follow the same
> kernel versions to be consistent with the other oe-core references.
> 
> That is a question for the steering committee and the architecture mailing list.
> 
> So while that happens, why not just put this in a meta-xenomai for the time
> being and once all the details have been hammered out, it could merge.
That's fine by me, although the main feedback I'm currently interested
in is whether this has any chance of getting included in oe-core and if
there are some other big issues with this .

-- 
Best regards,
Marek Vasut


  reply	other threads:[~2018-01-07 18:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-07 16:19 [PATCH 1/2] xenomai: Add xenomai recipe Marek Vasut
2018-01-07 16:19 ` [PATCH 2/2] kernel: Add optional patch_xenomai task Marek Vasut
2018-01-07 16:37   ` Bruce Ashfield
2018-01-07 16:38     ` Marek Vasut
2018-01-07 16:42       ` Bruce Ashfield
2018-01-07 16:51         ` Bruce Ashfield
2018-01-07 17:53         ` Marek Vasut
2018-01-07 17:55           ` Bruce Ashfield
2018-01-07 18:49             ` Marek Vasut
2018-01-07 18:55               ` Bruce Ashfield
2018-01-07 18:57                 ` Marek Vasut [this message]
2018-01-07 19:00                   ` Bruce Ashfield
2018-01-07 19:38                     ` Marek Vasut
2018-01-08  1:32                   ` akuster808
2018-01-07 17:17 ` [PATCH 1/2] xenomai: Add xenomai recipe Alexander Kanavin
2018-01-07 17:55   ` Marek Vasut
2018-01-07 19:27     ` Alexander Kanavin
2018-01-07 19:37       ` Marek Vasut

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=5ba2da95-dbe0-b65b-e2e9-8e8fff030d96@denx.de \
    --to=marex@denx.de \
    --cc=bruce.ashfield@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=richard.purdie@linuxfoundation.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.