mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
gpu: nvgpu: unit: add SWUTS docs for posix-fault-injection
This adds the SWUTS documentation for the posix fault injection unit test. JIRA NVGPU-3943 Change-Id: I3b76d7c29599a053a9d10b57387b21dc4c3a1ca9 Signed-off-by: Philip Elcan <pelcan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2200022 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
837f2a58f4
commit
3e288dd836
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -55,7 +55,6 @@ static bool verify_fi_disabled(struct unit_module *m)
|
||||
return true;
|
||||
}
|
||||
|
||||
/* This test is for test environment initialization */
|
||||
int test_dma_alloc_init(struct unit_module *m,
|
||||
struct gk20a *g, void *__args)
|
||||
{
|
||||
@@ -67,10 +66,6 @@ int test_dma_alloc_init(struct unit_module *m,
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This test verifies the default case for dma_alloc operations when fault
|
||||
* injection is disabled.
|
||||
*/
|
||||
int test_dma_alloc_fi_default(struct unit_module *m,
|
||||
struct gk20a *g, void *__args)
|
||||
{
|
||||
@@ -111,10 +106,6 @@ test_exit:
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
* This test enables fault injection for dma_alloc immediately then verifies the
|
||||
* first call to a dma_alloc fails.
|
||||
*/
|
||||
int test_dma_alloc_fi_enabled(struct unit_module *m,
|
||||
struct gk20a *g, void *__args)
|
||||
{
|
||||
@@ -160,7 +151,6 @@ test_exit:
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* This is a test of delayed fault injection enabling for dma_alloc */
|
||||
int test_dma_alloc_fi_delayed_enable(struct unit_module *m,
|
||||
struct gk20a *g, void *__args)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user