Skip to content

Commit

Permalink
Removed skip check for PMU tests
Browse files Browse the repository at this point in the history
 - As the rules are non-conditional running the tests irrespective of pmu node count.
  • Loading branch information
gontumukkala-balaji committed Dec 17, 2024
1 parent de00640 commit b521f91
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions val/sbsa/src/sbsa_execute_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ val_sbsa_pmu_execute_tests(uint32_t level, uint32_t num_pe)

uint32_t status = ACS_STATUS_FAIL;
uint32_t skip_module;
uint32_t i, pmu_node_count;
uint32_t i;

if (!(((level > 6) && (g_sbsa_only_level == 0)) || (g_sbsa_only_level == 7)))
return ACS_STATUS_SKIP;
Expand Down Expand Up @@ -651,17 +651,9 @@ val_sbsa_pmu_execute_tests(uint32_t level, uint32_t num_pe)
status = pmu001_entry(num_pe);
status |= pmu002_entry(num_pe);
status |= pmu003_entry(num_pe);
status |= pmu006_entry(num_pe);

pmu_node_count = val_pmu_get_info(PMU_NODE_COUNT, 0);
if (pmu_node_count == 0) {
val_print(ACS_PRINT_TEST,
"\n PMU nodes not found. Skipping remaining PMU tests\n", 0);
return ACS_STATUS_SKIP;
}

status |= pmu004_entry(num_pe);
status |= pmu005_entry(num_pe);
status |= pmu006_entry(num_pe);
status |= pmu007_entry(num_pe);
status |= pmu009_entry(num_pe);
}
Expand Down

0 comments on commit b521f91

Please sign in to comment.