diff options
author | Eric Biggers <ebiggers@kernel.org> | 2025-08-11 11:26:30 -0700 |
---|---|---|
committer | Eric Biggers <ebiggers@kernel.org> | 2025-08-11 11:28:00 -0700 |
commit | 842ec21357f15ff722695dd87daf99823f297185 (patch) | |
tree | e0af8c6d11c7425c42378067bca2ff481064ee68 /scripts/extract-fwblobs | |
parent | b41dc83f0790fd3488a45b31de0b0c3af7d441fe (diff) |
lib/crc: crc_kunit: Test CRC computation in interrupt contexts
Test that if CRCs are computed in task, softirq, and hardirq context
concurrently, then all results are as expected. Implement this using
kunit_run_irq_test() which is also used by the lib/crypto/ tests.
As with the corresponding lib/crypto/ tests, the purpose of this is to
test fallback code paths and to exercise edge cases in the
architecture's support for in-kernel FPU/SIMD/vector.
Remove the code from crc_test() that sometimes disabled interrupts, as
that was just an incomplete attempt to achieve similar test coverage.
Link: https://lore.kernel.org/r/20250811182631.376302-3-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions