diff options
| author | Kuan-Wei Chiu <visitorckw@gmail.com> | 2026-01-10 18:43:09 +0000 |
|---|---|---|
| committer | Georgi Djakov <djakov@kernel.org> | 2026-01-13 16:18:27 +0200 |
| commit | 06ebbe719bb022795cd9def0606a6805b1f2f755 (patch) | |
| tree | c2072f3261155fe9e24ab22b2eb79a88490502ee /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | a3e2ea7935c5a6f571d43f02b64ebb92e5cfae87 (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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
