diff options
| author | John Hubbard <jhubbard@nvidia.com> | 2026-09-29 20:41:47 -0700 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2026-10-02 21:50:17 +0900 |
| commit | 306279ce974d396136544aa88027ee921ac09540 (patch) | |
| tree | 1f8cd1a511af12f994d444ba7fae94704371f120 /scripts/basic/split-include.c | |
| parent | 476abf9f669d87f993429ebb42668169464c907c (diff) | |
| download | linux-306279ce974d396136544aa88027ee921ac09540.tar.gz linux-306279ce974d396136544aa88027ee921ac09540.zip | |
gpu: nova-core: add KUnit tests for the interrupt tree
The vector arithmetic and the leaf and subtree sets touch no hardware,
so KUnit can cover them without a GPU. A wrong leaf, bit or subtree for
a vector would otherwise show up only as a lost interrupt on hardware.
Add the nova_core_gin_tree suite. It checks that a leaf index stops at
the widest supported tree, that a leaf count implies the right number of
subtrees and vectors, that a leaf count enumerates every leaf in order,
that a vector maps to the right leaf, bit and subtree, and that a vector
beyond an 8-leaf tree is rejected there and accepted in a 16-leaf tree.
It also exercises the subtree set operations and checks that every
supported chipset implements the subtree that carries the GSP event.
Assisted-by: LLM
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260930034148.590687-15-jhubbard@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions
