Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes https://github.com/ARM-software/sbsa-acs/issues/512 #392

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions val/sbsa/src/sbsa_execute_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,14 @@ val_sbsa_pcie_execute_tests(uint32_t level, uint32_t num_pe)
status |= p009_entry(num_pe); /* This covers GIC rule */
#endif

ecam_status = p001_entry(num_pe);
if (ecam_status == ACS_STATUS_FAIL) {
val_print(ACS_PRINT_WARN, "\n *** Skipping remaining PCIE tests ***\n", 0);
return status;
}

status |= ecam_status;

#ifndef TARGET_LINUX
if (((level > 2) && (g_sbsa_only_level == 0)) || (g_sbsa_only_level == 3))
status |= p040_entry(num_pe);
Expand All @@ -289,13 +297,6 @@ val_sbsa_pcie_execute_tests(uint32_t level, uint32_t num_pe)
#endif

if (((level > 5) && (g_sbsa_only_level == 0)) || (g_sbsa_only_level == 6)) {
ecam_status = p001_entry(num_pe);
if (ecam_status == ACS_STATUS_FAIL) {
val_print(ACS_PRINT_WARN, "\n *** Skipping remaining PCIE tests ***\n", 0);
return status;
}

status |= ecam_status;
#if defined(TARGET_LINUX) || defined(TARGET_EMULATION)
status |= p005_entry(num_pe);
#endif
Expand Down