[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Ynxv5WGMd0aJYM5a@mit.edu>
Date: Wed, 11 May 2022 22:24:37 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Rob Clark <robdclark@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Michel Dänzer <michel.daenzer@...lbox.org>,
Tomeu Vizoso <tomeu.vizoso@...labora.com>,
Jonathan Corbet <corbet@....net>,
freedreno <freedreno@...ts.freedesktop.org>,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>,
Abhinav Kumar <quic_abhinavk@...cinc.com>,
dri-devel <dri-devel@...ts.freedesktop.org>,
LKML <linux-kernel@...r.kernel.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
linux-arm-msm <linux-arm-msm@...r.kernel.org>,
Dave Airlie <airlied@...il.com>, Sean Paul <sean@...rly.run>
Subject: Re: [Freedreno] Adding CI results to the kernel tree was Re: [RFC
v2] drm/msm: Add initial ci/ subdirectory
On Wed, May 11, 2022 at 06:33:32AM -0700, Rob Clark wrote:
>
> And ofc we want the expectations to be in the kernel tree because
> there could be, for example, differences between -fixes and -next
> branches. (Or even stable kernel branches if/when we get to the point
> of running CI on those.)
There are tradeoffs both ways, whether the patches are kept separate,
opr in the kernel tree.
In the file system world, when we discover a bug, very often a test
case is found to test the fix, and to protect us against regressions.
It has one other benefit; since the tests (xfstests) are kept separate
from the kernel, it's a useful way to identify when some patch didn't
get automatically backported to a LTS or distro kernel. (For example,
because the patch didn't cherry-pick cleanly and the manual backport
process fell through the cracks.)
It does make things annoying when we have bugs that can not be safely
backported (which results in tests that fail on the LTS kernel without
kernel-version exclude files), and/or when the expectations change
between versions. (Although to be honest, for us, the more common
annoyance is when some userspace package --- e.g., bash or coreutils
or util-linux --- changes their output, and we have to add filter
functions to accomodate expected output differences.)
- Ted
Powered by blists - more mailing lists