Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

firmware: cs_dsp: Mark KUnit test suites KUNIT_SPEED_SLOW

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>

authored by

Richard Fitzgerald and committed by
Mark Brown
5c74a008 260c3fff

+36
+4
drivers/firmware/cirrus/test/cs_dsp_test_bin.c
··· 2835 2835 .init = cs_dsp_bin_test_halo_init, 2836 2836 .exit = cs_dsp_bin_test_exit, 2837 2837 .test_cases = cs_dsp_bin_test_cases_halo, 2838 + .attr.speed = KUNIT_SPEED_SLOW, 2838 2839 }; 2839 2840 2840 2841 static struct kunit_suite cs_dsp_bin_test_halo_wmdr3 = { 2841 2842 .name = "cs_dsp_bin_halo_wmdr_v3", 2842 2843 .init = cs_dsp_bin_test_halo_wmdr3_init, 2843 2844 .test_cases = cs_dsp_bin_test_cases_halo_wmdr3, 2845 + .attr.speed = KUNIT_SPEED_SLOW, 2844 2846 }; 2845 2847 2846 2848 static struct kunit_suite cs_dsp_bin_test_adsp2_32bit = { ··· 2850 2848 .init = cs_dsp_bin_test_adsp2_32bit_init, 2851 2849 .exit = cs_dsp_bin_test_exit, 2852 2850 .test_cases = cs_dsp_bin_test_cases_adsp2, 2851 + .attr.speed = KUNIT_SPEED_SLOW, 2853 2852 }; 2854 2853 2855 2854 static struct kunit_suite cs_dsp_bin_test_adsp2_16bit = { ··· 2858 2855 .init = cs_dsp_bin_test_adsp2_16bit_init, 2859 2856 .exit = cs_dsp_bin_test_exit, 2860 2857 .test_cases = cs_dsp_bin_test_cases_adsp2, 2858 + .attr.speed = KUNIT_SPEED_SLOW, 2861 2859 }; 2862 2860 2863 2861 kunit_test_suites(&cs_dsp_bin_test_halo,
+3
drivers/firmware/cirrus/test/cs_dsp_test_bin_error.c
··· 586 586 .init = cs_dsp_bin_err_test_halo_init, 587 587 .exit = cs_dsp_bin_err_test_exit, 588 588 .test_cases = cs_dsp_bin_err_test_cases, 589 + .attr.speed = KUNIT_SPEED_SLOW, 589 590 }; 590 591 591 592 static struct kunit_suite cs_dsp_bin_err_test_adsp2_32bit = { ··· 594 593 .init = cs_dsp_bin_err_test_adsp2_32bit_init, 595 594 .exit = cs_dsp_bin_err_test_exit, 596 595 .test_cases = cs_dsp_bin_err_test_cases, 596 + .attr.speed = KUNIT_SPEED_SLOW, 597 597 }; 598 598 599 599 static struct kunit_suite cs_dsp_bin_err_test_adsp2_16bit = { ··· 602 600 .init = cs_dsp_bin_err_test_adsp2_16bit_init, 603 601 .exit = cs_dsp_bin_err_test_exit, 604 602 .test_cases = cs_dsp_bin_err_test_cases, 603 + .attr.speed = KUNIT_SPEED_SLOW, 605 604 }; 606 605 607 606 kunit_test_suites(&cs_dsp_bin_err_test_halo,
+5
drivers/firmware/cirrus/test/cs_dsp_test_control_cache.c
··· 3248 3248 .name = "cs_dsp_ctl_cache_wmfwV3_halo", 3249 3249 .init = cs_dsp_ctl_cache_test_halo_init, 3250 3250 .test_cases = cs_dsp_ctl_cache_test_cases_v3, 3251 + .attr.speed = KUNIT_SPEED_SLOW, 3251 3252 }; 3252 3253 3253 3254 static struct kunit_suite cs_dsp_ctl_cache_test_adsp2_32bit_wmfw1 = { 3254 3255 .name = "cs_dsp_ctl_cache_wmfwV1_adsp2_32bit", 3255 3256 .init = cs_dsp_ctl_cache_test_adsp2_32bit_wmfw1_init, 3256 3257 .test_cases = cs_dsp_ctl_cache_test_cases_v1, 3258 + .attr.speed = KUNIT_SPEED_SLOW, 3257 3259 }; 3258 3260 3259 3261 static struct kunit_suite cs_dsp_ctl_cache_test_adsp2_32bit_wmfw2 = { 3260 3262 .name = "cs_dsp_ctl_cache_wmfwV2_adsp2_32bit", 3261 3263 .init = cs_dsp_ctl_cache_test_adsp2_32bit_wmfw2_init, 3262 3264 .test_cases = cs_dsp_ctl_cache_test_cases_v2, 3265 + .attr.speed = KUNIT_SPEED_SLOW, 3263 3266 }; 3264 3267 3265 3268 static struct kunit_suite cs_dsp_ctl_cache_test_adsp2_16bit_wmfw1 = { 3266 3269 .name = "cs_dsp_ctl_cache_wmfwV1_adsp2_16bit", 3267 3270 .init = cs_dsp_ctl_cache_test_adsp2_16bit_wmfw1_init, 3268 3271 .test_cases = cs_dsp_ctl_cache_test_cases_v1, 3272 + .attr.speed = KUNIT_SPEED_SLOW, 3269 3273 }; 3270 3274 3271 3275 static struct kunit_suite cs_dsp_ctl_cache_test_adsp2_16bit_wmfw2 = { 3272 3276 .name = "cs_dsp_ctl_cache_wmfwV2_adsp2_16bit", 3273 3277 .init = cs_dsp_ctl_cache_test_adsp2_16bit_wmfw2_init, 3274 3278 .test_cases = cs_dsp_ctl_cache_test_cases_v2, 3279 + .attr.speed = KUNIT_SPEED_SLOW, 3275 3280 }; 3276 3281 3277 3282 kunit_test_suites(&cs_dsp_ctl_cache_test_halo,
+5
drivers/firmware/cirrus/test/cs_dsp_test_control_parse.c
··· 1805 1805 .name = "cs_dsp_ctl_parse_wmfwV3_halo", 1806 1806 .init = cs_dsp_ctl_parse_test_halo_init, 1807 1807 .test_cases = cs_dsp_ctl_parse_test_cases_v2_v3, 1808 + .attr.speed = KUNIT_SPEED_SLOW, 1808 1809 }; 1809 1810 1810 1811 static struct kunit_suite cs_dsp_ctl_parse_test_adsp2_32bit_wmfw1 = { 1811 1812 .name = "cs_dsp_ctl_parse_wmfwV1_adsp2_32bit", 1812 1813 .init = cs_dsp_ctl_parse_test_adsp2_32bit_wmfw1_init, 1813 1814 .test_cases = cs_dsp_ctl_parse_test_cases_v1, 1815 + .attr.speed = KUNIT_SPEED_SLOW, 1814 1816 }; 1815 1817 1816 1818 static struct kunit_suite cs_dsp_ctl_parse_test_adsp2_32bit_wmfw2 = { 1817 1819 .name = "cs_dsp_ctl_parse_wmfwV2_adsp2_32bit", 1818 1820 .init = cs_dsp_ctl_parse_test_adsp2_32bit_wmfw2_init, 1819 1821 .test_cases = cs_dsp_ctl_parse_test_cases_v2_v3, 1822 + .attr.speed = KUNIT_SPEED_SLOW, 1820 1823 }; 1821 1824 1822 1825 static struct kunit_suite cs_dsp_ctl_parse_test_adsp2_16bit_wmfw1 = { 1823 1826 .name = "cs_dsp_ctl_parse_wmfwV1_adsp2_16bit", 1824 1827 .init = cs_dsp_ctl_parse_test_adsp2_16bit_wmfw1_init, 1825 1828 .test_cases = cs_dsp_ctl_parse_test_cases_v1, 1829 + .attr.speed = KUNIT_SPEED_SLOW, 1826 1830 }; 1827 1831 1828 1832 static struct kunit_suite cs_dsp_ctl_parse_test_adsp2_16bit_wmfw2 = { 1829 1833 .name = "cs_dsp_ctl_parse_wmfwV2_adsp2_16bit", 1830 1834 .init = cs_dsp_ctl_parse_test_adsp2_16bit_wmfw2_init, 1831 1835 .test_cases = cs_dsp_ctl_parse_test_cases_v2_v3, 1836 + .attr.speed = KUNIT_SPEED_SLOW, 1832 1837 }; 1833 1838 1834 1839 kunit_test_suites(&cs_dsp_ctl_parse_test_halo,
+5
drivers/firmware/cirrus/test/cs_dsp_test_control_rw.c
··· 2636 2636 .name = "cs_dsp_ctl_rw_wmfwV3_halo", 2637 2637 .init = cs_dsp_ctl_rw_test_halo_init, 2638 2638 .test_cases = cs_dsp_ctl_rw_test_cases_halo, 2639 + .attr.speed = KUNIT_SPEED_SLOW, 2639 2640 }; 2640 2641 2641 2642 static struct kunit_suite cs_dsp_ctl_rw_test_adsp2_32bit_wmfw1 = { 2642 2643 .name = "cs_dsp_ctl_rw_wmfwV1_adsp2_32bit", 2643 2644 .init = cs_dsp_ctl_rw_test_adsp2_32bit_wmfw1_init, 2644 2645 .test_cases = cs_dsp_ctl_rw_test_cases_adsp, 2646 + .attr.speed = KUNIT_SPEED_SLOW, 2645 2647 }; 2646 2648 2647 2649 static struct kunit_suite cs_dsp_ctl_rw_test_adsp2_32bit_wmfw2 = { 2648 2650 .name = "cs_dsp_ctl_rw_wmfwV2_adsp2_32bit", 2649 2651 .init = cs_dsp_ctl_rw_test_adsp2_32bit_wmfw2_init, 2650 2652 .test_cases = cs_dsp_ctl_rw_test_cases_adsp, 2653 + .attr.speed = KUNIT_SPEED_SLOW, 2651 2654 }; 2652 2655 2653 2656 static struct kunit_suite cs_dsp_ctl_rw_test_adsp2_16bit_wmfw1 = { 2654 2657 .name = "cs_dsp_ctl_rw_wmfwV1_adsp2_16bit", 2655 2658 .init = cs_dsp_ctl_rw_test_adsp2_16bit_wmfw1_init, 2656 2659 .test_cases = cs_dsp_ctl_rw_test_cases_adsp, 2660 + .attr.speed = KUNIT_SPEED_SLOW, 2657 2661 }; 2658 2662 2659 2663 static struct kunit_suite cs_dsp_ctl_rw_test_adsp2_16bit_wmfw2 = { 2660 2664 .name = "cs_dsp_ctl_rw_wmfwV2_adsp2_16bit", 2661 2665 .init = cs_dsp_ctl_rw_test_adsp2_16bit_wmfw2_init, 2662 2666 .test_cases = cs_dsp_ctl_rw_test_cases_adsp, 2667 + .attr.speed = KUNIT_SPEED_SLOW, 2663 2668 }; 2664 2669 2665 2670 kunit_test_suites(&cs_dsp_ctl_rw_test_halo,
+7
drivers/firmware/cirrus/test/cs_dsp_test_wmfw.c
··· 2182 2182 .init = cs_dsp_wmfw_test_halo_init, 2183 2183 .exit = cs_dsp_wmfw_test_exit, 2184 2184 .test_cases = cs_dsp_wmfw_test_cases_halo, 2185 + .attr.speed = KUNIT_SPEED_SLOW, 2185 2186 }; 2186 2187 2187 2188 static struct kunit_suite cs_dsp_wmfw_test_adsp2_32bit_wmfw0 = { ··· 2190 2189 .init = cs_dsp_wmfw_test_adsp2_32bit_wmfw0_init, 2191 2190 .exit = cs_dsp_wmfw_test_exit, 2192 2191 .test_cases = cs_dsp_wmfw_test_cases_adsp2, 2192 + .attr.speed = KUNIT_SPEED_SLOW, 2193 2193 }; 2194 2194 2195 2195 static struct kunit_suite cs_dsp_wmfw_test_adsp2_32bit_wmfw1 = { ··· 2198 2196 .init = cs_dsp_wmfw_test_adsp2_32bit_wmfw1_init, 2199 2197 .exit = cs_dsp_wmfw_test_exit, 2200 2198 .test_cases = cs_dsp_wmfw_test_cases_adsp2, 2199 + .attr.speed = KUNIT_SPEED_SLOW, 2201 2200 }; 2202 2201 2203 2202 static struct kunit_suite cs_dsp_wmfw_test_adsp2_32bit_wmfw2 = { ··· 2206 2203 .init = cs_dsp_wmfw_test_adsp2_32bit_wmfw2_init, 2207 2204 .exit = cs_dsp_wmfw_test_exit, 2208 2205 .test_cases = cs_dsp_wmfw_test_cases_adsp2, 2206 + .attr.speed = KUNIT_SPEED_SLOW, 2209 2207 }; 2210 2208 2211 2209 static struct kunit_suite cs_dsp_wmfw_test_adsp2_16bit_wmfw0 = { ··· 2214 2210 .init = cs_dsp_wmfw_test_adsp2_16bit_wmfw0_init, 2215 2211 .exit = cs_dsp_wmfw_test_exit, 2216 2212 .test_cases = cs_dsp_wmfw_test_cases_adsp2, 2213 + .attr.speed = KUNIT_SPEED_SLOW, 2217 2214 }; 2218 2215 2219 2216 static struct kunit_suite cs_dsp_wmfw_test_adsp2_16bit_wmfw1 = { ··· 2222 2217 .init = cs_dsp_wmfw_test_adsp2_16bit_wmfw1_init, 2223 2218 .exit = cs_dsp_wmfw_test_exit, 2224 2219 .test_cases = cs_dsp_wmfw_test_cases_adsp2, 2220 + .attr.speed = KUNIT_SPEED_SLOW, 2225 2221 }; 2226 2222 2227 2223 static struct kunit_suite cs_dsp_wmfw_test_adsp2_16bit_wmfw2 = { ··· 2230 2224 .init = cs_dsp_wmfw_test_adsp2_16bit_wmfw2_init, 2231 2225 .exit = cs_dsp_wmfw_test_exit, 2232 2226 .test_cases = cs_dsp_wmfw_test_cases_adsp2, 2227 + .attr.speed = KUNIT_SPEED_SLOW, 2233 2228 }; 2234 2229 2235 2230 kunit_test_suites(&cs_dsp_wmfw_test_halo,
+7
drivers/firmware/cirrus/test/cs_dsp_test_wmfw_error.c
··· 1306 1306 .init = cs_dsp_wmfw_err_test_halo_init, 1307 1307 .exit = cs_dsp_wmfw_err_test_exit, 1308 1308 .test_cases = cs_dsp_wmfw_err_test_cases_v3, 1309 + .attr.speed = KUNIT_SPEED_SLOW, 1309 1310 }; 1310 1311 1311 1312 static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_32bit_wmfw0 = { ··· 1314 1313 .init = cs_dsp_wmfw_err_test_adsp2_32bit_wmfw0_init, 1315 1314 .exit = cs_dsp_wmfw_err_test_exit, 1316 1315 .test_cases = cs_dsp_wmfw_err_test_cases_v0, 1316 + .attr.speed = KUNIT_SPEED_SLOW, 1317 1317 }; 1318 1318 1319 1319 static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_32bit_wmfw1 = { ··· 1322 1320 .init = cs_dsp_wmfw_err_test_adsp2_32bit_wmfw1_init, 1323 1321 .exit = cs_dsp_wmfw_err_test_exit, 1324 1322 .test_cases = cs_dsp_wmfw_err_test_cases_v1, 1323 + .attr.speed = KUNIT_SPEED_SLOW, 1325 1324 }; 1326 1325 1327 1326 static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_32bit_wmfw2 = { ··· 1330 1327 .init = cs_dsp_wmfw_err_test_adsp2_32bit_wmfw2_init, 1331 1328 .exit = cs_dsp_wmfw_err_test_exit, 1332 1329 .test_cases = cs_dsp_wmfw_err_test_cases_v2, 1330 + .attr.speed = KUNIT_SPEED_SLOW, 1333 1331 }; 1334 1332 1335 1333 static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_16bit_wmfw0 = { ··· 1338 1334 .init = cs_dsp_wmfw_err_test_adsp2_16bit_wmfw0_init, 1339 1335 .exit = cs_dsp_wmfw_err_test_exit, 1340 1336 .test_cases = cs_dsp_wmfw_err_test_cases_v0, 1337 + .attr.speed = KUNIT_SPEED_SLOW, 1341 1338 }; 1342 1339 1343 1340 static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_16bit_wmfw1 = { ··· 1346 1341 .init = cs_dsp_wmfw_err_test_adsp2_16bit_wmfw1_init, 1347 1342 .exit = cs_dsp_wmfw_err_test_exit, 1348 1343 .test_cases = cs_dsp_wmfw_err_test_cases_v1, 1344 + .attr.speed = KUNIT_SPEED_SLOW, 1349 1345 }; 1350 1346 1351 1347 static struct kunit_suite cs_dsp_wmfw_err_test_adsp2_16bit_wmfw2 = { ··· 1354 1348 .init = cs_dsp_wmfw_err_test_adsp2_16bit_wmfw2_init, 1355 1349 .exit = cs_dsp_wmfw_err_test_exit, 1356 1350 .test_cases = cs_dsp_wmfw_err_test_cases_v2, 1351 + .attr.speed = KUNIT_SPEED_SLOW, 1357 1352 }; 1358 1353 1359 1354 kunit_test_suites(&cs_dsp_wmfw_err_test_halo,