summaryrefslogtreecommitdiff
path: root/drivers/interconnect/Makefile
diff options
context:
space:
mode:
authorKuan-Wei Chiu <visitorckw@gmail.com>2026-01-10 18:43:09 +0000
committerGeorgi Djakov <djakov@kernel.org>2026-01-13 16:18:27 +0200
commit06ebbe719bb022795cd9def0606a6805b1f2f755 (patch)
treec2072f3261155fe9e24ab22b2eb79a88490502ee /drivers/interconnect/Makefile
parenta3e2ea7935c5a6f571d43f02b64ebb92e5cfae87 (diff)
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>
Diffstat (limited to 'drivers/interconnect/Makefile')
-rw-r--r--drivers/interconnect/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/interconnect/Makefile b/drivers/interconnect/Makefile
index b0a9a6753b9d..dc4c7b657c9d 100644
--- a/drivers/interconnect/Makefile
+++ b/drivers/interconnect/Makefile
@@ -10,3 +10,5 @@ obj-$(CONFIG_INTERCONNECT_QCOM) += qcom/
obj-$(CONFIG_INTERCONNECT_SAMSUNG) += samsung/
obj-$(CONFIG_INTERCONNECT_CLK) += icc-clk.o
+
+obj-$(CONFIG_INTERCONNECT_KUNIT_TEST) += icc-kunit.o