From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
Brendan Higgins <brendan.higgins@linux.dev>,
David Gow <davidgow@google.com>, Jaroslav Kysela <perex@perex.cz>,
Takashi Iwai <tiwai@suse.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
alsa-devel@alsa-project.org, linux-kselftest@vger.kernel.org,
kunit-dev@googlegroups.com
Subject: Re: [PATCH v2 0/5] ASoC: Improve coverage in default KUnit runs
Date: Tue, 18 Jul 2023 07:51:59 +0200 [thread overview]
Message-ID: <87zg3tojgg.wl-tiwai@suse.de> (raw)
In-Reply-To: <20230718-asoc-topology-kunit-enable-v2-0-0ee11e662b92@kernel.org>
On Tue, 18 Jul 2023 02:28:41 +0200,
Mark Brown wrote:
>
> We have some KUnit tests for ASoC but they're not being run as much as
> they should be since ASoC isn't enabled in the configs used by default
> with KUnit and in the case of the topology tests there is no way to
> enable them without enabling drivers that use them. This series
> provides a Kconfig option which KUnit can use directly rather than worry
> about drivers.
>
> Further, since KUnit is typically run in UML but ALSA prevents build
> with UML we need to remove that Kconfig conflict. As far as I can tell
> the motiviation for this is that many ALSA drivers use iomem APIs which
> are not available under UML and it's more trouble than it's worth to go
> through and add per driver dependencies. In order to avoid these issues
> we also provide stubs for these APIs so there are no build time issues
> if a driver relies on iomem but does not depend on it. With these stubs
> I am able to build all the sound drivers available in a UML defconfig
> (UML allmodconfig appears to have substantial other issues in a quick
> test).
>
> With this series I am able to run the topology KUnit tests as part of a
> kunit --alltests run.
>
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---
> Changes in v2:
> - Add support for building ALSA with UML.
> - Link to v1: https://lore.kernel.org/r/20230712-asoc-topology-kunit-enable-v1-0-b9f2da9dca23@kernel.org
>
> ---
> Mark Brown (5):
> driver core: Provide stubs for !IOMEM builds
> platform: Provide stubs for !HAS_IOMEM builds
> ALSA: Enable build with UML
> kunit: Enable ASoC in all_tests.config
> ASoC: topology: Add explicit build option
Those look like sensible changes.
Reviewed-by: Takashi Iwai <tiwai@suse.de>
thanks,
Takashi
next prev parent reply other threads:[~2023-07-18 5:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-18 0:28 [PATCH v2 0/5] ASoC: Improve coverage in default KUnit runs Mark Brown
2023-07-18 0:28 ` [PATCH v2 1/5] driver core: Provide stubs for !IOMEM builds Mark Brown
2023-07-18 9:03 ` David Gow
2023-07-18 13:35 ` Greg Kroah-Hartman
2023-07-18 0:28 ` [PATCH v2 2/5] platform: Provide stubs for !HAS_IOMEM builds Mark Brown
2023-07-18 9:03 ` David Gow
2023-07-18 13:35 ` Greg Kroah-Hartman
2023-07-18 0:28 ` [PATCH v2 3/5] ALSA: Enable build with UML Mark Brown
2023-07-18 9:03 ` David Gow
2023-07-18 0:28 ` [PATCH v2 4/5] kunit: Enable ASoC in all_tests.config Mark Brown
2023-07-18 9:03 ` David Gow
2023-07-18 14:03 ` Mark Brown
2023-07-18 0:28 ` [PATCH v2 5/5] ASoC: topology: Add explicit build option Mark Brown
2023-07-18 5:51 ` Takashi Iwai [this message]
2023-07-19 13:57 ` [PATCH v2 0/5] ASoC: Improve coverage in default KUnit runs Mark Brown
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=87zg3tojgg.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=brendan.higgins@linux.dev \
--cc=broonie@kernel.org \
--cc=davidgow@google.com \
--cc=gregkh@linuxfoundation.org \
--cc=kunit-dev@googlegroups.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kselftest@vger.kernel.org \
--cc=perex@perex.cz \
--cc=rafael@kernel.org \
--cc=tiwai@suse.com \
/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