]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
firmware: cs_dsp: Mark KUnit test suites KUNIT_SPEED_SLOW
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 25 Feb 2026 12:56:44 +0000 (12:56 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 25 Feb 2026 18:33:17 +0000 (18:33 +0000)
Most of the test suites perform a large number of test cases, so
mark the suites as KUNIT_SPEED_SLOW for anyone who finds that useful.

The callback test suites haven't been marked because they don't
perform many test cases, and the tests are quick.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20260225125644.1248826-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
drivers/firmware/cirrus/test/cs_dsp_test_bin_error.c
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
drivers/firmware/cirrus/test/cs_dsp_test_control_parse.c
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c
drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c
drivers/firmware/cirrus/test/cs_dsp_test_wmfw_error.c

index 66140caeebb5e2b26d02698dd79393e13c5d7298..61078da57462549719e9f7fb7da9377622d926ee 100644 (file)
@@ -2835,12 +2835,14 @@ static struct kunit_suite cs_dsp_bin_test_halo = {
        .init = cs_dsp_bin_test_halo_init,
        .exit = cs_dsp_bin_test_exit,
        .test_cases = cs_dsp_bin_test_cases_halo,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_bin_test_halo_wmdr3 = {
        .name = "cs_dsp_bin_halo_wmdr_v3",
        .init = cs_dsp_bin_test_halo_wmdr3_init,
        .test_cases = cs_dsp_bin_test_cases_halo_wmdr3,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_bin_test_adsp2_32bit = {
@@ -2848,6 +2850,7 @@ static struct kunit_suite cs_dsp_bin_test_adsp2_32bit = {
        .init = cs_dsp_bin_test_adsp2_32bit_init,
        .exit = cs_dsp_bin_test_exit,
        .test_cases = cs_dsp_bin_test_cases_adsp2,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_bin_test_adsp2_16bit = {
@@ -2855,6 +2858,7 @@ static struct kunit_suite cs_dsp_bin_test_adsp2_16bit = {
        .init = cs_dsp_bin_test_adsp2_16bit_init,
        .exit = cs_dsp_bin_test_exit,
        .test_cases = cs_dsp_bin_test_cases_adsp2,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 kunit_test_suites(&cs_dsp_bin_test_halo,
index 9b2763b369702b6efb864d0a551c340f030689d3..888e277a265cbdab8051fd157a41f137bef81aa6 100644 (file)
@@ -586,6 +586,7 @@ static struct kunit_suite cs_dsp_bin_err_test_halo = {
        .init = cs_dsp_bin_err_test_halo_init,
        .exit = cs_dsp_bin_err_test_exit,
        .test_cases = cs_dsp_bin_err_test_cases,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_bin_err_test_adsp2_32bit = {
@@ -593,6 +594,7 @@ static struct kunit_suite cs_dsp_bin_err_test_adsp2_32bit = {
        .init = cs_dsp_bin_err_test_adsp2_32bit_init,
        .exit = cs_dsp_bin_err_test_exit,
        .test_cases = cs_dsp_bin_err_test_cases,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_bin_err_test_adsp2_16bit = {
@@ -600,6 +602,7 @@ static struct kunit_suite cs_dsp_bin_err_test_adsp2_16bit = {
        .init = cs_dsp_bin_err_test_adsp2_16bit_init,
        .exit = cs_dsp_bin_err_test_exit,
        .test_cases = cs_dsp_bin_err_test_cases,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 kunit_test_suites(&cs_dsp_bin_err_test_halo,
index ebca3a4ab0f1ad3a37a0025223828500ff0df4ad..b03cd7c37f6e40ae19ec0fc65d43b05b6995b3a7 100644 (file)
@@ -3248,30 +3248,35 @@ static struct kunit_suite cs_dsp_ctl_cache_test_halo = {
        .name = "cs_dsp_ctl_cache_wmfwV3_halo",
        .init = cs_dsp_ctl_cache_test_halo_init,
        .test_cases = cs_dsp_ctl_cache_test_cases_v3,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_ctl_cache_test_adsp2_32bit_wmfw1 = {
        .name = "cs_dsp_ctl_cache_wmfwV1_adsp2_32bit",
        .init = cs_dsp_ctl_cache_test_adsp2_32bit_wmfw1_init,
        .test_cases = cs_dsp_ctl_cache_test_cases_v1,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_ctl_cache_test_adsp2_32bit_wmfw2 = {
        .name = "cs_dsp_ctl_cache_wmfwV2_adsp2_32bit",
        .init = cs_dsp_ctl_cache_test_adsp2_32bit_wmfw2_init,
        .test_cases = cs_dsp_ctl_cache_test_cases_v2,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_ctl_cache_test_adsp2_16bit_wmfw1 = {
        .name = "cs_dsp_ctl_cache_wmfwV1_adsp2_16bit",
        .init = cs_dsp_ctl_cache_test_adsp2_16bit_wmfw1_init,
        .test_cases = cs_dsp_ctl_cache_test_cases_v1,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_ctl_cache_test_adsp2_16bit_wmfw2 = {
        .name = "cs_dsp_ctl_cache_wmfwV2_adsp2_16bit",
        .init = cs_dsp_ctl_cache_test_adsp2_16bit_wmfw2_init,
        .test_cases = cs_dsp_ctl_cache_test_cases_v2,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 kunit_test_suites(&cs_dsp_ctl_cache_test_halo,
index 942ba1af5e7c1e47e8a2fbe548a7993b94f96515..368703767644a41cbbf08e1705107c52667f7c88 100644 (file)
@@ -1805,30 +1805,35 @@ static struct kunit_suite cs_dsp_ctl_parse_test_halo = {
        .name = "cs_dsp_ctl_parse_wmfwV3_halo",
        .init = cs_dsp_ctl_parse_test_halo_init,
        .test_cases = cs_dsp_ctl_parse_test_cases_v2_v3,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_ctl_parse_test_adsp2_32bit_wmfw1 = {
        .name = "cs_dsp_ctl_parse_wmfwV1_adsp2_32bit",
        .init = cs_dsp_ctl_parse_test_adsp2_32bit_wmfw1_init,
        .test_cases = cs_dsp_ctl_parse_test_cases_v1,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_ctl_parse_test_adsp2_32bit_wmfw2 = {
        .name = "cs_dsp_ctl_parse_wmfwV2_adsp2_32bit",
        .init = cs_dsp_ctl_parse_test_adsp2_32bit_wmfw2_init,
        .test_cases = cs_dsp_ctl_parse_test_cases_v2_v3,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_ctl_parse_test_adsp2_16bit_wmfw1 = {
        .name = "cs_dsp_ctl_parse_wmfwV1_adsp2_16bit",
        .init = cs_dsp_ctl_parse_test_adsp2_16bit_wmfw1_init,
        .test_cases = cs_dsp_ctl_parse_test_cases_v1,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_ctl_parse_test_adsp2_16bit_wmfw2 = {
        .name = "cs_dsp_ctl_parse_wmfwV2_adsp2_16bit",
        .init = cs_dsp_ctl_parse_test_adsp2_16bit_wmfw2_init,
        .test_cases = cs_dsp_ctl_parse_test_cases_v2_v3,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 kunit_test_suites(&cs_dsp_ctl_parse_test_halo,
index bda00a95d4f9fc0fb3a315ce74ff6637ccfdd3bb..d800f163b099efcabf36ad26915e19415bc23636 100644 (file)
@@ -2636,30 +2636,35 @@ static struct kunit_suite cs_dsp_ctl_rw_test_halo = {
        .name = "cs_dsp_ctl_rw_wmfwV3_halo",
        .init = cs_dsp_ctl_rw_test_halo_init,
        .test_cases = cs_dsp_ctl_rw_test_cases_halo,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_ctl_rw_test_adsp2_32bit_wmfw1 = {
        .name = "cs_dsp_ctl_rw_wmfwV1_adsp2_32bit",
        .init = cs_dsp_ctl_rw_test_adsp2_32bit_wmfw1_init,
        .test_cases = cs_dsp_ctl_rw_test_cases_adsp,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_ctl_rw_test_adsp2_32bit_wmfw2 = {
        .name = "cs_dsp_ctl_rw_wmfwV2_adsp2_32bit",
        .init = cs_dsp_ctl_rw_test_adsp2_32bit_wmfw2_init,
        .test_cases = cs_dsp_ctl_rw_test_cases_adsp,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_ctl_rw_test_adsp2_16bit_wmfw1 = {
        .name = "cs_dsp_ctl_rw_wmfwV1_adsp2_16bit",
        .init = cs_dsp_ctl_rw_test_adsp2_16bit_wmfw1_init,
        .test_cases = cs_dsp_ctl_rw_test_cases_adsp,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_ctl_rw_test_adsp2_16bit_wmfw2 = {
        .name = "cs_dsp_ctl_rw_wmfwV2_adsp2_16bit",
        .init = cs_dsp_ctl_rw_test_adsp2_16bit_wmfw2_init,
        .test_cases = cs_dsp_ctl_rw_test_cases_adsp,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 kunit_test_suites(&cs_dsp_ctl_rw_test_halo,
index f02cb6cf763868ed3283cb23de7da4d33d20f9af..788458d5a2876cd8fd7fa92af6af24e131a186fa 100644 (file)
@@ -2182,6 +2182,7 @@ static struct kunit_suite cs_dsp_wmfw_test_halo = {
        .init = cs_dsp_wmfw_test_halo_init,
        .exit = cs_dsp_wmfw_test_exit,
        .test_cases = cs_dsp_wmfw_test_cases_halo,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_wmfw_test_adsp2_32bit_wmfw0 = {
@@ -2189,6 +2190,7 @@ static struct kunit_suite cs_dsp_wmfw_test_adsp2_32bit_wmfw0 = {
        .init = cs_dsp_wmfw_test_adsp2_32bit_wmfw0_init,
        .exit = cs_dsp_wmfw_test_exit,
        .test_cases = cs_dsp_wmfw_test_cases_adsp2,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_wmfw_test_adsp2_32bit_wmfw1 = {
@@ -2196,6 +2198,7 @@ static struct kunit_suite cs_dsp_wmfw_test_adsp2_32bit_wmfw1 = {
        .init = cs_dsp_wmfw_test_adsp2_32bit_wmfw1_init,
        .exit = cs_dsp_wmfw_test_exit,
        .test_cases = cs_dsp_wmfw_test_cases_adsp2,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_wmfw_test_adsp2_32bit_wmfw2 = {
@@ -2203,6 +2206,7 @@ static struct kunit_suite cs_dsp_wmfw_test_adsp2_32bit_wmfw2 = {
        .init = cs_dsp_wmfw_test_adsp2_32bit_wmfw2_init,
        .exit = cs_dsp_wmfw_test_exit,
        .test_cases = cs_dsp_wmfw_test_cases_adsp2,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_wmfw_test_adsp2_16bit_wmfw0 = {
@@ -2210,6 +2214,7 @@ static struct kunit_suite cs_dsp_wmfw_test_adsp2_16bit_wmfw0 = {
        .init = cs_dsp_wmfw_test_adsp2_16bit_wmfw0_init,
        .exit = cs_dsp_wmfw_test_exit,
        .test_cases = cs_dsp_wmfw_test_cases_adsp2,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_wmfw_test_adsp2_16bit_wmfw1 = {
@@ -2217,6 +2222,7 @@ static struct kunit_suite cs_dsp_wmfw_test_adsp2_16bit_wmfw1 = {
        .init = cs_dsp_wmfw_test_adsp2_16bit_wmfw1_init,
        .exit = cs_dsp_wmfw_test_exit,
        .test_cases = cs_dsp_wmfw_test_cases_adsp2,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_wmfw_test_adsp2_16bit_wmfw2 = {
@@ -2224,6 +2230,7 @@ static struct kunit_suite cs_dsp_wmfw_test_adsp2_16bit_wmfw2 = {
        .init = cs_dsp_wmfw_test_adsp2_16bit_wmfw2_init,
        .exit = cs_dsp_wmfw_test_exit,
        .test_cases = cs_dsp_wmfw_test_cases_adsp2,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 kunit_test_suites(&cs_dsp_wmfw_test_halo,
index 37162d12e2fa7873e79d939642ae9b6fc58c2938..79eee89a7fd549a6674d4a44a8105b5d7f7a72cc 100644 (file)
@@ -1306,6 +1306,7 @@ static struct kunit_suite cs_dsp_wmfw_err_test_halo = {
        .init = cs_dsp_wmfw_err_test_halo_init,
        .exit = cs_dsp_wmfw_err_test_exit,
        .test_cases = cs_dsp_wmfw_err_test_cases_v3,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_32bit_wmfw0 = {
@@ -1313,6 +1314,7 @@ static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_32bit_wmfw0 = {
        .init = cs_dsp_wmfw_err_test_adsp2_32bit_wmfw0_init,
        .exit = cs_dsp_wmfw_err_test_exit,
        .test_cases = cs_dsp_wmfw_err_test_cases_v0,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_32bit_wmfw1 = {
@@ -1320,6 +1322,7 @@ static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_32bit_wmfw1 = {
        .init = cs_dsp_wmfw_err_test_adsp2_32bit_wmfw1_init,
        .exit = cs_dsp_wmfw_err_test_exit,
        .test_cases = cs_dsp_wmfw_err_test_cases_v1,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_32bit_wmfw2 = {
@@ -1327,6 +1330,7 @@ static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_32bit_wmfw2 = {
        .init = cs_dsp_wmfw_err_test_adsp2_32bit_wmfw2_init,
        .exit = cs_dsp_wmfw_err_test_exit,
        .test_cases = cs_dsp_wmfw_err_test_cases_v2,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_16bit_wmfw0 = {
@@ -1334,6 +1338,7 @@ static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_16bit_wmfw0 = {
        .init = cs_dsp_wmfw_err_test_adsp2_16bit_wmfw0_init,
        .exit = cs_dsp_wmfw_err_test_exit,
        .test_cases = cs_dsp_wmfw_err_test_cases_v0,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_16bit_wmfw1 = {
@@ -1341,6 +1346,7 @@ static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_16bit_wmfw1 = {
        .init = cs_dsp_wmfw_err_test_adsp2_16bit_wmfw1_init,
        .exit = cs_dsp_wmfw_err_test_exit,
        .test_cases = cs_dsp_wmfw_err_test_cases_v1,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_16bit_wmfw2 = {
@@ -1348,6 +1354,7 @@ static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_16bit_wmfw2 = {
        .init = cs_dsp_wmfw_err_test_adsp2_16bit_wmfw2_init,
        .exit = cs_dsp_wmfw_err_test_exit,
        .test_cases = cs_dsp_wmfw_err_test_cases_v2,
+       .attr.speed = KUNIT_SPEED_SLOW,
 };
 
 kunit_test_suites(&cs_dsp_wmfw_err_test_halo,