mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 19:43:43 -04:00
Add a test for sending messages from every GuC to every other GuC to test G2G communications. Note that, being a debug only feature, the test interface only exists in pre-production builds of the GuC firmware. v2: Fix 'default' case to actually use the driver's registration code as well as allocation. Add comments explaining the different test types. Fix (C) date and an assert. Review feedback from Daniele. Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Link: https://lore.kernel.org/r/20250910210237.603576-5-John.C.Harrison@Intel.com
26 lines
813 B
C
26 lines
813 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
#include <linux/module.h>
|
|
#include <kunit/test.h>
|
|
|
|
extern struct kunit_suite xe_bo_test_suite;
|
|
extern struct kunit_suite xe_bo_shrink_test_suite;
|
|
extern struct kunit_suite xe_dma_buf_test_suite;
|
|
extern struct kunit_suite xe_migrate_test_suite;
|
|
extern struct kunit_suite xe_mocs_test_suite;
|
|
extern struct kunit_suite xe_guc_g2g_test_suite;
|
|
|
|
kunit_test_suite(xe_bo_test_suite);
|
|
kunit_test_suite(xe_bo_shrink_test_suite);
|
|
kunit_test_suite(xe_dma_buf_test_suite);
|
|
kunit_test_suite(xe_migrate_test_suite);
|
|
kunit_test_suite(xe_mocs_test_suite);
|
|
kunit_test_suite(xe_guc_g2g_test_suite);
|
|
|
|
MODULE_AUTHOR("Intel Corporation");
|
|
MODULE_LICENSE("GPL");
|
|
MODULE_DESCRIPTION("xe live kunit tests");
|
|
MODULE_IMPORT_NS("EXPORTED_FOR_KUNIT_TESTING");
|