gpu: nvgpu: units: swuts: Update SWUTS details

Update Posix SWUTS with following additions
 - Add os_sched unit
 - Add rwsem unit
 - Modify the details for bitops unit

Jira NVGPU-4478

Change-Id: I196ce05f01a51d8a773f87f3e5446eda19e6a861
Signed-off-by: ajesh <akv@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2282304
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
ajesh
2020-01-20 12:53:04 +05:30
committed by Alex Waterman
parent 97718da708
commit fbafc9e05c
5 changed files with 53 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ int test_bitmap_info(struct unit_module *m, struct gk20a *g, void *args);
*
* Test Type: Feature, Boundary values
*
* Targets: nvgpu_ffs
* Targets: nvgpu_ffs, nvgpu_posix_ffs
*
* Input: None
*
@@ -83,7 +83,7 @@ int test_ffs(struct unit_module *m, struct gk20a *g, void *args);
*
* Test Type: Feature, Boundary values
*
* Targets: nvgpu_fls
* Targets: nvgpu_fls, nvgpu_posix_fls
*
* Input: None
*
@@ -189,12 +189,34 @@ int test_find_next_bit(struct unit_module *m, struct gk20a *g, void *__args);
*
* Test Type: Feature, Boundary values
*
* Targets: bitmap_find_next_zero_area_off
* Targets: bitmap_find_next_zero_area, bitmap_find_next_zero_area_off
*
* Input: None.
*
* Steps:
* - Loop through array of all zeros:
* - Call bitmap_find_next_zero_area() with:
* - array of zeros
* - size of array (in bits)
* - start value of loop index
* - size of bitmap as size of array - 1 (bit)
* - 0 for alignment parameters
* - Verify returns loop index.
* - Call bitmap_find_next_zero_area() with:
* - array of zeros
* - size of array (in bits)
* - start value of loop index
* - size of bitmap as 1 (bit)
* - 0 for alignment parameters
* - Verify returns loop index.
* - Call bitmap_find_next_zero_area() with:
* - array of zeros
* - size of array (in bits)
* - start value of 0
* - size of bitmap as size of array - loop index
* - 0 for alignment parameters
* - Verify returns 0.
* - Loop through array of all zeros:
* - Call bitmap_find_next_zero_area_off() with:
* - array of zeros
* - size of array (in bits)