linux/drivers/interconnect
Kuan-Wei Chiu 06ebbe719b interconnect: Add kunit tests for core functionality
The interconnect framework currently lacks in-tree unit tests to verify
the core logic in isolation. This makes it difficult to validate
regression stability when modifying the provider/consumer APIs or
aggregation logic.

Introduce a kunit test suite that verifies the fundamental behavior of
the subsystem. The tests cover:
- Provider API (node creation, linking, topology construction).
- Consumer API (path enabling/disabling, bandwidth requests).
- Standard aggregation logic (accumulating bandwidth across links).
- Bulk operations for setting bandwidth on multiple paths.

The suite simulates a simple SoC topology with multiple masters and a
shared bus to validate traffic aggregation behavior in a controlled
software environment, without requiring specific hardware or Device
Tree support.

Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Link: https://lore.kernel.org/r/20260110184309.906735-1-visitorckw@gmail.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
2026-01-13 16:18:27 +02:00
..
imx interconnect: Switch back to struct platform_driver::remove() 2024-10-22 12:34:18 +03:00
mediatek interconnect: Switch back to struct platform_driver::remove() 2024-10-22 12:34:18 +03:00
qcom interconnect: qcom: sm6350: enable QoS configuration 2025-11-19 16:03:12 +02:00
samsung interconnect: exynos: handle node name allocation failure 2025-06-23 17:59:09 +03:00
bulk.c interconnect: add device managed bulk API 2022-07-04 16:14:29 +03:00
core.c interconnect: core: Use device_match_of_node() 2025-09-12 13:53:12 +03:00
debugfs-client.c interconnect: debugfs: Fix incorrect error handling for NULL path 2025-10-31 02:53:58 +02:00
icc-clk.c interconnect: icc-clk: destroy nodes in case of memory allocation failures 2025-06-26 19:18:01 +03:00
icc-kunit.c interconnect: Add kunit tests for core functionality 2026-01-13 16:18:27 +02:00
internal.h Merge branch 'icc-debugfs' into icc-next 2023-08-22 21:05:09 +03:00
Kconfig interconnect: Add kunit tests for core functionality 2026-01-13 16:18:27 +02:00
Makefile interconnect: Add kunit tests for core functionality 2026-01-13 16:18:27 +02:00
trace.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00