gpu: nvgpu: SWUTS: clean up test types

Apply the following changes to test types:
* "Init" --> "Other (setup)"
* "Coverage" --> Removed since it's implied for all tests
* "Feature based" --> "Feature"
* "Boundary Value analysis" and "Boundary values based" --> "Boundary values"
* "Error guessing based" --> "Error guessing"

JIRA NVGPU-3510

Change-Id: I3a9c0c59e6ad806f3479caa5e9a62f4d89f76923
Signed-off-by: Nicolas Benech <nbenech@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2265670
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Nicolas Benech
2019-12-19 11:14:53 -05:00
committed by Alex Waterman
parent 7dd618980a
commit b682091b13
79 changed files with 376 additions and 376 deletions

View File

@@ -35,7 +35,7 @@ struct unit_module;
* Description: The test_acr_init shall test the initialisation of * Description: The test_acr_init shall test the initialisation of
* the ACR unit * the ACR unit
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -58,7 +58,7 @@ int test_acr_init(struct unit_module *m, struct gk20a *g, void *args);
* Description: The test_acr_prepare_ucode_blob shall test the blob creation of * Description: The test_acr_prepare_ucode_blob shall test the blob creation of
* the ACR unit * the ACR unit
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* Steps: * Steps:
@@ -83,7 +83,7 @@ int test_acr_prepare_ucode_blob(struct unit_module *m, struct gk20a *g,
* Description: The test_acr_is_lsf_lazy_bootstrap shall test the * Description: The test_acr_is_lsf_lazy_bootstrap shall test the
* lazy bootstrap of the ACR unit * lazy bootstrap of the ACR unit
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -111,7 +111,7 @@ int test_acr_is_lsf_lazy_bootstrap(struct unit_module *m, struct gk20a *g,
* 1. Blob construct of LS ucode in non-wpr memory * 1. Blob construct of LS ucode in non-wpr memory
* 2. ACR HS ucode load & bootstrap * 2. ACR HS ucode load & bootstrap
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -139,7 +139,7 @@ int test_acr_construct_execute(struct unit_module *m,
* Description: The test_acr_bootstrap_hs_acr shall test the ACR HS ucode load * Description: The test_acr_bootstrap_hs_acr shall test the ACR HS ucode load
* & bootstrap functionality of the ACR unit * & bootstrap functionality of the ACR unit
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -171,7 +171,7 @@ int test_acr_bootstrap_hs_acr(struct unit_module *m,
* Description: The free_falcon_test_env shall free up the falcon * Description: The free_falcon_test_env shall free up the falcon
* test environment. * test environment.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *

View File

@@ -73,7 +73,7 @@ int test_free_env(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Validate function of nvgpu_ce_init_support. * Description: Validate function of nvgpu_ce_init_support.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_ce_init_support * Targets: nvgpu_ce_init_support
* *
@@ -95,7 +95,7 @@ int test_ce_init_support(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Validate function of gv11b_ce_stall_isr. * Description: Validate function of gv11b_ce_stall_isr.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_ce_stall_isr * Targets: gv11b_ce_stall_isr
* *
@@ -120,7 +120,7 @@ int test_ce_stall_isr(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Validate function of gp10b_ce_nonstall_isr. * Description: Validate function of gp10b_ce_nonstall_isr.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_ce_nonstall_isr * Targets: gp10b_ce_nonstall_isr
* *
@@ -146,7 +146,7 @@ int test_ce_nonstall_isr(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Validate function of gv11b_ce_mthd_buffer_fault_in_bar2_fault. * Description: Validate function of gv11b_ce_mthd_buffer_fault_in_bar2_fault.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_ce_mthd_buffer_fault_in_bar2_fault * Targets: gv11b_ce_mthd_buffer_fault_in_bar2_fault
* *
@@ -172,7 +172,7 @@ int test_mthd_buffer_fault_in_bar2_fault(struct unit_module *m, struct gk20a *g,
* *
* Description: Validate function of gv11b_ce_get_num_pce. * Description: Validate function of gv11b_ce_get_num_pce.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_ce_get_num_pce * Targets: gv11b_ce_get_num_pce
* *
@@ -193,7 +193,7 @@ int test_get_num_pce(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Validate function of gv11b_ce_init_prod_values. * Description: Validate function of gv11b_ce_init_prod_values.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_ce_init_prod_values * Targets: gv11b_ce_init_prod_values
* *

View File

@@ -35,7 +35,7 @@ struct unit_module;
* Description: The cg unit shall be able to setup the clock gating register * Description: The cg unit shall be able to setup the clock gating register
* values as specified in the hal reglist structures for BLCG/SLCG. * values as specified in the hal reglist structures for BLCG/SLCG.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: The struct specifying type of clock gating, target nvgpu routine * Input: The struct specifying type of clock gating, target nvgpu routine
* that handles the setup, clock gating domain descriptors. * that handles the setup, clock gating domain descriptors.
@@ -82,7 +82,7 @@ int test_cg(struct unit_module *m, struct gk20a *g, void *args);
* Description: The cg unit shall be able to setup the engine therm register * Description: The cg unit shall be able to setup the engine therm register
* values to enable/disable ELCG. * values to enable/disable ELCG.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Validate common.class unit API. * Description: Validate common.class unit API.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Targets: #gv11b_class_is_valid_compute, * Targets: #gv11b_class_is_valid_compute,
* #gv11b_class_is_valid. * #gv11b_class_is_valid.

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Initialize GPU enabled_flags * Description: Initialize GPU enabled_flags
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -59,7 +59,7 @@ int test_nvgpu_init_enabled_flags(struct unit_module *m, struct gk20a *g,
* *
* Description: Check if enabled_flags are set to false. * Description: Check if enabled_flags are set to false.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_nvgpu_init_enabled_flags * Input: test_nvgpu_init_enabled_flags
* *
@@ -79,7 +79,7 @@ int test_nvgpu_enabled_flags_false_check(struct unit_module *m,
* *
* Description: Set and reset enabled_flags * Description: Set and reset enabled_flags
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_nvgpu_init_enabled_flags * Input: test_nvgpu_init_enabled_flags
* *

View File

@@ -35,7 +35,7 @@ struct unit_module;
* Description: The falcon unit shall be able to initialize the falcon's * Description: The falcon unit shall be able to initialize the falcon's
* base register address, required software setup for valid falcon ID. * base register address, required software setup for valid falcon ID.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -67,7 +67,7 @@ int test_falcon_sw_init_free(struct unit_module *m, struct gk20a *g,
* Description: The falcon unit shall be able to reset the falcon CPU or trigger * Description: The falcon unit shall be able to reset the falcon CPU or trigger
* engine specific reset for valid falcon ID. * engine specific reset for valid falcon ID.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -91,7 +91,7 @@ int test_falcon_reset(struct unit_module *m, struct gk20a *g, void *__args);
* Description: The falcon unit shall be able to check and return the falcon * Description: The falcon unit shall be able to check and return the falcon
* memory scrub status. * memory scrub status.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -116,7 +116,7 @@ int test_falcon_mem_scrub(struct unit_module *m, struct gk20a *g, void *__args);
* Description: The falcon unit shall be able to check and return the falcon * Description: The falcon unit shall be able to check and return the falcon
* idle status. * idle status.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -144,7 +144,7 @@ int test_falcon_idle(struct unit_module *m, struct gk20a *g, void *__args);
* Description: The falcon unit shall be able to check and return the falcon * Description: The falcon unit shall be able to check and return the falcon
* halt status. * halt status.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -169,7 +169,7 @@ int test_falcon_halt(struct unit_module *m, struct gk20a *g, void *__args);
* Description: The falcon unit shall be able to write to falcon's IMEM and * Description: The falcon unit shall be able to write to falcon's IMEM and
* DMEM. * DMEM.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -197,7 +197,7 @@ int test_falcon_mem_rw_init(struct unit_module *m, struct gk20a *g,
* Description: The falcon unit shall be able to write to falcon's IMEM and * Description: The falcon unit shall be able to write to falcon's IMEM and
* DMEM in accessible range. * DMEM in accessible range.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -222,7 +222,7 @@ int test_falcon_mem_rw_range(struct unit_module *m, struct gk20a *g,
* Description: The falcon unit shall be able to write to falcon's IMEM and * Description: The falcon unit shall be able to write to falcon's IMEM and
* DMEM only at aligned offsets. * DMEM only at aligned offsets.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -248,7 +248,7 @@ int test_falcon_mem_rw_aligned(struct unit_module *m, struct gk20a *g,
* Description: The falcon unit shall fail the API call to write zero * Description: The falcon unit shall fail the API call to write zero
* bytes to falcon memory. * bytes to falcon memory.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -269,7 +269,7 @@ int test_falcon_mem_rw_zero(struct unit_module *m, struct gk20a *g,
* Description: The falcon unit shall read and write value of falcon's mailbox * Description: The falcon unit shall read and write value of falcon's mailbox
* registers. * registers.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -293,7 +293,7 @@ int test_falcon_mailbox(struct unit_module *m, struct gk20a *g, void *__args);
* Description: The falcon unit shall configure the bootstrap parameters into * Description: The falcon unit shall configure the bootstrap parameters into
* falcon memory and registers. * falcon memory and registers.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -333,7 +333,7 @@ int test_falcon_bootstrap(struct unit_module *m, struct gk20a *g, void *__args);
* Description: The falcon unit shall be able to read/write from/to falcon's * Description: The falcon unit shall be able to read/write from/to falcon's
* IMEM and DMEM from memory buffer that is unaligned. * IMEM and DMEM from memory buffer that is unaligned.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None. * Input: None.
* *

View File

@@ -40,7 +40,7 @@ struct unit_module;
* Targets: nvgpu_ecc_init_support, gv11b_fb_init_hw, gv11b_fb_init_fs_state, * Targets: nvgpu_ecc_init_support, gv11b_fb_init_hw, gv11b_fb_init_fs_state,
* gv11b_fb_ecc_init, gv11b_fb_ecc_free * gv11b_fb_ecc_init, gv11b_fb_ecc_free
* *
* Test Type: Feature based, Init, Error injection * Test Type: Feature, Other (setup), Error injection
* *
* Input: None * Input: None
* *
@@ -68,7 +68,7 @@ int fb_gv11b_init_test(struct unit_module *m, struct gk20a *g, void *args);
* *
* Targets: gm20b_fb_tlb_invalidate * Targets: gm20b_fb_tlb_invalidate
* *
* Test Type: Feature based, Error injection * Test Type: Feature, Error injection
* *
* Input: None * Input: None
* *
@@ -107,7 +107,7 @@ int fb_gm20b_tlb_invalidate_test(struct unit_module *m, struct gk20a *g,
* gm20b_fb_mmu_debug_rd, gm20b_fb_vpr_info_fetch, gm20b_fb_dump_vpr_info, * gm20b_fb_mmu_debug_rd, gm20b_fb_vpr_info_fetch, gm20b_fb_dump_vpr_info,
* gm20b_fb_dump_wpr_info, gm20b_fb_read_wpr_info * gm20b_fb_dump_wpr_info, gm20b_fb_read_wpr_info
* *
* Test Type: Feature based, Error injection * Test Type: Feature, Error injection
* *
* Input: None * Input: None
* *
@@ -164,7 +164,7 @@ int fb_mmu_fault_gv11b_init_test(struct unit_module *m, struct gk20a *g,
* gv11b_fb_write_mmu_fault_buffer_size, gv11b_fb_fault_buf_set_state_hw, * gv11b_fb_write_mmu_fault_buffer_size, gv11b_fb_fault_buf_set_state_hw,
* gv11b_fb_read_mmu_fault_status, gv11b_fb_fault_buf_configure_hw * gv11b_fb_read_mmu_fault_status, gv11b_fb_fault_buf_configure_hw
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: fb_mmu_fault_gv11b_init_test * Input: fb_mmu_fault_gv11b_init_test
* *
@@ -205,7 +205,7 @@ int fb_mmu_fault_gv11b_buffer_test(struct unit_module *m, struct gk20a *g,
* *
* Targets: gv11b_mm_copy_from_fault_snap_reg * Targets: gv11b_mm_copy_from_fault_snap_reg
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: fb_mmu_fault_gv11b_init_test * Input: fb_mmu_fault_gv11b_init_test
* *
@@ -231,7 +231,7 @@ int fb_mmu_fault_gv11b_snap_reg(struct unit_module *m, struct gk20a *g,
* *
* Targets: gv11b_fb_handle_mmu_fault, gv11b_fb_fault_buf_set_state_hw * Targets: gv11b_fb_handle_mmu_fault, gv11b_fb_fault_buf_set_state_hw
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: fb_mmu_fault_gv11b_init_test * Input: fb_mmu_fault_gv11b_init_test
* *
@@ -262,7 +262,7 @@ int fb_mmu_fault_gv11b_handle_fault(struct unit_module *m, struct gk20a *g,
* Targets: gv11b_fb_handle_bar2_fault, gv11b_fb_mmu_fault_info_dump, * Targets: gv11b_fb_handle_bar2_fault, gv11b_fb_mmu_fault_info_dump,
* gv11b_fb_fault_buf_set_state_hw * gv11b_fb_fault_buf_set_state_hw
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: fb_mmu_fault_gv11b_init_test * Input: fb_mmu_fault_gv11b_init_test
* *
@@ -309,7 +309,7 @@ int fb_intr_gv11b_init_test(struct unit_module *m, struct gk20a *g, void *args);
* *
* Targets: gv11b_fb_intr_enable, gv11b_fb_intr_disable, gv11b_fb_intr_isr * Targets: gv11b_fb_intr_enable, gv11b_fb_intr_disable, gv11b_fb_intr_isr
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: fb_intr_gv11b_init_test * Input: fb_intr_gv11b_init_test
* *
@@ -343,7 +343,7 @@ int fb_intr_gv11b_isr_test(struct unit_module *m, struct gk20a *g, void *args);
* Targets: gv11b_fb_ecc_init, gv11b_fb_intr_isr, gv11b_fb_intr_handle_ecc, * Targets: gv11b_fb_ecc_init, gv11b_fb_intr_isr, gv11b_fb_intr_handle_ecc,
* gv11b_fb_ecc_free * gv11b_fb_ecc_free
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: fb_intr_gv11b_init_test, args as a subcase with one of these values: * Input: fb_intr_gv11b_init_test, args as a subcase with one of these values:
* - TEST_ECC_L2TLB * - TEST_ECC_L2TLB

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Branch coverage for gk20a_channel_enable * Description: Branch coverage for gk20a_channel_enable
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -57,7 +57,7 @@ int test_gk20a_channel_enable(struct unit_module *m,
* *
* Description: Branch coverage for gk20a_channel_disable * Description: Branch coverage for gk20a_channel_disable
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -76,7 +76,7 @@ int test_gk20a_channel_disable(struct unit_module *m,
* *
* Description: Branch coverage for gk20a_channel_read_state * Description: Branch coverage for gk20a_channel_read_state
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Bind channel to HW * Description: Bind channel to HW
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_channel_bind * Targets: gm20b_channel_bind
* *
@@ -64,7 +64,7 @@ int test_gm20b_channel_bind(struct unit_module *m,
* *
* Description: Force reload of channel context * Description: Force reload of channel context
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_channel_force_ctx_reload * Targets: gm20b_channel_force_ctx_reload
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Branch coverage for gv11b_channel_unbind * Description: Branch coverage for gv11b_channel_unbind
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -61,7 +61,7 @@ int test_gv11b_channel_unbind(struct unit_module *m,
* *
* Description: Branch coverage for gv11b_channel_count * Description: Branch coverage for gv11b_channel_count
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -78,7 +78,7 @@ int test_gv11b_channel_count(struct unit_module *m,
* *
* Description: Branch coverage for gv11b_channel_read_state * Description: Branch coverage for gv11b_channel_read_state
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -100,7 +100,7 @@ int test_gv11b_channel_read_state(struct unit_module *m,
* *
* Description: Branch coverage for gv11b_channel_reset_faulted * Description: Branch coverage for gv11b_channel_reset_faulted
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -121,7 +121,7 @@ int test_gv11b_channel_reset_faulted(struct unit_module *m,
* *
* Description: Branch coverage for gv11b_channel_debug_dump * Description: Branch coverage for gv11b_channel_debug_dump
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *

View File

@@ -40,7 +40,7 @@ struct gk20a;
* *
* Description: Branch coverage for nvgpu_channel_setup/cleanup_sw. * Description: Branch coverage for nvgpu_channel_setup/cleanup_sw.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -61,7 +61,7 @@ int test_channel_setup_sw(struct unit_module *m,
* *
* Description: Branch coverage for nvgpu_channel_open_new. * Description: Branch coverage for nvgpu_channel_open_new.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -99,7 +99,7 @@ int test_channel_open(struct unit_module *m,
* *
* Description: Branch coverage for nvgpu_channel_close/kill. * Description: Branch coverage for nvgpu_channel_close/kill.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -130,7 +130,7 @@ int test_channel_close(struct unit_module *m,
* *
* Description: Branch coverage for nvgpu_channel_setup_bind. * Description: Branch coverage for nvgpu_channel_setup_bind.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -167,7 +167,7 @@ int test_channel_setup_bind(struct unit_module *m,
* *
* Description: Branch coverage for nvgpu_channel_alloc_inst. * Description: Branch coverage for nvgpu_channel_alloc_inst.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -193,7 +193,7 @@ int test_channel_alloc_inst(struct unit_module *m,
* *
* Description: Branch coverage for nvgpu_channel_refch_from_inst_ptr. * Description: Branch coverage for nvgpu_channel_refch_from_inst_ptr.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -216,7 +216,7 @@ int test_channel_from_inst(struct unit_module *m,
* *
* Description: Branch coverage for nvgpu_channel_enable/disable_tsg. * Description: Branch coverage for nvgpu_channel_enable/disable_tsg.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Branch coverage for gm20b_read_engine_status_info * Description: Branch coverage for gm20b_read_engine_status_info
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support has run. * Input: test_fifo_init_support has run.
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Branch coverage for gp10b_engine_init_ce_info * Description: Branch coverage for gp10b_engine_init_ce_info
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support has run.. * Input: test_fifo_init_support has run..
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Branch coverage for gv100_read_engine_status_info * Description: Branch coverage for gv100_read_engine_status_info
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -57,7 +57,7 @@ int test_gv100_read_engine_status_info(struct unit_module *m,
* *
* Description: Branch coverage for gv100_dump_engine_status * Description: Branch coverage for gv100_dump_engine_status
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Branch coverage for gv11b_is_fault_engine_subid_gpc * Description: Branch coverage for gv11b_is_fault_engine_subid_gpc
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *

View File

@@ -40,7 +40,7 @@ struct gk20a;
* *
* Description: Branch coverage for nvgpu_channel_setup/cleanup_sw. * Description: Branch coverage for nvgpu_channel_setup/cleanup_sw.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -61,7 +61,7 @@ int test_engine_setup_sw(struct unit_module *m,
* *
* Description: Branch coverage for nvgpu_engine_init_info * Description: Branch coverage for nvgpu_engine_init_info
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support must have run. * Input: test_fifo_init_support must have run.
* *
@@ -86,7 +86,7 @@ int test_engine_init_info(struct unit_module *m,
* nvgpu_engine_check_valid_id and * nvgpu_engine_check_valid_id and
* nvgpu_engine_get_gr_id * nvgpu_engine_get_gr_id
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support must have run. * Input: test_fifo_init_support must have run.
* *
@@ -110,7 +110,7 @@ int test_engine_ids(struct unit_module *m,
* *
* Description: Branch coverage for nvgpu_engine_get_active_eng_info * Description: Branch coverage for nvgpu_engine_get_active_eng_info
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_engine_ids must have run. * Input: test_engine_ids must have run.
* *
@@ -132,7 +132,7 @@ int test_engine_get_active_eng_info(struct unit_module *m,
* *
* Description: Branch coverage for nvgpu_engine_enum_from_type * Description: Branch coverage for nvgpu_engine_enum_from_type
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_engine_ids must have run. * Input: test_engine_ids must have run.
* *
@@ -155,7 +155,7 @@ int test_engine_enum_from_type(struct unit_module *m,
* *
* Description: Engine interrupt masks * Description: Engine interrupt masks
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_gr_engine_interrupt_mask, nvgpu_ce_engine_interrupt_mask, * Targets: nvgpu_gr_engine_interrupt_mask, nvgpu_ce_engine_interrupt_mask,
* nvgpu_engine_act_interrupt_mask, nvgpu_engine_get_all_ce_reset_mask * nvgpu_engine_act_interrupt_mask, nvgpu_engine_get_all_ce_reset_mask

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Init PBDMA to runlists map * Description: Init PBDMA to runlists map
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_fifo_init_pbdma_map * Targets: gk20a_fifo_init_pbdma_map
* *
@@ -60,7 +60,7 @@ int test_gk20a_init_pbdma_map(struct unit_module *m,
* *
* Description: Init PBDMA to runlists map * Description: Init PBDMA to runlists map
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_fifo_get_runlist_timeslice, gk20a_fifo_get_pb_timeslice * Targets: gk20a_fifo_get_runlist_timeslice, gk20a_fifo_get_pb_timeslice
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Enable/disable non-stalling interrupts * Description: Enable/disable non-stalling interrupts
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_fifo_intr_1_enable * Targets: gk20a_fifo_intr_1_enable
* *
@@ -61,7 +61,7 @@ int test_gk20a_fifo_intr_1_enable(struct unit_module *m,
* *
* Description: Non-stalling interrupt service routine * Description: Non-stalling interrupt service routine
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_fifo_intr_1_isr * Targets: gk20a_fifo_intr_1_isr
* *
@@ -83,7 +83,7 @@ int test_gk20a_fifo_intr_1_isr(struct unit_module *m,
* *
* Description: Non-stalling interrupt service routine * Description: Non-stalling interrupt service routine
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_fifo_intr_handle_chsw_error * Targets: gk20a_fifo_intr_handle_chsw_error
* *
@@ -108,7 +108,7 @@ int test_gk20a_fifo_intr_handle_chsw_error(struct unit_module *m,
* *
* Description: Non-stalling interrupt service routine * Description: Non-stalling interrupt service routine
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_fifo_intr_handle_runlist_event * Targets: gk20a_fifo_intr_handle_runlist_event
* *
@@ -131,7 +131,7 @@ int test_gk20a_fifo_intr_handle_runlist_event(struct unit_module *m,
* *
* Description: PBDMA interrupt service routine * Description: PBDMA interrupt service routine
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_fifo_pbdma_isr * Targets: gk20a_fifo_pbdma_isr
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Reset and enable HW * Description: Reset and enable HW
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_init_fifo_reset_enable_hw, gv11b_init_fifo_setup_hw * Targets: gv11b_init_fifo_reset_enable_hw, gv11b_init_fifo_setup_hw
* *
@@ -61,7 +61,7 @@ int test_gv11b_fifo_init_hw(struct unit_module *m,
* *
* Description: Get PBDMA id from MMU fault * Description: Get PBDMA id from MMU fault
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_fifo_mmu_fault_id_to_pbdma_id * Targets: gv11b_fifo_mmu_fault_id_to_pbdma_id
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Enable stalling interrupts * Description: Enable stalling interrupts
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_fifo_intr_0_enable * Targets: gv11b_fifo_intr_0_enable
* *
@@ -67,7 +67,7 @@ int test_gv11b_fifo_intr_0_enable(struct unit_module *m,
* *
* Description: Handle scheduling error * Description: Handle scheduling error
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_fifo_handle_sched_error * Targets: gv11b_fifo_handle_sched_error
* *
@@ -90,7 +90,7 @@ int test_gv11b_fifo_handle_sched_error(struct unit_module *m,
* *
* Description: Stalling interrupt handler * Description: Stalling interrupt handler
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_fifo_intr_0_isr * Targets: gv11b_fifo_intr_0_isr
* *
@@ -116,7 +116,7 @@ int test_gv11b_fifo_intr_0_isr(struct unit_module *m,
* *
* Description: Set/unset recovery mask * Description: Set/unset recovery mask
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_fifo_intr_set_recover_mask, gv11b_fifo_intr_unset_recover_mask * Targets: gv11b_fifo_intr_set_recover_mask, gv11b_fifo_intr_unset_recover_mask
* *

View File

@@ -46,7 +46,7 @@
* *
* Description: The FIFO unit shall initialize all sub-units. * Description: The FIFO unit shall initialize all sub-units.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -77,7 +77,7 @@ int test_fifo_init_support(struct unit_module *m,
* *
* Description: The FIFO unit shall de-initialize all sub-units. * Description: The FIFO unit shall de-initialize all sub-units.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() called for this GPU. * Input: test_fifo_init_support() called for this GPU.
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Branch coverage for PBDMA acquire timeout. * Description: Branch coverage for PBDMA acquire timeout.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_pbdma_acquire_val * Targets: gm20b_pbdma_acquire_val
* *
@@ -66,7 +66,7 @@ int test_gm20b_pbdma_acquire_val(struct unit_module *m,
* *
* Targets: gm20b_pbdma_handle_intr * Targets: gm20b_pbdma_handle_intr
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -94,7 +94,7 @@ int test_gm20b_pbdma_handle_intr(struct unit_module *m,
* *
* Description: Branch coverage for PBDMA stalling interrupt handler * Description: Branch coverage for PBDMA stalling interrupt handler
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_pbdma_handle_intr_0, gm20b_pbdma_reset_header * Targets: gm20b_pbdma_handle_intr_0, gm20b_pbdma_reset_header
* *
@@ -127,7 +127,7 @@ int test_gm20b_pbdma_handle_intr_0(struct unit_module *m,
* *
* Description: Branch coverage for reading PBDMA header shadow. * Description: Branch coverage for reading PBDMA header shadow.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_pbdma_read_data * Targets: gm20b_pbdma_read_data
* *
@@ -148,7 +148,7 @@ int test_gm20b_pbdma_read_data(struct unit_module *m,
* *
* Description: Branch coverage for interrupt descriptors. * Description: Branch coverage for interrupt descriptors.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_pbdma_device_fatal_0_intr_descs, * Targets: gm20b_pbdma_device_fatal_0_intr_descs,
* gm20b_pbdma_restartable_0_intr_descs. * gm20b_pbdma_restartable_0_intr_descs.
@@ -171,7 +171,7 @@ int test_gm20b_pbdma_intr_descs(struct unit_module *m,
* *
* Description: Format a GPFIFO entry. * Description: Format a GPFIFO entry.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_pbdma_format_gpfifo_entry * Targets: gm20b_pbdma_format_gpfifo_entry
* *
@@ -193,7 +193,7 @@ int test_gm20b_pbdma_format_gpfifo_entry(struct unit_module *m,
* *
* Description: Branch coverage for GPFIFO base. * Description: Branch coverage for GPFIFO base.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_pbdma_get_gp_base, test_gm20b_pbdma_get_gp_base_hi * Targets: gm20b_pbdma_get_gp_base, test_gm20b_pbdma_get_gp_base_hi
* *
@@ -217,7 +217,7 @@ int test_gm20b_pbdma_get_gp_base(struct unit_module *m,
* *
* Description: Check RAMFC wrappers for instance block init * Description: Check RAMFC wrappers for instance block init
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_pbdma_get_fc_subdevice * Targets: gm20b_pbdma_get_fc_subdevice
* *
@@ -257,7 +257,7 @@ int test_gm20b_pbdma_get_ctrl_hce_priv_mode_yes(struct unit_module *m,
* *
* Description: Check USERD HALs for instance block init * Description: Check USERD HALs for instance block init
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_pbdma_get_userd_addr, gm20b_pbdma_get_userd_hi_addr, * Targets: gm20b_pbdma_get_userd_addr, gm20b_pbdma_get_userd_hi_addr,
* gm20b_pbdma_get_userd_aperture_mask * gm20b_pbdma_get_userd_aperture_mask

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Get RAMFC setting for PBDMA signature * Description: Get RAMFC setting for PBDMA signature
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_pbdma_get_signature * Targets: gp10b_pbdma_get_signature
* *
@@ -58,7 +58,7 @@ int test_gp10b_pbdma_get_signature(struct unit_module *m,
* *
* Description: Get RAMFC setting for runlist timeslice * Description: Get RAMFC setting for runlist timeslice
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_pbdma_get_fc_runlist_timeslice * Targets: gp10b_pbdma_get_fc_runlist_timeslice
* *
@@ -79,7 +79,7 @@ int test_gp10b_pbdma_get_fc_runlist_timeslice(struct unit_module *m,
* *
* Description: Get RAMFC setting for privileged channel * Description: Get RAMFC setting for privileged channel
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_pbdma_get_config_auth_level_privileged * Targets: gp10b_pbdma_get_config_auth_level_privileged
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: PBDMA H/W initialization. * Description: PBDMA H/W initialization.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_pbdma_setup_hw * Targets: gv11b_pbdma_setup_hw
* *
@@ -59,7 +59,7 @@ int test_gv11b_pbdma_setup_hw(struct unit_module *m,
* *
* Description: PBDMA interrupt enabling/disabling. * Description: PBDMA interrupt enabling/disabling.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: test_gv11b_pbdma_intr_enable * Targets: test_gv11b_pbdma_intr_enable
* *
@@ -94,7 +94,7 @@ int test_gv11b_pbdma_intr_enable(struct unit_module *m,
* *
* Description: Interrupt handling for pbdma_intr_0 * Description: Interrupt handling for pbdma_intr_0
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_pbdma_handle_intr_0 * Targets: gv11b_pbdma_handle_intr_0
* *
@@ -119,7 +119,7 @@ int test_gv11b_pbdma_handle_intr_0(struct unit_module *m,
* *
* Description: Interrupt handling for pbdma_intr_1 * Description: Interrupt handling for pbdma_intr_1
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_pbdma_handle_intr_1 * Targets: gv11b_pbdma_handle_intr_1
* *
@@ -143,7 +143,7 @@ int test_gv11b_pbdma_handle_intr_1(struct unit_module *m,
* *
* Description: Fatal channel interrupt mask * Description: Fatal channel interrupt mask
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_pbdma_channel_fatal_0_intr_descs. * Targets: gv11b_pbdma_channel_fatal_0_intr_descs.
* *
@@ -163,7 +163,7 @@ int test_gv11b_pbdma_intr_descs(struct unit_module *m,
* *
* Description: Get settings to program RAMFC. * Description: Get settings to program RAMFC.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_pbdma_get_fc_pb_header, gv11b_pbdma_get_fc_target * Targets: gv11b_pbdma_get_fc_pb_header, gv11b_pbdma_get_fc_target
* *
@@ -185,7 +185,7 @@ int test_gv11b_pbdma_get_fc(struct unit_module *m,
* *
* Description: PBDMA sub-context id (aka veid) * Description: PBDMA sub-context id (aka veid)
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_pbdma_set_channel_info_veid * Targets: gv11b_pbdma_set_channel_info_veid
* *
@@ -205,7 +205,7 @@ int test_gv11b_pbdma_set_channel_info_veid(struct unit_module *m,
* *
* Description: USERD writeback enable * Description: USERD writeback enable
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_pbdma_config_userd_writeback_enable * Targets: gv11b_pbdma_config_userd_writeback_enable
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Branch coverage for nvgpu_pbdma_setup/cleanup_sw * Description: Branch coverage for nvgpu_pbdma_setup/cleanup_sw
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: none. * Input: none.
* *
@@ -64,7 +64,7 @@ int test_pbdma_setup_sw(struct unit_module *m,
* *
* Description: Branch coverage for nvgpu_pbdma_find_for_runlist * Description: Branch coverage for nvgpu_pbdma_find_for_runlist
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU. * Input: test_fifo_init_support() run for this GPU.
* *
@@ -86,7 +86,7 @@ int test_pbdma_find_for_runlist(struct unit_module *m,
* *
* Description: Branch coverage for nvgpu_pbdma_status_* functions. * Description: Branch coverage for nvgpu_pbdma_status_* functions.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU. * Input: test_fifo_init_support() run for this GPU.
* *

View File

@@ -37,7 +37,7 @@ struct gk20a;
* *
* Description: Test TSG preempt. * Description: Test TSG preempt.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_preempt_channel * Targets: nvgpu_preempt_channel
* *
@@ -57,7 +57,7 @@ int test_preempt(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Poll and preempt all TSGs serving PBDMA. * Description: Poll and preempt all TSGs serving PBDMA.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_preempt_poll_tsg_on_pbdma * Targets: nvgpu_preempt_poll_tsg_on_pbdma
* *
@@ -76,7 +76,7 @@ int test_preempt_poll_tsg_on_pbdma(struct unit_module *m, struct gk20a *g,
* *
* Description: Check GPU timeout value * Description: Check GPU timeout value
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_preempt_get_timeout * Targets: nvgpu_preempt_get_timeout
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Branch coverage for gk20a_runlist_length_max * Description: Branch coverage for gk20a_runlist_length_max
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -55,7 +55,7 @@ int test_gk20a_runlist_length_max(struct unit_module *m,
* *
* Description: Branch coverage for gk20a_runlist_hw_submit * Description: Branch coverage for gk20a_runlist_hw_submit
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -74,7 +74,7 @@ int test_gk20a_runlist_hw_submit(struct unit_module *m,
* *
* Description: Branch coverage for gk20a_runlist_wait_pending * Description: Branch coverage for gk20a_runlist_wait_pending
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -103,7 +103,7 @@ int test_gk20a_runlist_wait_pending(struct unit_module *m,
* *
* Description: Branch coverage for gk20a_runlist_write_state * Description: Branch coverage for gk20a_runlist_write_state
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Branch coverage for gv11b_runlist_entry_size * Description: Branch coverage for gv11b_runlist_entry_size
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -55,7 +55,7 @@ int test_gv11b_runlist_entry_size(struct unit_module *m,
* *
* Description: Branch coverage for gv11b_runlist_get_tsg_entry * Description: Branch coverage for gv11b_runlist_get_tsg_entry
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -77,7 +77,7 @@ int test_gv11b_runlist_get_tsg_entry(struct unit_module *m,
* *
* Description: Branch coverage for gv11b_runlist_get_ch_entry * Description: Branch coverage for gv11b_runlist_get_ch_entry
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *

View File

@@ -37,7 +37,7 @@ struct gk20a;
* *
* Description: Test runlist context initialization. * Description: Test runlist context initialization.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_runlist_setup_sw, nvgpu_init_active_runlist_mapping, * Targets: nvgpu_runlist_setup_sw, nvgpu_init_active_runlist_mapping,
* nvgpu_init_runlist_enginfo, nvgpu_runlist_cleanup_sw * nvgpu_init_runlist_enginfo, nvgpu_runlist_cleanup_sw
@@ -57,7 +57,7 @@ int test_runlist_setup_sw(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Check lists of runlists servicing engine/PBDMA/TSG. * Description: Check lists of runlists servicing engine/PBDMA/TSG.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_runlist_get_runlists_mask * Targets: nvgpu_runlist_get_runlists_mask
* *
@@ -76,7 +76,7 @@ int test_runlist_get_mask(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Acquire and release runlist lock. * Description: Acquire and release runlist lock.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_runlist_lock_active_runlists, * Targets: nvgpu_runlist_lock_active_runlists,
* nvgpu_runlist_unlock_active_runlists, nvgpu_runlist_unlock_runlists * nvgpu_runlist_unlock_active_runlists, nvgpu_runlist_unlock_runlists
@@ -98,7 +98,7 @@ int test_runlist_lock_unlock_active_runlists(struct unit_module *m,
* *
* Description: Test enable/disable of runlists. * Description: Test enable/disable of runlists.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_runlist_set_state * Targets: nvgpu_runlist_set_state
* *
@@ -116,7 +116,7 @@ int test_runlist_set_state(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Get runlist interleave level name as string. * Description: Get runlist interleave level name as string.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_runlist_interleave_level_name * Targets: nvgpu_runlist_interleave_level_name
* *
@@ -135,7 +135,7 @@ int test_runlist_interleave_level_name(struct unit_module *m,
* *
* Description: Test format of TSG runlist entry * Description: Test format of TSG runlist entry
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_runlist_construct_locked, nvgpu_runlist_append_flat, * Targets: nvgpu_runlist_construct_locked, nvgpu_runlist_append_flat,
* nvgpu_runlist_append_prio, nvgpu_runlist_append_tsg * nvgpu_runlist_append_prio, nvgpu_runlist_append_tsg
@@ -173,7 +173,7 @@ int test_tsg_format_gen(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Build runlist without interleaving (aka "flat") * Description: Build runlist without interleaving (aka "flat")
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_runlist_construct_locked, nvgpu_runlist_append_flat, * Targets: nvgpu_runlist_construct_locked, nvgpu_runlist_append_flat,
* nvgpu_runlist_append_prio, nvgpu_runlist_append_tsg * nvgpu_runlist_append_prio, nvgpu_runlist_append_tsg
@@ -205,7 +205,7 @@ int test_flat_gen(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Build runlist with interleaving, single level only * Description: Build runlist with interleaving, single level only
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_runlist_construct_locked, nvgpu_runlist_append_low, * Targets: nvgpu_runlist_construct_locked, nvgpu_runlist_append_low,
* nvgpu_runlist_append_med, nvgpu_runlist_append_hi, * nvgpu_runlist_append_med, nvgpu_runlist_append_hi,
@@ -240,7 +240,7 @@ int test_interleave_single(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Build runlist with interleaving, two different levels * Description: Build runlist with interleaving, two different levels
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_runlist_construct_locked, nvgpu_runlist_append_low, * Targets: nvgpu_runlist_construct_locked, nvgpu_runlist_append_low,
* nvgpu_runlist_append_med, nvgpu_runlist_append_hi, * nvgpu_runlist_append_med, nvgpu_runlist_append_hi,
@@ -276,7 +276,7 @@ int test_interleave_dual(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Build runlist with interleaving, all levels * Description: Build runlist with interleaving, all levels
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_runlist_construct_locked, nvgpu_runlist_append_low, * Targets: nvgpu_runlist_construct_locked, nvgpu_runlist_append_low,
* nvgpu_runlist_append_med, nvgpu_runlist_append_hi, * nvgpu_runlist_append_med, nvgpu_runlist_append_hi,
@@ -319,7 +319,7 @@ int test_interleaving_levels(struct unit_module *m, struct gk20a *g,
* *
* Description: Reload given runlists. * Description: Reload given runlists.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_runlist_reload_ids * Targets: nvgpu_runlist_reload_ids
* *
@@ -342,7 +342,7 @@ int test_runlist_reload_ids(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Add/remove channel from runlist. * Description: Add/remove channel from runlist.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_runlist_update_locked, gk20a_runlist_modify_active_locked, * Targets: nvgpu_runlist_update_locked, gk20a_runlist_modify_active_locked,
* gk20a_runlist_reconstruct_locked * gk20a_runlist_reconstruct_locked
@@ -359,4 +359,4 @@ int test_runlist_reload_ids(struct unit_module *m, struct gk20a *g, void *args);
int test_runlist_update_locked(struct unit_module *m, struct gk20a *g, int test_runlist_update_locked(struct unit_module *m, struct gk20a *g,
void *args); void *args);
#endif /* UNIT_NVGPU_RUNLIST_H */ #endif /* UNIT_NVGPU_RUNLIST_H */

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Branch coverage for gv11b_tsg_init_eng_method_buffers * Description: Branch coverage for gv11b_tsg_init_eng_method_buffers
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -71,7 +71,7 @@ int test_gv11b_tsg_init_eng_method_buffers(struct unit_module *m,
* *
* Description: Branch coverage for gv11b_tsg_bind_channel_eng_method_buffers * Description: Branch coverage for gv11b_tsg_bind_channel_eng_method_buffers
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *
@@ -98,7 +98,7 @@ int test_gv11b_tsg_bind_channel_eng_method_buffers(struct unit_module *m,
* *
* Description: Branch coverage for gv11b_tsg_unbind_channel_check_eng_faulted * Description: Branch coverage for gv11b_tsg_unbind_channel_check_eng_faulted
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fifo_init_support() run for this GPU * Input: test_fifo_init_support() run for this GPU
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Create TSG * Description: Create TSG
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_tsg_open * Targets: nvgpu_tsg_open
* *
@@ -69,7 +69,7 @@ int test_tsg_open(struct unit_module *m,
* *
* Description: Bind channel to TSG. * Description: Bind channel to TSG.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_tsg_bind_channel * Targets: nvgpu_tsg_bind_channel
* *
@@ -106,7 +106,7 @@ int test_tsg_bind_channel(struct unit_module *m,
* *
* Description: Unbind channel from TSG. * Description: Unbind channel from TSG.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_tsg_unbind_channel * Targets: nvgpu_tsg_unbind_channel
* *
@@ -151,7 +151,7 @@ int test_tsg_unbind_channel(struct unit_module *m,
* *
* Description: Release TSG. * Description: Release TSG.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_tsg_release * Targets: nvgpu_tsg_release
* *
@@ -186,7 +186,7 @@ int test_tsg_release(struct unit_module *m,
* *
* Description: Check HW state during TSG unbind channel. * Description: Check HW state during TSG unbind channel.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_tsg_unbind_channel_check_hw_state * Targets: nvgpu_tsg_unbind_channel_check_hw_state
* *
@@ -212,7 +212,7 @@ int test_tsg_unbind_channel_check_hw_state(struct unit_module *m,
* *
* Description: Check if channel reload is needed during TSG unbind * Description: Check if channel reload is needed during TSG unbind
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_tsg_unbind_channel_check_ctx_reload * Targets: nvgpu_tsg_unbind_channel_check_ctx_reload
* *
@@ -239,7 +239,7 @@ int test_tsg_unbind_channel_check_ctx_reload(struct unit_module *m,
* *
* Description: Enable/disable TSG * Description: Enable/disable TSG
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_tsg_enable, nvgpu_tsg_disable * Targets: nvgpu_tsg_enable, nvgpu_tsg_disable
* *
@@ -266,7 +266,7 @@ int test_tsg_enable(struct unit_module *m,
* *
* Description: Get TSG context from id * Description: Get TSG context from id
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: tsg_check_and_get_from_id * Targets: tsg_check_and_get_from_id
* *
@@ -288,7 +288,7 @@ int test_tsg_check_and_get_from_id(struct unit_module *m,
* *
* Description: Abort TSG * Description: Abort TSG
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_tsg_abort * Targets: nvgpu_tsg_abort
* *
@@ -316,7 +316,7 @@ int test_tsg_abort(struct unit_module *m,
* *
* Description: SW Initialization for TSGs * Description: SW Initialization for TSGs
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_tsg_setup_sw * Targets: nvgpu_tsg_setup_sw
* *
@@ -338,7 +338,7 @@ int test_tsg_setup_sw(struct unit_module *m,
* *
* Description: Mark all channels unserviceable in a TSG * Description: Mark all channels unserviceable in a TSG
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_tsg_mark_error * Targets: nvgpu_tsg_mark_error
* *
@@ -365,7 +365,7 @@ int test_tsg_mark_error(struct unit_module *m,
* *
* Description: Set MMU fault error notifier for TSG * Description: Set MMU fault error notifier for TSG
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_tsg_set_ctx_mmu_error * Targets: nvgpu_tsg_set_ctx_mmu_error
* *
@@ -388,7 +388,7 @@ int test_tsg_set_ctx_mmu_error(struct unit_module *m,
* *
* Description: Reset faulted engine and/or PBDMAs for a TSG * Description: Reset faulted engine and/or PBDMAs for a TSG
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_tsg_reset_faulted_eng_pbdma * Targets: nvgpu_tsg_reset_faulted_eng_pbdma
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: USERD entry size * Description: USERD entry size
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_userd_entry_size * Targets: gk20a_userd_entry_size
* *

View File

@@ -38,7 +38,7 @@ struct gk20a;
* *
* Description: Usermode gv11b HALs * Description: Usermode gv11b HALs
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_usermode_base, gv11b_usermode_bus_base, * Targets: gv11b_usermode_base, gv11b_usermode_bus_base,
* gv11b_usermode_doorbell_token, gv11b_usermode_ring_doorbell * gv11b_usermode_doorbell_token, gv11b_usermode_ring_doorbell

View File

@@ -38,7 +38,7 @@ extern struct fuse_test_args gm20b_init_args;
* Description: Verify fuse API check_priv_security() when security fuse is * Description: Verify fuse API check_priv_security() when security fuse is
* enabled. * enabled.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fuse_device_common_init() must be called for this GPU. * Input: test_fuse_device_common_init() must be called for this GPU.
* *
@@ -60,7 +60,7 @@ int test_fuse_gm20b_check_sec(struct unit_module *m,
* Description: Verify fuse API check_priv_security() handles an error from * Description: Verify fuse API check_priv_security() handles an error from
* reading gcplex. * reading gcplex.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fuse_device_common_init() must be called for this GPU. * Input: test_fuse_device_common_init() must be called for this GPU.
* *
@@ -81,7 +81,7 @@ int test_fuse_gm20b_check_gcplex_fail(struct unit_module *m,
* Description: Verify fuse API check_priv_security() handles invalid gcplex * Description: Verify fuse API check_priv_security() handles invalid gcplex
* configurations of WPR and VPR bits. * configurations of WPR and VPR bits.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fuse_device_common_init() must be called for this GPU. * Input: test_fuse_device_common_init() must be called for this GPU.
* *
@@ -107,7 +107,7 @@ int test_fuse_gm20b_check_sec_invalid_gcplex(struct unit_module *m,
* Description: Verify fuse API check_priv_security() when security fuse is * Description: Verify fuse API check_priv_security() when security fuse is
* disabled. * disabled.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fuse_device_common_init() must be called for this GPU. * Input: test_fuse_device_common_init() must be called for this GPU.
* *
@@ -127,7 +127,7 @@ int test_fuse_gm20b_check_non_sec(struct unit_module *m,
* *
* Description: Verify fuse reads for basic value-return APIs. * Description: Verify fuse reads for basic value-return APIs.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fuse_device_common_init() must be called for this GPU. * Input: test_fuse_device_common_init() must be called for this GPU.
* *

View File

@@ -38,7 +38,7 @@ extern struct fuse_test_args gp10b_init_args;
* Description: Verify fuse API check_priv_security() when security fuse is * Description: Verify fuse API check_priv_security() when security fuse is
* enabled. * enabled.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fuse_device_common_init() must be called for this GPU. * Input: test_fuse_device_common_init() must be called for this GPU.
* *
@@ -59,7 +59,7 @@ int test_fuse_gp10b_check_sec(struct unit_module *m,
* Description: Verify fuse API check_priv_security() handles an error from * Description: Verify fuse API check_priv_security() handles an error from
* reading gcplex. * reading gcplex.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fuse_device_common_init() must be called for this GPU. * Input: test_fuse_device_common_init() must be called for this GPU.
* *
@@ -80,7 +80,7 @@ int test_fuse_gp10b_check_gcplex_fail(struct unit_module *m,
* Description: Verify fuse API check_priv_security() handles invalid gcplex * Description: Verify fuse API check_priv_security() handles invalid gcplex
* configurations of WPR and VPR bits. * configurations of WPR and VPR bits.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fuse_device_common_init() must be called for this GPU. * Input: test_fuse_device_common_init() must be called for this GPU.
* *
@@ -106,7 +106,7 @@ int test_fuse_gp10b_check_sec_invalid_gcplex(struct unit_module *m,
* Description: Verify fuse API check_priv_security() when security fuse is * Description: Verify fuse API check_priv_security() when security fuse is
* disabled. * disabled.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fuse_device_common_init() must be called for this GPU. * Input: test_fuse_device_common_init() must be called for this GPU.
* *
@@ -126,7 +126,7 @@ int test_fuse_gp10b_check_non_sec(struct unit_module *m,
* *
* Description: Verify fuse reports ECC enable correctly. * Description: Verify fuse reports ECC enable correctly.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fuse_device_common_init() must be called for this GPU. * Input: test_fuse_device_common_init() must be called for this GPU.
* *
@@ -147,7 +147,7 @@ int test_fuse_gp10b_ecc(struct unit_module *m,
* *
* Description: Verify fuse reports Feature Override enable correctly. * Description: Verify fuse reports Feature Override enable correctly.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_fuse_device_common_init() must be called for this GPU. * Input: test_fuse_device_common_init() must be called for this GPU.
* *

View File

@@ -40,7 +40,7 @@ struct unit_module;
* to read the GR engine configuration and stores the configuration * to read the GR engine configuration and stores the configuration
* values in the #nvgpu_gr_config struct. * values in the #nvgpu_gr_config struct.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -59,7 +59,7 @@ int test_gr_config_init(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Cleanup common.gr.config unit. * Description: Cleanup common.gr.config unit.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Targets: #nvgpu_gr_config_deinit. * Targets: #nvgpu_gr_config_deinit.
* *
@@ -81,7 +81,7 @@ int test_gr_config_deinit(struct unit_module *m, struct gk20a *g, void *args);
* read from the h/w matches with locally stored informations * read from the h/w matches with locally stored informations
* for a particular chip. * for a particular chip.
* *
* Test Type: Feature based, Error guessing. * Test Type: Feature, Error guessing
* *
* Input: #test_gr_init_setup and #test_gr_config_init * Input: #test_gr_init_setup and #test_gr_config_init
* must have been executed successfully. * must have been executed successfully.
@@ -120,7 +120,7 @@ int test_gr_config_count(struct unit_module *m, struct gk20a *g, void *args);
* reflect the same value. This test helps to verify the * reflect the same value. This test helps to verify the
* configuration values can be changed as part of floorsweeping. * configuration values can be changed as part of floorsweeping.
* *
* Test Type: Feature based, Error guessing * Test Type: Feature, Error guessing
* *
* Targets: #nvgpu_gr_config_set_no_of_sm, * Targets: #nvgpu_gr_config_set_no_of_sm,
* #nvgpu_gr_config_get_sm_info, * #nvgpu_gr_config_get_sm_info,
@@ -149,7 +149,7 @@ int test_gr_config_set_get(struct unit_module *m, struct gk20a *g, void *args);
* possible error conditions for memory allocation failure. Also * possible error conditions for memory allocation failure. Also
* provide different configurations in common.gr unit. * provide different configurations in common.gr unit.
* *
* Test Type: Feature based, Error guessing * Test Type: Feature, Error guessing
* *
* Input: #test_gr_init_setup must have been executed successfully. * Input: #test_gr_init_setup must have been executed successfully.
* *

View File

@@ -38,7 +38,7 @@ struct unit_module;
* *
* Description: Verify error handling in context allocation and mapping path. * Description: Verify error handling in context allocation and mapping path.
* *
* Test Type: Feature based, Error guessing. * Test Type: Feature, Error guessing
* *
* Targets: #nvgpu_gr_ctx_alloc, * Targets: #nvgpu_gr_ctx_alloc,
* #nvgpu_gr_ctx_free, * #nvgpu_gr_ctx_free,

View File

@@ -38,7 +38,7 @@ struct unit_module;
* *
* Description: Helps to verify common.gr.falcon subunit initialization. * Description: Helps to verify common.gr.falcon subunit initialization.
* *
* Test Type: Feature based, Error injection. * Test Type: Feature, Error injection
* *
* Targets: #nvgpu_gr_falcon_init_support. * Targets: #nvgpu_gr_falcon_init_support.
* *
@@ -64,7 +64,7 @@ int test_gr_falcon_init(struct unit_module *m,
* *
* Description: Helps to verify common.gr.falcon subunit deinitialization. * Description: Helps to verify common.gr.falcon subunit deinitialization.
* *
* Test Type: Feature based, Error injection. * Test Type: Feature, Error injection
* *
* Targets: #nvgpu_gr_falcon_remove_support. * Targets: #nvgpu_gr_falcon_remove_support.
* *
@@ -86,7 +86,7 @@ int test_gr_falcon_deinit(struct unit_module *m,
* *
* Description: This test helps to verify load and boot FECS and GPCCS ucodes. * Description: This test helps to verify load and boot FECS and GPCCS ucodes.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Targets: #nvgpu_gr_falcon_init_ctxsw. * Targets: #nvgpu_gr_falcon_init_ctxsw.
* *
@@ -109,7 +109,7 @@ int test_gr_falcon_init_ctxsw(struct unit_module *m,
* *
* Description: Helps to verify context state initialization * Description: Helps to verify context state initialization
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Targets: #nvgpu_gr_falcon_init_ctx_state. * Targets: #nvgpu_gr_falcon_init_ctx_state.
* *
@@ -130,7 +130,7 @@ int test_gr_falcon_init_ctx_state(struct unit_module *m,
* Description: Helps to verify the common.gr.falcon query * Description: Helps to verify the common.gr.falcon query
* functions return valid values. * functions return valid values.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Targets: #nvgpu_gr_falcon_get_fecs_ucode_segments, * Targets: #nvgpu_gr_falcon_get_fecs_ucode_segments,
* #nvgpu_gr_falcon_get_gpccs_ucode_segments, * #nvgpu_gr_falcon_get_gpccs_ucode_segments,
@@ -155,7 +155,7 @@ int test_gr_falcon_query_test(struct unit_module *m,
* Description: Helps to verify the allocation failures for * Description: Helps to verify the allocation failures for
* nvgpu_gr_falcon_init_ctxsw_ucode function is handled properly. * nvgpu_gr_falcon_init_ctxsw_ucode function is handled properly.
* *
* Test Type: Error injection. * Test Type: Error injection
* *
* Targets: #nvgpu_gr_falcon_init_ctxsw_ucode. * Targets: #nvgpu_gr_falcon_init_ctxsw_ucode.
* *

View File

@@ -38,7 +38,7 @@ struct unit_module;
* *
* Description: Verify error handling in #nvgpu_gr_fs_state_init() * Description: Verify error handling in #nvgpu_gr_fs_state_init()
* *
* Test Type: Feature based, Error guessing. * Test Type: Feature, Error guessing
* *
* Targets: #nvgpu_gr_fs_state_init. * Targets: #nvgpu_gr_fs_state_init.
* *

View File

@@ -38,7 +38,7 @@ struct unit_module;
* *
* Description: Verify error handling in global context allocation path. * Description: Verify error handling in global context allocation path.
* *
* Test Type: Feature based, Error guessing. * Test Type: Feature, Error guessing
* *
* Targets: #nvgpu_gr_global_ctx_buffer_alloc, * Targets: #nvgpu_gr_global_ctx_buffer_alloc,
* #nvgpu_gr_global_ctx_buffer_free, * #nvgpu_gr_global_ctx_buffer_free,
@@ -79,7 +79,7 @@ int test_gr_global_ctx_alloc_error_injection(struct unit_module *m,
* Description: Verify error handling in local golden context image * Description: Verify error handling in local golden context image
* creation and comparison. * creation and comparison.
* *
* Test Type: Feature based, Error guessing. * Test Type: Feature, Error guessing
* *
* Targets: #nvgpu_gr_global_ctx_init_local_golden_image, * Targets: #nvgpu_gr_global_ctx_init_local_golden_image,
* #nvgpu_gr_global_ctx_load_local_golden_image, * #nvgpu_gr_global_ctx_load_local_golden_image,

View File

@@ -40,7 +40,7 @@ struct unit_module;
* common.gr subunits without any channel allocation. * common.gr subunits without any channel allocation.
* Also helps to verify the nonstall interrupts. * Also helps to verify the nonstall interrupts.
* *
* Test Type: Feature based, Error guessing. * Test Type: Feature, Error guessing
* *
* Targets: #nvgpu_gr_intr_stall_isr, * Targets: #nvgpu_gr_intr_stall_isr,
* #nvgpu_gr_intr_init_support, * #nvgpu_gr_intr_init_support,
@@ -76,7 +76,7 @@ int test_gr_intr_without_channel(struct unit_module *m,
* Helps to figure out the current context on interrupt * Helps to figure out the current context on interrupt
* pending with subunit error. * pending with subunit error.
* *
* Test Type: Feature based, Error guessing * Test Type: Feature, Error guessing
* *
* Targets: #nvgpu_gr_intr_stall_isr. * Targets: #nvgpu_gr_intr_stall_isr.
* *
@@ -110,7 +110,7 @@ int test_gr_intr_setup_channel(struct unit_module *m,
* Helps to verify exceptions for SET_SHADER_EXCEPTIONS, * Helps to verify exceptions for SET_SHADER_EXCEPTIONS,
* SET_SKEDCHECK and SET_SHADER_CUT_COLLECTOR. * SET_SKEDCHECK and SET_SHADER_CUT_COLLECTOR.
* *
* Test Type: Feature based, Error guessing. * Test Type: Feature, Error guessing
* *
* Targets: #nvgpu_gr_intr_stall_isr. * Targets: #nvgpu_gr_intr_stall_isr.
* *
@@ -138,7 +138,7 @@ int test_gr_intr_sw_exceptions(struct unit_module *m,
* unimpl_illegal_method, watchdog, ecc_corrected and * unimpl_illegal_method, watchdog, ecc_corrected and
* ecc_uncorrected interrupts. * ecc_uncorrected interrupts.
* *
* Test Type: Feature based, Error guessing. * Test Type: Feature, Error guessing
* *
* Targets: #nvgpu_gr_intr_stall_isr. * Targets: #nvgpu_gr_intr_stall_isr.
* *
@@ -161,7 +161,7 @@ int test_gr_intr_fecs_exceptions(struct unit_module *m,
* *
* Description: Helps to verify pending interrupts for gpc_exceptions. * Description: Helps to verify pending interrupts for gpc_exceptions.
* *
* Test Type: Feature based, Error guessing. * Test Type: Feature, Error guessing
* *
* Targets: #nvgpu_gr_intr_stall_isr, * Targets: #nvgpu_gr_intr_stall_isr,
* #nvgpu_gr_intr_handle_gpc_exception. * #nvgpu_gr_intr_handle_gpc_exception.

View File

@@ -38,7 +38,7 @@ struct unit_module;
* *
* Description: Setup common.gr unit. * Description: Setup common.gr unit.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -62,7 +62,7 @@ int test_gr_init_setup(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Remove common.gr unit setup. * Description: Remove common.gr unit setup.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Targets: #nvgpu_gr_free. * Targets: #nvgpu_gr_free.
* *
@@ -81,7 +81,7 @@ int test_gr_remove_setup(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Prepare common.gr unit. * Description: Prepare common.gr unit.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Targets: #nvgpu_gr_prepare_sw, #nvgpu_gr_prepare_hw. * Targets: #nvgpu_gr_prepare_sw, #nvgpu_gr_prepare_hw.
* *
@@ -100,7 +100,7 @@ int test_gr_init_prepare(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Initialize common.gr unit. * Description: Initialize common.gr unit.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Targets: #nvgpu_gr_init_support. * Targets: #nvgpu_gr_init_support.
* *
@@ -126,7 +126,7 @@ int test_gr_init_support(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Suspend common.gr unit. * Description: Suspend common.gr unit.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Targets: #nvgpu_gr_suspend. * Targets: #nvgpu_gr_suspend.
* *
@@ -145,7 +145,7 @@ int test_gr_suspend(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Remove common.gr unit support. * Description: Remove common.gr unit support.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Targets: #nvgpu_gr_remove_support. * Targets: #nvgpu_gr_remove_support.
* *
@@ -165,7 +165,7 @@ int test_gr_remove_support(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Set the ECC feature based on fuse and fecs override registers. * Description: Set the ECC feature based on fuse and fecs override registers.
* *
* Test Type: Feature based, Error Injection. * Test Type: Feature, Error Injection
* *
* Input: #test_gr_init_setup, #test_gr_init_prepare and #test_gr_init_support * Input: #test_gr_init_setup, #test_gr_init_prepare and #test_gr_init_support
* must have been executed successfully. * must have been executed successfully.
@@ -191,7 +191,7 @@ int test_gr_init_ecc_features(struct unit_module *m,
* *
* Description: Setup for common.gr unit. * Description: Setup for common.gr unit.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -215,7 +215,7 @@ int test_gr_init_setup_ready(struct unit_module *m, struct gk20a *g, void *args)
* *
* Description: Cleanup common.gr unit. * Description: Cleanup common.gr unit.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Input: #test_gr_setup_ready must have been executed successfully. * Input: #test_gr_setup_ready must have been executed successfully.
* *

View File

@@ -38,7 +38,7 @@ struct unit_module;
* *
* Description: Verify error handling in object context creation path. * Description: Verify error handling in object context creation path.
* *
* Test Type: Feature based, Error guessing. * Test Type: Feature, Error guessing
* *
* Targets: #nvgpu_gr_obj_ctx_init, * Targets: #nvgpu_gr_obj_ctx_init,
* #nvgpu_gr_obj_ctx_alloc, * #nvgpu_gr_obj_ctx_alloc,

View File

@@ -38,7 +38,7 @@ struct unit_module;
* *
* Description: This test helps to verify common.gr object context creation. * Description: This test helps to verify common.gr object context creation.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Targets: #nvgpu_gr_setup_alloc_obj_ctx, * Targets: #nvgpu_gr_setup_alloc_obj_ctx,
* #nvgpu_gr_obj_ctx_alloc, * #nvgpu_gr_obj_ctx_alloc,
@@ -69,7 +69,7 @@ int test_gr_setup_alloc_obj_ctx(struct unit_module *m,
* *
* Description: This test helps to verify set_preemption_mode. * Description: This test helps to verify set_preemption_mode.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Targets: #nvgpu_gr_setup_set_preemption_mode, * Targets: #nvgpu_gr_setup_set_preemption_mode,
* #nvgpu_gr_obj_ctx_set_ctxsw_preemption_mode, * #nvgpu_gr_obj_ctx_set_ctxsw_preemption_mode,
@@ -96,7 +96,7 @@ int test_gr_setup_set_preemption_mode(struct unit_module *m,
* *
* Description: Helps to verify common.gr object context cleanup. * Description: Helps to verify common.gr object context cleanup.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Targets: #nvgpu_gr_setup_free_subctx, * Targets: #nvgpu_gr_setup_free_subctx,
* #nvgpu_gr_setup_free_gr_ctx. * #nvgpu_gr_setup_free_gr_ctx.
@@ -121,7 +121,7 @@ int test_gr_setup_free_obj_ctx(struct unit_module *m,
* Description: Helps to verify error paths in * Description: Helps to verify error paths in
* g->ops.gr.setup.set_preemption_mode call. * g->ops.gr.setup.set_preemption_mode call.
* *
* Test Type: Error injection. * Test Type: Error injection
* *
* Targets: #nvgpu_gr_setup_set_preemption_mode, * Targets: #nvgpu_gr_setup_set_preemption_mode,
* #nvgpu_gr_obj_ctx_set_ctxsw_preemption_mode. * #nvgpu_gr_obj_ctx_set_ctxsw_preemption_mode.
@@ -147,7 +147,7 @@ int test_gr_setup_preemption_mode_errors(struct unit_module *m,
* Description: Helps to verify error paths in * Description: Helps to verify error paths in
* g->ops.gr.setup.alloc_obj_ctx call. * g->ops.gr.setup.alloc_obj_ctx call.
* *
* Test Type: Error injection. * Test Type: Error injection
* *
* Targets: #nvgpu_gr_setup_alloc_obj_ctx, * Targets: #nvgpu_gr_setup_alloc_obj_ctx,
* #nvgpu_gr_subctx_alloc, #nvgpu_gr_obj_ctx_alloc, * #nvgpu_gr_subctx_alloc, #nvgpu_gr_obj_ctx_alloc,

View File

@@ -74,7 +74,7 @@ int test_free_env(struct unit_module *m,
* *
* Description: Validate gv11b_get_litter_value() * Description: Validate gv11b_get_litter_value()
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_get_litter_value * Targets: gv11b_get_litter_value
* *
@@ -97,7 +97,7 @@ int test_get_litter_value(struct unit_module *m,
* *
* Description: Validate nvgpu_can_busy() * Description: Validate nvgpu_can_busy()
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_can_busy * Targets: nvgpu_can_busy
* *
@@ -120,7 +120,7 @@ int test_can_busy(struct unit_module *m,
* *
* Description: Validate nvgpu_get() and nvgpu_put() and the refcount. * Description: Validate nvgpu_get() and nvgpu_put() and the refcount.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_get, nvgpu_put * Targets: nvgpu_get, nvgpu_put
* *
@@ -152,7 +152,7 @@ int test_get_put(struct unit_module *m,
* *
* Description: Validate the nvgpu_check_gpu_state() API which will restart * Description: Validate the nvgpu_check_gpu_state() API which will restart
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: * Input:
* - test_setup_env() must be called before. * - test_setup_env() must be called before.
@@ -182,7 +182,7 @@ int test_check_gpu_state(struct unit_module *m,
* *
* Description: Test HAL initialization for GV11B * Description: Test HAL initialization for GV11B
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_detect_chip * Targets: nvgpu_detect_chip
* *
@@ -222,7 +222,7 @@ int test_hal_init(struct unit_module *m,
* *
* Description: Test nvgpu_finalize_poweron * Description: Test nvgpu_finalize_poweron
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_finalize_poweron * Targets: nvgpu_finalize_poweron
* *
@@ -250,7 +250,7 @@ int test_poweron(struct unit_module *m, struct gk20a *g, void *args);
* Description: Test branches in nvgpu_finalize_poweron not covered by the * Description: Test branches in nvgpu_finalize_poweron not covered by the
* basic path already covered in test_poweron. * basic path already covered in test_poweron.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_finalize_poweron * Targets: nvgpu_finalize_poweron
* *
@@ -275,7 +275,7 @@ int test_poweron_branches(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test nvgpu_prepare_poweroff * Description: Test nvgpu_prepare_poweroff
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_prepare_poweroff * Targets: nvgpu_prepare_poweroff
* *
@@ -303,7 +303,7 @@ int test_poweroff(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test putting device in quiesce * Description: Test putting device in quiesce
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_sw_quiesce_init_support, nvgpu_sw_quiesce_remove_support, * Targets: nvgpu_sw_quiesce_init_support, nvgpu_sw_quiesce_remove_support,
* nvgpu_sw_quiesce_thread, nvgpu_sw_quiesce * nvgpu_sw_quiesce_thread, nvgpu_sw_quiesce

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Test atomic set and read operations. * Description: Test atomic set and read operations.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: struct atomic_test_args passed via the __args parameter. * Input: struct atomic_test_args passed via the __args parameter.
* *
@@ -57,7 +57,7 @@ int test_atomic_set_and_read(struct unit_module *m,
* Description: Test arithemtic atomic operations inc, dec, add, sub and friends * Description: Test arithemtic atomic operations inc, dec, add, sub and friends
* (except add_unless) single threaded for proper functionality. * (except add_unless) single threaded for proper functionality.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: struct atomic_test_args passed via the __args parameter. * Input: struct atomic_test_args passed via the __args parameter.
* For *_and_test ops, the args should make sure the loop traverses * For *_and_test ops, the args should make sure the loop traverses
@@ -80,7 +80,7 @@ int test_atomic_arithmetic(struct unit_module *m,
* Description: Test atomic operations inc, dec, add, sub, cmpxchg, in threads * Description: Test atomic operations inc, dec, add, sub, cmpxchg, in threads
* to verify atomicity. * to verify atomicity.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: struct atomic_test_args passed via the __args parameter. * Input: struct atomic_test_args passed via the __args parameter.
* *
@@ -103,7 +103,7 @@ int test_atomic_arithmetic_threaded(struct unit_module *m,
* Description: Test arithmetic *_and_test functions in threads to verify * Description: Test arithmetic *_and_test functions in threads to verify
* atomicity. * atomicity.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: struct atomic_test_args passed via the __args parameter. * Input: struct atomic_test_args passed via the __args parameter.
* *
@@ -127,7 +127,7 @@ int test_atomic_arithmetic_and_test_threaded(struct unit_module *m,
* *
* Description: Test xchg op single threaded for proper functionality. * Description: Test xchg op single threaded for proper functionality.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: struct atomic_test_args passed via the __args parameter. * Input: struct atomic_test_args passed via the __args parameter.
* *
@@ -146,7 +146,7 @@ int test_atomic_xchg(struct unit_module *m,
* *
* Description: Test atomic exchange operation with threads to test atomicity. * Description: Test atomic exchange operation with threads to test atomicity.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: struct atomic_test_args passed via the __args parameter. * Input: struct atomic_test_args passed via the __args parameter.
* *
@@ -168,7 +168,7 @@ int test_atomic_xchg_threaded(struct unit_module *m,
* *
* Description: Test cmpxchg single threaded for proper functionality. * Description: Test cmpxchg single threaded for proper functionality.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: struct atomic_test_args passed via the __args parameter. * Input: struct atomic_test_args passed via the __args parameter.
* *
@@ -187,7 +187,7 @@ int test_atomic_cmpxchg(struct unit_module *m,
* *
* Description: Test add_unless op single threaded for proper functionality. * Description: Test add_unless op single threaded for proper functionality.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: struct atomic_test_args passed via the __args parameter. * Input: struct atomic_test_args passed via the __args parameter.
* *

View File

@@ -51,7 +51,7 @@ struct unit_module;
* Description: Simple test for bsearch. The goal here is code coverage, the * Description: Simple test for bsearch. The goal here is code coverage, the
* underlying implementation of bsearch is provided by the stdlib. * underlying implementation of bsearch is provided by the stdlib.
* *
* Test Type: Feature, Coverage * Test Type: Feature
* *
* Input: None * Input: None
* *

View File

@@ -35,7 +35,7 @@
* *
* Description: The ltc unit gets initialized * Description: The ltc unit gets initialized
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_init_ltc_support * Targets: nvgpu_init_ltc_support
* *
@@ -66,7 +66,7 @@ int test_ltc_init_support(struct unit_module *m,
* *
* Description: Validate ltc unit initialization of ecc counters. * Description: Validate ltc unit initialization of ecc counters.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_ecc_counter_init_per_lts, gv11b_lts_ecc_init, * Targets: nvgpu_ecc_counter_init_per_lts, gv11b_lts_ecc_init,
* nvgpu_ltc_ecc_free * nvgpu_ltc_ecc_free
@@ -106,7 +106,7 @@ int test_ltc_ecc_init_free(struct unit_module *m, struct gk20a *g, void *args);
* related to different ltc data. * related to different ltc data.
* Checks whether valid data is returned or not. * Checks whether valid data is returned or not.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_ltc_sync_enabled, nvgpu_ltc_get_ltc_count, * Targets: nvgpu_ltc_sync_enabled, nvgpu_ltc_get_ltc_count,
* nvgpu_ltc_get_slices_per_ltc, nvgpu_ltc_get_cacheline_size * nvgpu_ltc_get_slices_per_ltc, nvgpu_ltc_get_cacheline_size
@@ -131,7 +131,7 @@ int test_ltc_functionality_tests(struct unit_module *m,
* *
* Description: This test covers negative paths in ltc unit. * Description: This test covers negative paths in ltc unit.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_ltc_sync_enabled, nvgpu_ltc_remove_support, * Targets: nvgpu_ltc_sync_enabled, nvgpu_ltc_remove_support,
* nvgpu_init_ltc_support * nvgpu_init_ltc_support
@@ -153,7 +153,7 @@ int test_ltc_negative_tests(struct unit_module *m,
* *
* Description: The ltc unit removes all populated ltc info. * Description: The ltc unit removes all populated ltc info.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_ltc_remove_support * Targets: nvgpu_ltc_remove_support
* *
@@ -173,7 +173,7 @@ int test_ltc_remove_support(struct unit_module *m,
* Description: Validate ltc interrupt handler (isr). The ltc isr is responsible * Description: Validate ltc interrupt handler (isr). The ltc isr is responsible
* for reporting errors determind from the ltc status registers. * for reporting errors determind from the ltc status registers.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_ltc_intr_isr * Targets: gv11b_ltc_intr_isr
* *
@@ -251,7 +251,7 @@ int test_ltc_intr(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Validate the inter_en_illegal_compstat API. * Description: Validate the inter_en_illegal_compstat API.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_ltc_intr_en_illegal_compstat * Targets: gv11b_ltc_intr_en_illegal_compstat
* *
@@ -274,7 +274,7 @@ int test_ltc_intr_en_illegal_compstat(struct unit_module *m,
* *
* Description: Validate the ltc interrupt configure API. * Description: Validate the ltc interrupt configure API.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_ltc_intr_configure * Targets: gv11b_ltc_intr_configure
* *
@@ -298,7 +298,7 @@ int test_ltc_intr_configure(struct unit_module *m,
* *
* Description: Validate the ltc API to determine L2 size. * Description: Validate the ltc API to determine L2 size.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_determine_L2_size_bytes * Targets: gp10b_determine_L2_size_bytes
* *
@@ -319,7 +319,7 @@ int test_determine_L2_size_bytes(struct unit_module *m,
* *
* Description: Validate the ltc API to enable level 2 cache. * Description: Validate the ltc API to enable level 2 cache.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_ltc_set_enabled * Targets: gp10b_ltc_set_enabled
* *
@@ -342,7 +342,7 @@ int test_ltc_set_enabled(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Validate the ltc API to flush the cache. * Description: Validate the ltc API to flush the cache.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_flush_ltc * Targets: gm20b_flush_ltc
* *

View File

@@ -77,7 +77,7 @@ int test_free_env(struct unit_module *m, struct gk20a *g, void *args);
* Description: Validate function of nvgpu_mc_intr_stall_unit_config and * Description: Validate function of nvgpu_mc_intr_stall_unit_config and
* nvgpu_mc_intr_nonstall_unit_config. * nvgpu_mc_intr_nonstall_unit_config.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_mc_intr_stall_unit_config, nvgpu_mc_intr_nonstall_unit_config * Targets: nvgpu_mc_intr_stall_unit_config, nvgpu_mc_intr_nonstall_unit_config
* *
@@ -115,7 +115,7 @@ int test_unit_config(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Validate function for pausing, resuming, and masking interrupts. * Description: Validate function for pausing, resuming, and masking interrupts.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_mc_intr_stall_pause, nvgpu_mc_intr_stall_resume, * Targets: nvgpu_mc_intr_stall_pause, nvgpu_mc_intr_stall_resume,
* nvgpu_mc_intr_nonstall_pause, nvgpu_mc_intr_nonstall_resume, * nvgpu_mc_intr_nonstall_pause, nvgpu_mc_intr_nonstall_resume,
@@ -151,7 +151,7 @@ int test_pause_resume_mask(struct unit_module *m, struct gk20a *g, void *args);
* Description: Validate function mc_gp10b_intr_stall which returns the pending * Description: Validate function mc_gp10b_intr_stall which returns the pending
* interrupts. * interrupts.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: mc_gp10b_intr_stall * Targets: mc_gp10b_intr_stall
* *
@@ -171,7 +171,7 @@ int test_intr_stall(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Validate function of HAL gv11b_mc_is_stall_and_eng_intr_pending. * Description: Validate function of HAL gv11b_mc_is_stall_and_eng_intr_pending.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_mc_is_stall_and_eng_intr_pending * Targets: gv11b_mc_is_stall_and_eng_intr_pending
* *
@@ -194,7 +194,7 @@ int test_is_stall_and_eng_intr_pending(struct unit_module *m, struct gk20a *g,
* Description: Validate handling of the stall interrupts by the stall interrupt * Description: Validate handling of the stall interrupts by the stall interrupt
* service routine. * service routine.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: mc_gp10b_isr_stall * Targets: mc_gp10b_isr_stall
* *
@@ -232,7 +232,7 @@ int test_isr_stall(struct unit_module *m, struct gk20a *g, void *args);
* Description: Validate handling of the stall interrupts by the non-stall * Description: Validate handling of the stall interrupts by the non-stall
* interrupt service routine. * interrupt service routine.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_mc_isr_nonstall * Targets: gm20b_mc_isr_nonstall
* *
@@ -259,7 +259,7 @@ int test_isr_nonstall(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Validate functionality of mc_gp10b_is_intr1_pending. * Description: Validate functionality of mc_gp10b_is_intr1_pending.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: mc_gp10b_is_intr1_pending * Targets: mc_gp10b_is_intr1_pending
* *
@@ -284,7 +284,7 @@ int test_is_intr1_pending(struct unit_module *m, struct gk20a *g, void *args);
* Description: Validate functionality of functions for enabling, disabling, * Description: Validate functionality of functions for enabling, disabling,
* and reseting units. * and reseting units.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_mc_enable, gm20b_mc_disable, gm20b_mc_reset * Targets: gm20b_mc_enable, gm20b_mc_disable, gm20b_mc_reset
* *
@@ -307,7 +307,7 @@ int test_enable_disable_reset(struct unit_module *m, struct gk20a *g, void *args
* *
* Description: Validate functionality of HAL to get reset mask for a unit. * Description: Validate functionality of HAL to get reset mask for a unit.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_mc_reset_mask * Targets: gm20b_mc_reset_mask
* *
@@ -328,7 +328,7 @@ int test_reset_mask(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Validate functionality of HAL to get reset mask for a unit. * Description: Validate functionality of HAL to get reset mask for a unit.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_wait_for_deferred_interrupts * Targets: nvgpu_wait_for_deferred_interrupts
* *

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Initialize bitmap allocator. * Description: Initialize bitmap allocator.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -59,7 +59,7 @@ int test_nvgpu_bitmap_allocator_init(struct unit_module *m,
* *
* Description: Check bitmap_allocator attribute values using allocator ops. * Description: Check bitmap_allocator attribute values using allocator ops.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_nvgpu_bitmap_allocator_init * Input: test_nvgpu_bitmap_allocator_init
* *
@@ -80,7 +80,7 @@ int test_nvgpu_bitmap_allocator_ops(struct unit_module *m,
* *
* Description: Allocate various sizes of memory to test different scenarios. * Description: Allocate various sizes of memory to test different scenarios.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_nvgpu_bitmap_allocator_init * Input: test_nvgpu_bitmap_allocator_init
* *
@@ -126,7 +126,7 @@ int test_nvgpu_bitmap_allocator_destroy(struct unit_module *m,
* Description: Test allocator functions for bitmap allocator in latency * Description: Test allocator functions for bitmap allocator in latency
* critical path. * critical path.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Initialize buddy allocator. * Description: Initialize buddy allocator.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -72,7 +72,7 @@ int test_nvgpu_buddy_allocator_init(struct unit_module *m,
* *
* Description: Test allocation of carveouts. * Description: Test allocation of carveouts.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_nvgpu_buddy_allocator_init * Input: test_nvgpu_buddy_allocator_init
* *
@@ -98,7 +98,7 @@ int test_nvgpu_buddy_allocator_carveout(struct unit_module *m,
* *
* Description: Test buddy allocator attribute and allocation functions. * Description: Test buddy allocator attribute and allocation functions.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_nvgpu_buddy_allocator_init * Input: test_nvgpu_buddy_allocator_init
* *
@@ -146,7 +146,7 @@ int test_nvgpu_buddy_allocator_destroy(struct unit_module *m,
* *
* Description: Test cleanup branch of memory allocations. * Description: Test cleanup branch of memory allocations.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -178,7 +178,7 @@ int test_nvgpu_buddy_allocator_alloc(struct unit_module *m,
* *
* Description: Test buddy allocator functions with big pages disabled. * Description: Test buddy allocator functions with big pages disabled.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -218,7 +218,7 @@ int test_buddy_allocator_with_small_pages(struct unit_module *m,
* *
* Description: Test buddy allocator functions with big pages enabled. * Description: Test buddy allocator functions with big pages enabled.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *

View File

@@ -109,7 +109,7 @@ int test_init_mm(struct unit_module *m, struct gk20a *g, void *args);
* Description: The AS unit shall be able to allocate address spaces based on * Description: The AS unit shall be able to allocate address spaces based on
* required flags, or report appropriate error codes in case of failures. * required flags, or report appropriate error codes in case of failures.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: * Input:
* - The test_init_mm must have been executed * - The test_init_mm must have been executed

View File

@@ -38,7 +38,7 @@ struct unit_module;
* Description: This test must be run once and be the first one as it * Description: This test must be run once and be the first one as it
* initializes the MM subsystem. * initializes the MM subsystem.
* *
* Test Type: Feature based, Init * Test Type: Feature, Other (setup)
* *
* Targets: nvgpu_vm_init * Targets: nvgpu_vm_init
* *
@@ -66,7 +66,7 @@ int test_mm_dma_init(struct unit_module *m, struct gk20a *g, void *__args);
* Description: Test to target nvgpu_dma_alloc_* functions, testing automatic or * Description: Test to target nvgpu_dma_alloc_* functions, testing automatic or
* forced allocations in SYSMEM or VIDMEM. * forced allocations in SYSMEM or VIDMEM.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_dma_alloc_flags_sys, nvgpu_dma_free, nvgpu_dma_alloc_flags_vid * Targets: nvgpu_dma_alloc_flags_sys, nvgpu_dma_free, nvgpu_dma_alloc_flags_vid
* *
@@ -93,7 +93,7 @@ int test_mm_dma_alloc(struct unit_module *m, struct gk20a *g, void *args);
* Description: Test to target nvgpu_dma_alloc_flags_* functions, testing * Description: Test to target nvgpu_dma_alloc_flags_* functions, testing
* several possible flags and SYSMEM/VIDMEM. * several possible flags and SYSMEM/VIDMEM.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_dma_alloc_flags_sys, nvgpu_dma_free, nvgpu_dma_alloc_flags_vid * Targets: nvgpu_dma_alloc_flags_sys, nvgpu_dma_free, nvgpu_dma_alloc_flags_vid
* *
@@ -121,7 +121,7 @@ int test_mm_dma_alloc_flags(struct unit_module *m, struct gk20a *g, void *args);
* Description: Test to target nvgpu_dma_alloc_map_* functions, testing * Description: Test to target nvgpu_dma_alloc_map_* functions, testing
* allocations and GMMU mappings in SYSMEM or VIDMEM. * allocations and GMMU mappings in SYSMEM or VIDMEM.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_dma_alloc_map, nvgpu_dma_unmap_free, nvgpu_dma_alloc_map_sys, * Targets: nvgpu_dma_alloc_map, nvgpu_dma_unmap_free, nvgpu_dma_alloc_map_sys,
* nvgpu_dma_alloc_map_vid * nvgpu_dma_alloc_map_vid
@@ -149,7 +149,7 @@ int test_mm_dma_alloc_map(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test error handling branches in nvgpu_dma_alloc_map * Description: Test error handling branches in nvgpu_dma_alloc_map
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_dma_alloc_map, nvgpu_dma_unmap_free * Targets: nvgpu_dma_alloc_map, nvgpu_dma_unmap_free
* *

View File

@@ -38,7 +38,7 @@ struct unit_module;
* Description: Test special corner cases causing map to fail. Mostly to cover * Description: Test special corner cases causing map to fail. Mostly to cover
* error handling and some branches. * error handling and some branches.
* *
* Test Type: Feature based, Error injection * Test Type: Feature, Error injection
* *
* Targets: nvgpu_gmmu_map * Targets: nvgpu_gmmu_map
* *
@@ -67,7 +67,7 @@ int test_nvgpu_gmmu_map_unmap_map_fail(struct unit_module *m, struct gk20a *g,
* parameters can be changed and provided in the args. This test will also * parameters can be changed and provided in the args. This test will also
* attempt to compare the data in PTEs to the parameters provided. * attempt to compare the data in PTEs to the parameters provided.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_gmmu_map_fixed, nvgpu_gmmu_map, nvgpu_get_pte, * Targets: nvgpu_gmmu_map_fixed, nvgpu_gmmu_map, nvgpu_get_pte,
* nvgpu_gmmu_unmap * nvgpu_gmmu_unmap
@@ -101,7 +101,7 @@ int test_nvgpu_gmmu_map_unmap(struct unit_module *m, struct gk20a *g,
* Description: Similar to test_nvgpu_gmmu_map_unmap but supports more advanced * Description: Similar to test_nvgpu_gmmu_map_unmap but supports more advanced
* parameters and creates a test SGT. * parameters and creates a test SGT.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_gmmu_map_locked, nvgpu_gmmu_unmap * Targets: nvgpu_gmmu_map_locked, nvgpu_gmmu_unmap
* *
@@ -126,7 +126,7 @@ int test_nvgpu_gmmu_map_unmap_adv(struct unit_module *m, struct gk20a *g,
* Description: This tests uses the batch mode and maps 2 buffers. Then it * Description: This tests uses the batch mode and maps 2 buffers. Then it
* checks that the flags in the batch structure were set correctly. * checks that the flags in the batch structure were set correctly.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_gmmu_map_locked, nvgpu_gmmu_unmap * Targets: nvgpu_gmmu_map_locked, nvgpu_gmmu_unmap
* *
@@ -155,7 +155,7 @@ int test_nvgpu_gmmu_map_unmap_batched(struct unit_module *m, struct gk20a *g,
* *
* Description: Test case to cover NVGPU-RQCD-45 C1. * Description: Test case to cover NVGPU-RQCD-45 C1.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_vm_init, nvgpu_gmmu_map, nvgpu_gmmu_map_locked, * Targets: nvgpu_vm_init, nvgpu_gmmu_map, nvgpu_gmmu_map_locked,
* nvgpu_gmmu_unmap, nvgpu_vm_put * nvgpu_gmmu_unmap, nvgpu_vm_put
@@ -187,7 +187,7 @@ int test_nvgpu_page_table_c1_full(struct unit_module *m, struct gk20a *g,
* *
* Description: Test case to cover NVGPU-RQCD-45 C2. * Description: Test case to cover NVGPU-RQCD-45 C2.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_vm_init, nvgpu_gmmu_map_fixed, nvgpu_gmmu_unmap, * Targets: nvgpu_vm_init, nvgpu_gmmu_map_fixed, nvgpu_gmmu_unmap,
* nvgpu_vm_put * nvgpu_vm_put

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Test to cover the initialization routines of pd_cache. * Description: Test to cover the initialization routines of pd_cache.
* *
* Test Type: Feature based, Error Injection * Test Type: Feature, Error Injection
* *
* Targets: nvgpu_pd_cache_init * Targets: nvgpu_pd_cache_init
* *
@@ -61,7 +61,7 @@ int test_pd_cache_init(struct unit_module *m, struct gk20a *g, void *__args);
* *
* Description: Test to cover the de-initialization routines of pd_cache. * Description: Test to cover the de-initialization routines of pd_cache.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_pd_cache_fini * Targets: nvgpu_pd_cache_fini
* *
@@ -83,7 +83,7 @@ int test_pd_cache_fini(struct unit_module *m, struct gk20a *g, void *__args);
* memory, that it is sufficiently aligned for use by the GMMU and it can * memory, that it is sufficiently aligned for use by the GMMU and it can
* allocate valid PDs. * allocate valid PDs.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_pd_alloc, nvgpu_pd_write, nvgpu_pd_free, nvgpu_pd_cache_fini * Targets: nvgpu_pd_alloc, nvgpu_pd_write, nvgpu_pd_free, nvgpu_pd_cache_fini
* *
@@ -110,7 +110,7 @@ int test_pd_cache_valid_alloc(struct unit_module *m, struct gk20a *g,
* Description: Checks that pd_cache allocations are successful in a number of * Description: Checks that pd_cache allocations are successful in a number of
* supported sizes. * supported sizes.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_pd_cache_init, nvgpu_pd_alloc, nvgpu_pd_free, * Targets: nvgpu_pd_cache_init, nvgpu_pd_alloc, nvgpu_pd_free,
* nvgpu_pd_cache_fini * nvgpu_pd_cache_fini
@@ -139,7 +139,7 @@ int test_per_pd_size(struct unit_module *m, struct gk20a *g, void *__args);
* Description: Ensure that the pd_cache writes a word of memory in a * Description: Ensure that the pd_cache writes a word of memory in a
* passed PD with 2 word or 4 word PDE/PTE. * passed PD with 2 word or 4 word PDE/PTE.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_mm_get_mmu_levels, nvgpu_pd_cache_init, nvgpu_pd_alloc, * Targets: gp10b_mm_get_mmu_levels, nvgpu_pd_cache_init, nvgpu_pd_alloc,
* nvgpu_pd_offset_from_index, nvgpu_pd_write, nvgpu_pd_free, * nvgpu_pd_offset_from_index, nvgpu_pd_write, nvgpu_pd_free,
@@ -169,7 +169,7 @@ int test_pd_write(struct unit_module *m, struct gk20a *g, void *__args);
* Description: Ensure the pd_cache does provide a valid GPU physical address * Description: Ensure the pd_cache does provide a valid GPU physical address
* for a given PD. * for a given PD.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_pd_cache_init, nvgpu_pd_alloc, nvgpu_pd_gpu_addr, * Targets: nvgpu_pd_cache_init, nvgpu_pd_alloc, nvgpu_pd_gpu_addr,
* nvgpu_pd_free, nvgpu_pd_cache_fini * nvgpu_pd_free, nvgpu_pd_cache_fini
@@ -194,7 +194,7 @@ int test_gpu_address(struct unit_module *m, struct gk20a *g, void *__args);
* Description: Ensure that the pd_cache unit returns a valid word offset for * Description: Ensure that the pd_cache unit returns a valid word offset for
* 2 and 4 word PDE/PTE. * 2 and 4 word PDE/PTE.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_mm_get_mmu_levels, nvgpu_pd_offset_from_index * Targets: gp10b_mm_get_mmu_levels, nvgpu_pd_offset_from_index
* *
@@ -220,7 +220,7 @@ int test_offset_computation(struct unit_module *m, struct gk20a *g,
* Description: Ensure that the initialization routines of pd_cache handle all * Description: Ensure that the initialization routines of pd_cache handle all
* corner cases appropriately. * corner cases appropriately.
* *
* Test Type: Feature based, Error injection * Test Type: Feature, Error injection
* *
* Targets: nvgpu_pd_cache_init, nvgpu_pd_alloc, nvgpu_pd_cache_fini, * Targets: nvgpu_pd_cache_init, nvgpu_pd_alloc, nvgpu_pd_cache_fini,
* nvgpu_pd_free * nvgpu_pd_free
@@ -256,7 +256,7 @@ int test_init_deinit(struct unit_module *m, struct gk20a *g, void *__args);
* pattern to some degree. If not set it defaults to nr_allocs_before_free. * pattern to some degree. If not set it defaults to nr_allocs_before_free.
* Anything left over after the last free loop will be freed in one big loop. * Anything left over after the last free loop will be freed in one big loop.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_pd_cache_init, nvgpu_pd_alloc, nvgpu_pd_cache_fini, * Targets: nvgpu_pd_cache_init, nvgpu_pd_alloc, nvgpu_pd_cache_fini,
* nvgpu_pd_free * nvgpu_pd_free
@@ -289,7 +289,7 @@ int test_pd_cache_alloc_gen(struct unit_module *m, struct gk20a *g,
* *
* Description: Test free on empty PD cache and extra corner cases. * Description: Test free on empty PD cache and extra corner cases.
* *
* Test Type: Feature based, Error injection * Test Type: Feature, Error injection
* *
* Targets: nvgpu_pd_cache_init, nvgpu_pd_alloc, nvgpu_pd_cache_fini, * Targets: nvgpu_pd_cache_init, nvgpu_pd_alloc, nvgpu_pd_cache_fini,
* nvgpu_pd_free * nvgpu_pd_free

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Initialize environment for MM tests * Description: Initialize environment for MM tests
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: None * Targets: None
* *
@@ -56,7 +56,7 @@ int test_env_init(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test FB flush * Description: Test FB flush
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_mm_fb_flush * Targets: gk20a_mm_fb_flush
* *
@@ -82,7 +82,7 @@ int test_gk20a_mm_fb_flush(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test L2 flush * Description: Test L2 flush
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_mm_l2_flush, gk20a_mm_l2_invalidate_locked * Targets: gk20a_mm_l2_flush, gk20a_mm_l2_invalidate_locked
* *
@@ -107,7 +107,7 @@ int test_gk20a_mm_l2_flush(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test L2 invalidate * Description: Test L2 invalidate
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_mm_l2_invalidate, gk20a_mm_l2_invalidate_locked * Targets: gk20a_mm_l2_invalidate, gk20a_mm_l2_invalidate_locked
* *
@@ -132,7 +132,7 @@ int test_gk20a_mm_l2_invalidate(struct unit_module *m, struct gk20a *g,
* *
* Description: Cleanup test environment * Description: Cleanup test environment
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: None * Targets: None
* *

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Initialize environment for MM tests * Description: Initialize environment for MM tests
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: None * Targets: None
* *
@@ -56,7 +56,7 @@ int test_env_init(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test L2 flush * Description: Test L2 flush
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_mm_l2_flush * Targets: gv11b_mm_l2_flush
* *
@@ -84,7 +84,7 @@ int test_gv11b_mm_l2_flush(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Cleanup test environment * Description: Cleanup test environment
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: None * Targets: None
* *

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Test PDE page size * Description: Test PDE page size
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_get_pde_pgsz * Targets: gk20a_get_pde_pgsz
* *
@@ -56,7 +56,7 @@ int test_gk20a_get_pde_pgsz(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test PTE page size * Description: Test PTE page size
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_get_pte_pgsz * Targets: gk20a_get_pte_pgsz
* *

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Test big page size * Description: Test big page size
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gm20b_mm_get_big_page_sizes * Targets: gm20b_mm_get_big_page_sizes
* *

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Test big page size * Description: Test big page size
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_mm_get_default_big_page_size * Targets: gp10b_mm_get_default_big_page_size
* *
@@ -57,7 +57,7 @@ int test_gp10b_mm_get_default_big_page_size(struct unit_module *m,
* *
* Description: Test IOMMU bit number * Description: Test IOMMU bit number
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_mm_get_iommu_bit * Targets: gp10b_mm_get_iommu_bit
* *
@@ -77,7 +77,7 @@ int test_gp10b_mm_get_iommu_bit(struct unit_module *m, struct gk20a *g,
* *
* Description: Test max page table levels * Description: Test max page table levels
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_get_max_page_table_levels * Targets: gp10b_get_max_page_table_levels
* *
@@ -97,7 +97,7 @@ int test_gp10b_get_max_page_table_levels(struct unit_module *m,
* *
* Description: Test mmu_levels structure * Description: Test mmu_levels structure
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_mm_get_mmu_levels * Targets: gp10b_mm_get_mmu_levels
* *
@@ -117,7 +117,7 @@ int test_gp10b_mm_get_mmu_levels(struct unit_module *m,
* *
* Description: Test mmu_levels update entry function * Description: Test mmu_levels update entry function
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: update_gmmu_pde3_locked, pte_dbg_print * Targets: update_gmmu_pde3_locked, pte_dbg_print
* *
@@ -138,7 +138,7 @@ int test_update_gmmu_pde3_locked(struct unit_module *m,
* *
* Description: Test mmu_level 3 update entry function * Description: Test mmu_level 3 update entry function
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: update_gmmu_pde0_locked, pte_dbg_print * Targets: update_gmmu_pde0_locked, pte_dbg_print
* *
@@ -160,7 +160,7 @@ int test_update_gmmu_pde0_locked(struct unit_module *m,
* *
* Description: Test mmu_level 4 update entry function * Description: Test mmu_level 4 update entry function
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: update_gmmu_pte_locked, update_pte, update_pte_sparse, * Targets: update_gmmu_pte_locked, update_pte, update_pte_sparse,
* gmmu_aperture_mask * gmmu_aperture_mask
@@ -186,7 +186,7 @@ int test_update_gmmu_pte_locked(struct unit_module *m,
* *
* Description: Test GMMU level 3 page size function * Description: Test GMMU level 3 page size function
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_get_pde0_pgsz * Targets: gp10b_get_pde0_pgsz
* *

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Test PTE page size * Description: Test PTE page size
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gk20a_get_pte_pgsz * Targets: gk20a_get_pte_pgsz
* *

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Initialize environment for MM tests * Description: Initialize environment for MM tests
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: None * Targets: None
* *
@@ -56,7 +56,7 @@ int test_env_init(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Initialize bar2 VM * Description: Initialize bar2 VM
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_mm_init_bar2_vm, gp10b_mm_remove_bar2_vm * Targets: gp10b_mm_init_bar2_vm, gp10b_mm_remove_bar2_vm
* *
@@ -78,7 +78,7 @@ int test_gp10b_mm_init_bar2_vm(struct unit_module *m, struct gk20a *g,
* *
* Description: Cleanup test environment * Description: Cleanup test environment
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: None * Targets: None
* *

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Initialize environment for MM tests * Description: Initialize environment for MM tests
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: None * Targets: None
* *
@@ -56,7 +56,7 @@ int test_env_init(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Initialize instance block * Description: Initialize instance block
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_mm_init_inst_block * Targets: gv11b_mm_init_inst_block
* *
@@ -79,7 +79,7 @@ int test_gv11b_mm_init_inst_block(struct unit_module *m, struct gk20a *g,
* *
* Description: Test if bar1_is_supported * Description: Test if bar1_is_supported
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_mm_is_bar1_supported * Targets: gv11b_mm_is_bar1_supported
* *
@@ -98,7 +98,7 @@ int test_gv11b_mm_is_bar1_supported(struct unit_module *m, struct gk20a *g,
* *
* Description: Cleanup test environment * Description: Cleanup test environment
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: None * Targets: None
* *

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Initialize environment for MM tests * Description: Initialize environment for MM tests
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: None * Targets: None
* *
@@ -56,7 +56,7 @@ int test_env_init(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test mmu fault setup sw function * Description: Test mmu fault setup sw function
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_mm_mmu_fault_setup_sw, gv11b_mm_mmu_fault_info_mem_destroy * Targets: gv11b_mm_mmu_fault_setup_sw, gv11b_mm_mmu_fault_info_mem_destroy
* *
@@ -77,7 +77,7 @@ int test_gv11b_mm_mmu_fault_setup_sw(struct unit_module *m, struct gk20a *g, voi
* *
* Description: Test mmu fault setup hw function * Description: Test mmu fault setup hw function
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_mm_mmu_fault_setup_hw * Targets: gv11b_mm_mmu_fault_setup_hw
* *
@@ -98,7 +98,7 @@ int test_gv11b_mm_mmu_fault_setup_hw(struct unit_module *m, struct gk20a *g,
* *
* Description: Test mmu fault disable hw function * Description: Test mmu fault disable hw function
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_mm_mmu_fault_disable_hw * Targets: gv11b_mm_mmu_fault_disable_hw
* *
@@ -119,7 +119,7 @@ int test_gv11b_mm_mmu_fault_disable_hw(struct unit_module *m, struct gk20a *g,
* *
* Description: Test other fault notify * Description: Test other fault notify
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_mm_mmu_fault_handle_other_fault_notify * Targets: gv11b_mm_mmu_fault_handle_other_fault_notify
* *
@@ -139,7 +139,7 @@ int test_gv11b_mm_mmu_fault_handle_other_fault_notify(struct unit_module *m,
* *
* Description: Test mmu fault parse function * Description: Test mmu fault parse function
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_mm_mmu_fault_parse_mmu_fault_info * Targets: gv11b_mm_mmu_fault_parse_mmu_fault_info
* *
@@ -159,7 +159,7 @@ int test_gv11b_mm_mmu_fault_parse_mmu_fault_info(struct unit_module *m,
* *
* Description: Test mmu fault handler * Description: Test mmu fault handler
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_mm_mmu_fault_handle_mmu_fault_common, * Targets: gv11b_mm_mmu_fault_handle_mmu_fault_common,
* gv11b_mm_mmu_fault_handle_mmu_fault_ce, * gv11b_mm_mmu_fault_handle_mmu_fault_ce,
@@ -182,7 +182,7 @@ int test_handle_mmu_fault_common(struct unit_module *m,
* *
* Description: Test non-replayable replayable fault handler * Description: Test non-replayable replayable fault handler
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_mm_mmu_fault_handle_nonreplay_replay_fault, * Targets: gv11b_mm_mmu_fault_handle_nonreplay_replay_fault,
* gv11b_mm_mmu_fault_handle_buf_valid_entry, * gv11b_mm_mmu_fault_handle_buf_valid_entry,
@@ -204,7 +204,7 @@ int test_handle_nonreplay_replay_fault(struct unit_module *m, struct gk20a *g,
* *
* Description: Cleanup test environment * Description: Cleanup test environment
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: None * Targets: None
* *

View File

@@ -66,7 +66,7 @@ int test_mm_init_hal(struct unit_module *m, struct gk20a *g, void *args);
* necessary components on the mm unit. It must also properly handle error * necessary components on the mm unit. It must also properly handle error
* cases. * cases.
* *
* Test Type: Feature based, Error guessing * Test Type: Feature, Error guessing
* *
* Input: test_mm_init_hal must have been executed successfully. * Input: test_mm_init_hal must have been executed successfully.
* *
@@ -91,7 +91,7 @@ int test_nvgpu_init_mm(struct unit_module *m, struct gk20a *g, void *args);
* Description: The nvgpu_mm_setup_hw function must initialize all HW related * Description: The nvgpu_mm_setup_hw function must initialize all HW related
* components on the mm unit. It must also properly handle error cases. * components on the mm unit. It must also properly handle error cases.
* *
* Test Type: Feature based, Error guessing * Test Type: Feature, Error guessing
* *
* Input: test_mm_init_hal and test_nvgpu_init_mm must have been executed * Input: test_mm_init_hal and test_nvgpu_init_mm must have been executed
* successfully. * successfully.
@@ -115,7 +115,7 @@ int test_nvgpu_mm_setup_hw(struct unit_module *m, struct gk20a *g, void *args);
* components by calling the relevant HALs to flush L2, disable FB interrupts * components by calling the relevant HALs to flush L2, disable FB interrupts
* and disable MMU fault handling. * and disable MMU fault handling.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_mm_init_hal, test_nvgpu_init_mm and test_nvgpu_mm_setup_hw must * Input: test_mm_init_hal, test_nvgpu_init_mm and test_nvgpu_mm_setup_hw must
* have been executed successfully. * have been executed successfully.
@@ -142,7 +142,7 @@ int test_mm_suspend(struct unit_module *m, struct gk20a *g, void *args);
* is expected that nvgpu_remove_mm_support will call the nvgpu_pd_cache_fini * is expected that nvgpu_remove_mm_support will call the nvgpu_pd_cache_fini
* as its last step. * as its last step.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_mm_init_hal, test_nvgpu_init_mm and test_nvgpu_mm_setup_hw must * Input: test_mm_init_hal, test_nvgpu_init_mm and test_nvgpu_mm_setup_hw must
* have been executed successfully * have been executed successfully
@@ -167,7 +167,7 @@ int test_mm_remove_mm_support(struct unit_module *m, struct gk20a *g,
* Description: The mm page size related operations shall provide information * Description: The mm page size related operations shall provide information
* about big page sizes available. * about big page sizes available.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_mm_init_hal, test_nvgpu_init_mm and test_nvgpu_mm_setup_hw must * Input: test_mm_init_hal, test_nvgpu_init_mm and test_nvgpu_mm_setup_hw must
* have been executed successfully. * have been executed successfully.
@@ -195,7 +195,7 @@ int test_mm_page_sizes(struct unit_module *m, struct gk20a *g, void *args);
* Description: The nvgpu_inst_block_ptr shall return the base address of the * Description: The nvgpu_inst_block_ptr shall return the base address of the
* provided memory block, taking into account necessary RAMIN offset. * provided memory block, taking into account necessary RAMIN offset.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_mm_init_hal, test_nvgpu_init_mm and test_nvgpu_mm_setup_hw must * Input: test_mm_init_hal, test_nvgpu_init_mm and test_nvgpu_mm_setup_hw must
* have been executed successfully. * have been executed successfully.
@@ -221,7 +221,7 @@ int test_mm_inst_block(struct unit_module *m, struct gk20a *g, void *args);
* Description: The nvgpu_alloc_inst_block shall allocate DMA resources for a * Description: The nvgpu_alloc_inst_block shall allocate DMA resources for a
* given block. * given block.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_mm_init_hal, test_nvgpu_init_mm and test_nvgpu_mm_setup_hw must * Input: test_mm_init_hal, test_nvgpu_init_mm and test_nvgpu_mm_setup_hw must
* have been executed successfully. * have been executed successfully.

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Initialize nvgpu_mem for given size and base address. * Description: Initialize nvgpu_mem for given size and base address.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -58,7 +58,7 @@ int test_nvgpu_mem_create_from_phys(struct unit_module *m,
* *
* Description: Check all nvgpu_sgt_ops functions * Description: Check all nvgpu_sgt_ops functions
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_nvgpu_mem_create_from_phys * Input: test_nvgpu_mem_create_from_phys
* *
@@ -76,7 +76,7 @@ int test_nvgpu_mem_phys_ops(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Store pre-defined pattern at allocated nvgpu_mem address * Description: Store pre-defined pattern at allocated nvgpu_mem address
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_nvgpu_mem_create_from_phys * Input: test_nvgpu_mem_create_from_phys
* *
@@ -98,7 +98,7 @@ int test_nvgpu_memset_sysmem(struct unit_module *m,
* *
* Description: Test read and write functions for sysmem * Description: Test read and write functions for sysmem
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_nvgpu_mem_create_from_phys * Input: test_nvgpu_mem_create_from_phys
* *
@@ -123,7 +123,7 @@ int test_nvgpu_mem_wr_rd(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test if given address is iommuable * Description: Test if given address is iommuable
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_nvgpu_mem_create_from_phys * Input: test_nvgpu_mem_create_from_phys
* *
@@ -142,7 +142,7 @@ int test_nvgpu_mem_iommu_translate(struct unit_module *m,
* *
* Description: Check if nvgpu_mem aperture is correct * Description: Check if nvgpu_mem aperture is correct
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_nvgpu_mem_create_from_phys * Input: test_nvgpu_mem_create_from_phys
* *
@@ -161,7 +161,7 @@ int test_nvgpu_aperture_mask(struct unit_module *m,
* *
* Description: Test read and write memory functions for vidmem * Description: Test read and write memory functions for vidmem
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_nvgpu_mem_create_from_phys * Input: test_nvgpu_mem_create_from_phys
* *

View File

@@ -37,7 +37,7 @@ struct unit_module;
* *
* Description: Tests for the simple APIs provided by nvgpu_sgt unit. * Description: Tests for the simple APIs provided by nvgpu_sgt unit.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -79,7 +79,7 @@ int test_nvgpu_sgt_basic_apis(struct unit_module *m, struct gk20a *g,
* Description: Tests test_nvgpu_sgt_get_next API by building sgl's and * Description: Tests test_nvgpu_sgt_get_next API by building sgl's and
* verifying correct pointers returned by calling the API. * verifying correct pointers returned by calling the API.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -100,7 +100,7 @@ int test_nvgpu_sgt_get_next(struct unit_module *m, struct gk20a *g,
* *
* Description: Test the alignment API for the case where there is no IOMMU. * Description: Test the alignment API for the case where there is no IOMMU.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: Static sgt_align_test_array table of alignment combinations. * Input: Static sgt_align_test_array table of alignment combinations.
* *
@@ -126,7 +126,7 @@ int test_nvgpu_sgt_alignment_non_iommu(struct unit_module *m,
* *
* Description: Test the alignment API for the case where there is an IOMMU. * Description: Test the alignment API for the case where there is an IOMMU.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *

View File

@@ -38,7 +38,7 @@ struct unit_module;
* Description: This test must be run once and be the first one as it * Description: This test must be run once and be the first one as it
* initializes the MM subsystem. * initializes the MM subsystem.
* *
* Test Type: Feature based, Init * Test Type: Feature, Other (setup)
* *
* Targets: nvgpu_vm_init * Targets: nvgpu_vm_init
* *
@@ -66,7 +66,7 @@ int test_page_faults_init(struct unit_module *m, struct gk20a *g, void *__args);
* Description: Check that no faults are already pending, then add one and check * Description: Check that no faults are already pending, then add one and check
* that it is pending. * that it is pending.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_mc_is_mmu_fault_pending * Targets: gv11b_mc_is_mmu_fault_pending
* *
@@ -90,7 +90,7 @@ int test_page_faults_pending(struct unit_module *m, struct gk20a *g,
* *
* Description: Test the fault_disable_hw mechanism. * Description: Test the fault_disable_hw mechanism.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gv11b_mm_mmu_fault_disable_hw, gv11b_fb_is_fault_buf_enabled * Targets: gv11b_mm_mmu_fault_disable_hw, gv11b_fb_is_fault_buf_enabled
* *
@@ -117,7 +117,7 @@ int test_page_faults_disable_hw(struct unit_module *m, struct gk20a *g,
* - 2: nvgpu_alloc_inst_block with large page size and set_big_page_size set to * - 2: nvgpu_alloc_inst_block with large page size and set_big_page_size set to
* NULL to test a corner case in gv11b_init_inst_block (branch coverage) * NULL to test a corner case in gv11b_init_inst_block (branch coverage)
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: gp10b_mm_get_default_big_page_size, nvgpu_alloc_inst_block, * Targets: gp10b_mm_get_default_big_page_size, nvgpu_alloc_inst_block,
* gv11b_mm_init_inst_block * gv11b_mm_init_inst_block

View File

@@ -38,7 +38,7 @@ struct unit_module;
* Description: The VM unit shall be able to map a buffer of memory such that * Description: The VM unit shall be able to map a buffer of memory such that
* the GPU may access that memory. * the GPU may access that memory.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -80,7 +80,7 @@ int test_map_buf(struct unit_module *m, struct gk20a *g, void *__args);
* function the resulting GPU virtual address of the map does/does not match * function the resulting GPU virtual address of the map does/does not match
* the requested GPU virtual address. * the requested GPU virtual address.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -121,7 +121,7 @@ int test_map_buf_gpu_va(struct unit_module *m, struct gk20a *g, void *__args);
* Description: This test exercises the VM unit's batch mode. Batch mode is used * Description: This test exercises the VM unit's batch mode. Batch mode is used
* to optimize cache flushes. * to optimize cache flushes.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -146,7 +146,7 @@ int test_batch(struct unit_module *m, struct gk20a *g, void *__args);
* Description: This test exercises the VM unit initialization code and covers * Description: This test exercises the VM unit initialization code and covers
* a number of error paths. * a number of error paths.
* *
* Test Type: Feature based, error injection * Test Type: Feature, Error injection
* *
* Input: None * Input: None
* *
@@ -224,7 +224,7 @@ int test_map_buffer_error_cases(struct unit_module *m, struct gk20a *g,
* *
* Description: This test targets the nvgpu_vm_alloc_va API. * Description: This test targets the nvgpu_vm_alloc_va API.
* *
* Test Type: Feature based, Error injection * Test Type: Feature, Error injection
* *
* Input: None * Input: None
* *
@@ -258,7 +258,7 @@ int test_nvgpu_vm_alloc_va(struct unit_module *m, struct gk20a *g,
* *
* Description: This test targets the nvgpu_vm_bind_channel API. * Description: This test targets the nvgpu_vm_bind_channel API.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -284,7 +284,7 @@ int test_vm_bind(struct unit_module *m, struct gk20a *g, void *__args);
* *
* Description: This test targets the vm_aspace_id API. * Description: This test targets the vm_aspace_id API.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -312,7 +312,7 @@ int test_vm_aspace_id(struct unit_module *m, struct gk20a *g, void *__args);
* Description: This test targets the nvgpu_vm_area_validate_buffer and * Description: This test targets the nvgpu_vm_area_validate_buffer and
* nvgpu_vm_area_alloc APIs. * nvgpu_vm_area_alloc APIs.
* *
* Test Type: Feature based, Error injection * Test Type: Feature, Error injection
* *
* Input: None * Input: None
* *

View File

@@ -36,7 +36,7 @@
* Description: The netlist unit shall query and populate * Description: The netlist unit shall query and populate
* all ctxsw region info from ctxsw firmware. * all ctxsw region info from ctxsw firmware.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -62,7 +62,7 @@ int test_netlist_init_support(struct unit_module *m,
* ctxsw bundels and fecs/gpccs related info. * ctxsw bundels and fecs/gpccs related info.
* Checks whether valid data is retured or not. * Checks whether valid data is retured or not.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -94,7 +94,7 @@ int test_netlist_query_tests(struct unit_module *m,
* *
* Description: This test covers negative paths in netlist init. * Description: This test covers negative paths in netlist init.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -117,7 +117,7 @@ int test_netlist_negative_tests(struct unit_module *m,
* Description: The netlist unit removes all populated netlist * Description: The netlist unit removes all populated netlist
* region info. * region info.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *

View File

@@ -54,7 +54,7 @@ int test_bitmap_info(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test the API nvgpu_ffs() (Find First Set [bit]). * Description: Test the API nvgpu_ffs() (Find First Set [bit]).
* *
* Test Type: Feature based, Boundary values based * Test Type: Feature, Boundary values
* *
* Input: None * Input: None
* *
@@ -77,7 +77,7 @@ int test_ffs(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test the API nvgpu_fls() (Find Last Set [bit]). * Description: Test the API nvgpu_fls() (Find Last Set [bit]).
* *
* Test Type: Feature based, Boundary values based * Test Type: Feature, Boundary values
* *
* Input: None * Input: None
* *
@@ -99,7 +99,7 @@ int test_fls(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test the API ffz() (Find First Zero [bit]). * Description: Test the API ffz() (Find First Zero [bit]).
* *
* Test Type: Feature based, Boundary values based * Test Type: Feature, Boundary values
* *
* Input: None * Input: None
* *
@@ -119,7 +119,7 @@ int test_ffz(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Test the APIs find_first_zero_bit() and find_first_bit(). * Description: Test the APIs find_first_zero_bit() and find_first_bit().
* *
* Test Type: Feature based, Boundary values based * Test Type: Feature, Boundary values
* *
* Input: Pointer to struct test_find_bit_args as function parameter. * Input: Pointer to struct test_find_bit_args as function parameter.
* - The parameter test_find_bit_args is used to select between testing of: * - The parameter test_find_bit_args is used to select between testing of:
@@ -147,7 +147,7 @@ int test_find_first_bit(struct unit_module *m, struct gk20a *g, void *__args);
* *
* Description: Test the API find_next_bit(). * Description: Test the API find_next_bit().
* *
* Test Type: Feature based, Boundary values based * Test Type: Feature, Boundary values
* *
* Input: None. * Input: None.
* *
@@ -175,7 +175,7 @@ int test_find_next_bit(struct unit_module *m, struct gk20a *g, void *__args);
* *
* Description: Test the API bitmap_find_next_zero_area_off(). * Description: Test the API bitmap_find_next_zero_area_off().
* *
* Test Type: Feature based, Boundary values based * Test Type: Feature, Boundary values
* *
* Input: None. * Input: None.
* *
@@ -250,7 +250,7 @@ int test_find_zero_area(struct unit_module *m, struct gk20a *g, void *unused);
* Description: Test the APIs nvgpu_set_bit(), nvgpu_clear_bit(), and * Description: Test the APIs nvgpu_set_bit(), nvgpu_clear_bit(), and
* nvgpu_test_bit(). * nvgpu_test_bit().
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -276,7 +276,7 @@ int test_single_bitops(struct unit_module *m, struct gk20a *g, void *__args);
* *
* Description: Test the APIs nvgpu_set_bit() and nvgpu_clear_bit(). * Description: Test the APIs nvgpu_set_bit() and nvgpu_clear_bit().
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: Pointer to struct test_find_bit_args as function parameter. * Input: Pointer to struct test_find_bit_args as function parameter.
* - The parameter test_find_bit_args is used to select between testing of: * - The parameter test_find_bit_args is used to select between testing of:
@@ -301,7 +301,7 @@ int test_bit_setclear(struct unit_module *m, struct gk20a *g, void *__args);
* Description: Test the APIs nvgpu_test_and_clear_bit() and * Description: Test the APIs nvgpu_test_and_clear_bit() and
* nvgpu_test_and_set_bit(). * nvgpu_test_and_set_bit().
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: Pointer to struct test_find_bit_args as function parameter. * Input: Pointer to struct test_find_bit_args as function parameter.
* - The parameter test_find_bit_args is used to select between testing of: * - The parameter test_find_bit_args is used to select between testing of:
@@ -336,7 +336,7 @@ int test_test_and_setclear_bit(struct unit_module *m, struct gk20a *g,
* *
* Description: Test the APIs nvgpu_bitmap_clear() and nvgpu_bitmap_set(). * Description: Test the APIs nvgpu_bitmap_clear() and nvgpu_bitmap_set().
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: Pointer to struct test_find_bit_args as function parameter. * Input: Pointer to struct test_find_bit_args as function parameter.
* - The parameter test_find_bit_args is used to select between testing of: * - The parameter test_find_bit_args is used to select between testing of:
@@ -358,4 +358,4 @@ int test_test_and_setclear_bit(struct unit_module *m, struct gk20a *g,
*/ */
int test_bitmap_setclear(struct unit_module *m, struct gk20a *g, void *__args); int test_bitmap_setclear(struct unit_module *m, struct gk20a *g, void *__args);
#endif /* UNIT_POSIX_BITOPS_H */ #endif /* UNIT_POSIX_BITOPS_H */

View File

@@ -35,7 +35,7 @@
* *
* Description: Test cond init and cleanup routine. * Description: Test cond init and cleanup routine.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) Global instance of struct nvgpu_cond. * 1) Global instance of struct nvgpu_cond.
@@ -73,7 +73,7 @@ int test_cond_init_destroy(struct unit_module *m,
* and broadcast protected by explicit acquire/release of the locks. * and broadcast protected by explicit acquire/release of the locks.
* - Waiting and signaling using a condition check. * - Waiting and signaling using a condition check.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) Global instance of struct nvgpu_cond. * 1) Global instance of struct nvgpu_cond.

View File

@@ -35,7 +35,7 @@
* *
* Description: Test the creation of kmem cache. * Description: Test the creation of kmem cache.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) GPU driver struct g. * 1) GPU driver struct g.
@@ -66,7 +66,7 @@ int test_kmem_cache_create(struct unit_module *m,
* *
* Description: Test the allocation of memory from kmem cache. * Description: Test the allocation of memory from kmem cache.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) GPU driver struct g. * 1) GPU driver struct g.
@@ -99,7 +99,7 @@ int test_kmem_cache_alloc(struct unit_module *m,
* *
* Description: Test the allocation of memory using kmalloc. * Description: Test the allocation of memory using kmalloc.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) GPU driver struct g. * 1) GPU driver struct g.
@@ -124,7 +124,7 @@ int test_kmem_kmalloc(struct unit_module *m,
* *
* Description: Test the allocation of memory using kzalloc. * Description: Test the allocation of memory using kzalloc.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) GPU driver struct g. * 1) GPU driver struct g.
@@ -151,7 +151,7 @@ int test_kmem_kzalloc(struct unit_module *m,
* *
* Description: Test the allocation of memory using kcalloc. * Description: Test the allocation of memory using kcalloc.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) GPU driver struct g. * 1) GPU driver struct g.
@@ -179,7 +179,7 @@ int test_kmem_kcalloc(struct unit_module *m,
* *
* Description: Test the allocation of memory using virtual alloc APIs. * Description: Test the allocation of memory using virtual alloc APIs.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) GPU driver struct g. * 1) GPU driver struct g.
@@ -213,7 +213,7 @@ int test_kmem_virtual_alloc(struct unit_module *m,
* *
* Description: Test the allocation of memory using big alloc APIs. * Description: Test the allocation of memory using big alloc APIs.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) GPU driver struct g. * 1) GPU driver struct g.

View File

@@ -37,7 +37,7 @@
* *
* Description: Test the PID of the current process. * Description: Test the PID of the current process.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* *
@@ -59,7 +59,7 @@ int test_current_pid(struct unit_module *m,
* *
* Description: Test the TID of the current thread. * Description: Test the TID of the current thread.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* *
@@ -81,7 +81,7 @@ int test_current_tid(struct unit_module *m,
* *
* Description: Print the current thread name. * Description: Print the current thread name.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* *

View File

@@ -36,7 +36,7 @@
* *
* Description: Initialisation of rwsem. * Description: Initialisation of rwsem.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) Global nvgpu_rwsem instance. * 1) Global nvgpu_rwsem instance.
@@ -58,7 +58,7 @@ int test_rwsem_init(struct unit_module *m,
* *
* Description: Testing the locking of a rwlock by multiple read threads. * Description: Testing the locking of a rwlock by multiple read threads.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) Global nvgpu_rwsem instance. * 1) Global nvgpu_rwsem instance.
@@ -109,7 +109,7 @@ int test_rwsem_read(struct unit_module *m,
* *
* Description: Testing the locking of a rwlock by multiple write threads. * Description: Testing the locking of a rwlock by multiple write threads.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) Global nvgpu_rwsem instance. * 1) Global nvgpu_rwsem instance.
@@ -169,7 +169,7 @@ int test_rwsem_write(struct unit_module *m,
* *
* Description: Testing the locking of a rwlock by write and read threads. * Description: Testing the locking of a rwlock by write and read threads.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) Global nvgpu_rwsem instance. * 1) Global nvgpu_rwsem instance.

View File

@@ -42,7 +42,7 @@
* *
* Description: Test the values of various size defines. * Description: Test the values of various size defines.
* *
* Test Type: Feature based * Test Type: Feature
* *
* Inputs: * Inputs:
* None * None

View File

@@ -86,7 +86,7 @@ struct unit_test_thread_data test_data;
* test_thread_cycle function tests all the above mentioned functionalities * test_thread_cycle function tests all the above mentioned functionalities
* based on the input arguments. * based on the input arguments.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) Pointer to test_thread_args as function parameter * 1) Pointer to test_thread_args as function parameter

View File

@@ -34,7 +34,7 @@
* *
* Description: Test the timer initialization routine. * Description: Test the timer initialization routine.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Inputs: * Inputs:
* 1) The type of timer to be tested is passed as an argument to the test. * 1) The type of timer to be tested is passed as an argument to the test.
@@ -65,7 +65,7 @@ int test_timer_init(struct unit_module *m,
* *
* Description: Test the timer initialisation routine error path. * Description: Test the timer initialisation routine error path.
* *
* Test Type: Boundary Value analysis. * Test Type: Boundary values
* *
* Inputs: * Inputs:
* 1) Global nvgpu_timeout structure instance. * 1) Global nvgpu_timeout structure instance.
@@ -92,7 +92,7 @@ int test_timer_init_err(struct unit_module *m,
* *
* Description: Test the counter based timer functionality. * Description: Test the counter based timer functionality.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Input: * Input:
* 1) Global nvgpu_timeout structure instance. * 1) Global nvgpu_timeout structure instance.
@@ -122,7 +122,7 @@ int test_timer_counter(struct unit_module *m,
* *
* Description: Test the duration based timer functionality. * Description: Test the duration based timer functionality.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Input: * Input:
* 1) Global nvgpu_timeout structure instance. * 1) Global nvgpu_timeout structure instance.
@@ -151,7 +151,7 @@ int test_timer_duration(struct unit_module *m,
* *
* Description: Test the delay functionality. * Description: Test the delay functionality.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -183,7 +183,7 @@ int test_timer_delay(struct unit_module *m,
* *
* Description: Test the sleep functionality. * Description: Test the sleep functionality.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -208,7 +208,7 @@ int test_timer_msleep(struct unit_module *m,
* *
* Description: Test the high resolution counter based functionalities. * Description: Test the high resolution counter based functionalities.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Input: None. * Input: None.
* *
@@ -237,7 +237,7 @@ int test_timer_hrtimestamp(struct unit_module *m,
* *
* Description: Compare the timers in various resoutions. * Description: Compare the timers in various resoutions.
* *
* Test Type: Feature based. * Test Type: Feature
* *
* Input: None. * Input: None.
* *

View File

@@ -38,7 +38,7 @@ struct unit_module;
* *
* Description: Environment initialization for tests * Description: Environment initialization for tests
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: None * Input: None
* *
@@ -60,7 +60,7 @@ int test_sync_init(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Environment de-initialization for tests * Description: Environment de-initialization for tests
* *
* Test Type: Feature based * Test Type: Feature
* *
* Input: test_sync_init run for this GPU * Input: test_sync_init run for this GPU
* *
@@ -80,7 +80,7 @@ int test_sync_deinit(struct unit_module *m, struct gk20a *g, void *args);
* *
* Description: Branch coverage for nvgpu_channel_sync_{create/destroy} success * Description: Branch coverage for nvgpu_channel_sync_{create/destroy} success
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_channel_sync_create, nvgpu_has_syncpoints, * Targets: nvgpu_channel_sync_create, nvgpu_has_syncpoints,
* nvgpu_channel_sync_syncpt_create, * nvgpu_channel_sync_syncpt_create,
@@ -111,7 +111,7 @@ int test_sync_create_destroy_sync(struct unit_module *m, struct gk20a *g, void *
* *
* Description: Branch coverage for nvgpu_channel_sync_set_safe_state * Description: Branch coverage for nvgpu_channel_sync_set_safe_state
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_channel_sync_set_safe_state * Targets: nvgpu_channel_sync_set_safe_state
* *
@@ -129,7 +129,7 @@ int test_sync_set_safe_state(struct unit_module *m, struct gk20a *g, void *args)
* *
* Description: Branch coverage for nvgpu_channel_sync_syncpt_* APIs * Description: Branch coverage for nvgpu_channel_sync_syncpt_* APIs
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_channel_sync_to_syncpt, nvgpu_channel_sync_get_syncpt_id * Targets: nvgpu_channel_sync_to_syncpt, nvgpu_channel_sync_get_syncpt_id
* nvgpu_channel_sync_get_syncpt_address * nvgpu_channel_sync_get_syncpt_address
@@ -151,7 +151,7 @@ int test_sync_usermanaged_syncpt_apis(struct unit_module *m, struct gk20a *g, vo
* *
* Description: Branch coverage for nvgpu_channel_sync_create failure * Description: Branch coverage for nvgpu_channel_sync_create failure
* *
* Test Type: Feature based * Test Type: Feature
* *
* Targets: nvgpu_channel_sync_create, nvgpu_has_syncpoints, * Targets: nvgpu_channel_sync_create, nvgpu_has_syncpoints,
* nvgpu_channel_sync_syncpt_create, * nvgpu_channel_sync_syncpt_create,