[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABXOdTeT2ip1uS2EG2w8pW7254Tnd=ZDNz-KC61-G-yqDTVgJA@mail.gmail.com>
Date: Sat, 2 Mar 2024 14:10:51 -0800
From: Guenter Roeck <groeck@...gle.com>
To: Linus Torvalds <torvalds@...uxfoundation.org>
Cc: Nikolai Kondrashov <spbnick@...il.com>, Maxime Ripard <mripard@...nel.org>,
Helen Koike <helen.koike@...labora.com>, linuxtv-ci@...uxtv.org,
dave.pigott@...labora.com, linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-kselftest@...r.kernel.org,
gustavo.padovan@...labora.com, pawiecz@...labora.com,
tales.aparecida@...il.com, workflows@...r.kernel.org,
kernelci@...ts.linux.dev, skhan@...uxfoundation.org,
kunit-dev@...glegroups.com, nfraprado@...labora.com, davidgow@...gle.com,
cocci@...ia.fr, Julia.Lawall@...ia.fr, laura.nao@...labora.com,
ricardo.canuelo@...labora.com, kernel@...labora.com,
gregkh@...uxfoundation.org
Subject: Re: [PATCH 1/3] kci-gitlab: Introducing GitLab-CI Pipeline for Kernel Testing
On Thu, Feb 29, 2024 at 12:21 PM Linus Torvalds
<torvalds@...uxfoundation.org> wrote:
>
> On Thu, 29 Feb 2024 at 01:23, Nikolai Kondrashov <spbnick@...il.com> wrote:
> >
> > However, I think a better approach would be *not* to add the .gitlab-ciyaml
> > file in the root of the source tree, but instead change the very same repo
> > setting to point to a particular entry YAML, *inside* the repo (somewhere
> > under "ci" directory) instead.
>
> I really don't want some kind of top-level CI for the base kernel project.
>
> We already have the situation that the drm people have their own ci
> model. II'm ok with that, partly because then at least the maintainers
> of that subsystem can agree on the rules for that one subsystem.
>
> I'm not at all interested in having something that people will then
> either fight about, or - more likely - ignore, at the top level
> because there isn't some global agreement about what the rules are.
>
> For example, even just running checkpatch is often a stylistic thing,
> and not everybody agrees about all the checkpatch warnings.
>
While checkpatch is indeed of arguable value, I think it would help a
lot not having to bother about the persistent _build_ failures on
32-bit systems. You mentioned the fancy drm CI system above, but they
don't run tests and not even test builds on 32-bit targets, which has
repeatedly caused (and currently does cause) build failures in drm
code when trying to build, say, arm:allmodconfig in linux-next. Most
trivial build failures in linux-next (and, yes, sometimes mainline)
could be prevented with a simple generic CI.
Sure, argue against checkpatch as much as you like, but the code
should at least _build_, and it should not be necessary for random
people to report build failures to the submitters.
Guenter
> I would suggest the CI project be separate from the kernel.
>
> And having that slack channel that is restricted to particular
> companies is just another sign of this whole disease.
>
> If you want to make a google/microsoft project to do kernel CI, then
> more power to you, but don't expect it to be some kind of agreed-upon
> kernel project when it's a closed system.
>
> Linus
>
Powered by blists - more mailing lists