linux/drivers/interconnect/Kconfig
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

39 lines
1 KiB
Text

# SPDX-License-Identifier: GPL-2.0-only
menuconfig INTERCONNECT
bool "On-Chip Interconnect management support"
help
Support for management of the on-chip interconnects.
This framework is designed to provide a generic interface for
managing the interconnects in a SoC.
If unsure, say no.
if INTERCONNECT
source "drivers/interconnect/imx/Kconfig"
source "drivers/interconnect/mediatek/Kconfig"
source "drivers/interconnect/qcom/Kconfig"
source "drivers/interconnect/samsung/Kconfig"
config INTERCONNECT_CLK
tristate
depends on COMMON_CLK
help
Support for wrapping clocks into the interconnect nodes.
config INTERCONNECT_KUNIT_TEST
tristate "KUnit tests for Interconnect framework"
depends on KUNIT
default KUNIT_ALL_TESTS
help
This builds the KUnit test suite for the generic system interconnect
framework.
The tests cover the core functionality of the interconnect subsystem,
including provider/consumer APIs, topology management, and bandwidth
aggregation logic.
If unsure, say N.
endif