From: Luis Chamberlain <mcgrof@kernel.org>
To: Masahiro Yamada <masahiroy@kernel.org>, kdevops@lists.linux.dev
Cc: Jude Gyimah <Jude.Gyimah@ruhr-uni-bochum.de>,
Ole Schuerks <ole0811sch@gmail.com>,
linux-kbuild@vger.kernel.org, jude.gyimah@rub.de,
thorsten.berger@rub.de, deltaone@debian.org, jan.sollmann@rub.de,
linux-kernel@vger.kernel.org, nathan@kernel.org,
nicolas@fjasle.eu, Brendan Jackman <jackmanb@google.com>,
Joel Granados <joel.granados@kernel.org>,
"Darrick J. Wong" <djwong@kernel.org>,
Carlos Maiolino <cem@kernel.org>
Subject: Re: [PATCH v7 00/11] kconfig: Add support for conflict resolution
Date: Sun, 23 Mar 2025 01:40:35 -0700 [thread overview]
Message-ID: <Z9_JA_tuFbVJRcTR@bombadil.infradead.org> (raw)
In-Reply-To: <CAK7LNAT4ezUbKj1N95tN2xaiGXWABp3ABkwK+NePWc87XgcEDw@mail.gmail.com>
+ kdevops
On Mon, Mar 03, 2025 at 01:56:44AM +0900, Masahiro Yamada wrote:
> On Fri, Feb 21, 2025 at 12:03 PM Jude Gyimah
> <Jude.Gyimah@ruhr-uni-bochum.de> wrote:
> >
> > Quick follow-up.
> >
> > On our end, our SAT-solver implementations can be easily adapted to accommodate your future
> > toolchain selection refactorings.
>
> OK, we will see.
>
> >
> > Also, could you share with us the timelines for your refactorings so we can plan and deliver the
> > adjusted SAT-solver patches.
>
> There is no timeline in upstream development.
Jude, while Masahiro works on dynamic shell evaluation support and
given the SAT solver currently works with bools / tristates, I can
think of ways we can likely move forward to experiment with the existing
SAT solver integration, and can think of ways we can get ahead by
exploring ways to leverage the SAT solver on kdevops which can likely
pave the way for its use also later in Linux.
We already carry a small delta on our kdevops kconfig to support yaml
output which has proven invaluable to us, we can carry a SAT solver, as
things settle with dynamic shell evaluation on Linux.
How can we leverage a SAT solver on kdevops?
1) Feature-driven configuration and scriptable goals
Instead of having the user do the heavy work on figuring out what the
heck to enable on make menuconfig, the user just has to writes a
requirement. Something like this:
ci-goal:
- filesystem: xfs
- features: [reflink, 4k]
- workload: sysbench-mysql-docker
This can also enable scriptable CI goals:
kconfig-solve --enable sysbench --fs xfs --blocksize 4k --reflink
Generates .config to let us test this.
2) Minimized configs to reproduce a test on our CI
Today if someone wants to reproduce a generic/750 test on xfs reflink 4k
profile they can just use the web interface to select just the xfs_reflink_4k
defconfig, and we have a kconfig option to let us limit the test to a
set specified [0]. That requires adding a defconfig per test profile we
support. Wouldn't it be nicer if we can just say:
ci-goal:
- filesystem: xfs
- features: [reflink, 4k]
- testsuite: fstests
- tests: generic/750
3) Generate a set of different tests for a goal
Given a set of features we want to test, we could have the
SAT solver look for satisfiable combinations we could have
ci-goal:
- filesystem: xfs
- features: [reflink]
- workload: sysbench-mysql-docker
And so this may generate different .configs to help us run each one as a
setup to test test XFS on mysql using docker using all XFS profiles.
Let me know if your team is interested in exploring these things.
[0] https://github.com/linux-kdevops/kdevops/blob/main/docs/kernel-ci/linux-filesystems-kdevops-CI-testing.md
Luis
next prev parent reply other threads:[~2025-03-23 8:40 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-08 16:39 [PATCH v7 00/11] kconfig: Add support for conflict resolution Ole Schuerks
2025-02-08 16:39 ` [PATCH v7 01/11] kconfig: Add PicoSAT interface Ole Schuerks
2025-02-10 15:37 ` Luis Chamberlain
2025-02-08 16:39 ` [PATCH v7 02/11] kconfig: Add definitions Ole Schuerks
2025-02-08 16:39 ` [PATCH v7 03/11] kbuild: Add list_count_nodes and list_for_each_entry_from Ole Schuerks
2025-02-10 15:36 ` Luis Chamberlain
2025-02-08 16:39 ` [PATCH v7 04/11] kconfig: Add files for building constraints Ole Schuerks
2025-02-08 16:39 ` [PATCH v7 05/11] kconfig: Add files for handling expressions Ole Schuerks
2025-02-08 16:39 ` [PATCH v7 06/11] kconfig: Add files for fix generation Ole Schuerks
2025-02-08 16:39 ` [PATCH v7 07/11] kconfig: Add files with utility functions Ole Schuerks
2025-02-08 16:39 ` [PATCH v7 08/11] kconfig: Add tools Ole Schuerks
2025-02-08 16:39 ` [PATCH v7 09/11] kconfig: Add xconfig-modifications Ole Schuerks
2025-02-08 16:39 ` [PATCH v7 10/11] kconfig: Add loader.gif Ole Schuerks
2025-02-08 16:39 ` [PATCH v7 11/11] kconfig: Add documentation for the conflict resolver Ole Schuerks
2025-02-10 5:00 ` [PATCH v7 00/11] kconfig: Add support for conflict resolution Masahiro Yamada
2025-02-10 15:43 ` Luis Chamberlain
2025-02-11 0:46 ` Masahiro Yamada
2025-02-21 3:16 ` Jude Gyimah
[not found] ` <ac98e417-1587-4806-9576-7661acc6bf6e@ruhr-uni-bochum.de>
2025-03-02 16:56 ` Masahiro Yamada
2025-03-23 8:40 ` Luis Chamberlain [this message]
2025-03-23 8:55 ` Luis Chamberlain
2025-04-09 18:08 ` Ole Schuerks
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=Z9_JA_tuFbVJRcTR@bombadil.infradead.org \
--to=mcgrof@kernel.org \
--cc=Jude.Gyimah@ruhr-uni-bochum.de \
--cc=cem@kernel.org \
--cc=deltaone@debian.org \
--cc=djwong@kernel.org \
--cc=jackmanb@google.com \
--cc=jan.sollmann@rub.de \
--cc=joel.granados@kernel.org \
--cc=jude.gyimah@rub.de \
--cc=kdevops@lists.linux.dev \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=nathan@kernel.org \
--cc=nicolas@fjasle.eu \
--cc=ole0811sch@gmail.com \
--cc=thorsten.berger@rub.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox