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 #521 Exerciser on multi-segments #532

Merged
merged 1 commit into from
Feb 11, 2025
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
11 changes: 1 addition & 10 deletions test_pool/pcie/operating_system/test_p003.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** @file
* Copyright (c) 2016-2024, Arm Limited or its affiliates. All rights reserved.
* Copyright (c) 2016-2025, Arm Limited or its affiliates. All rights reserved.
* SPDX-License-Identifier : Apache-2.0

* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -50,7 +50,6 @@ payload(void)

uint32_t data;
uint32_t num_ecam;
uint64_t ecam_base;
uint32_t index = val_pe_get_index_mpid(val_pe_get_mpid());
uint32_t bdf = 0;
uint32_t bus, segment;
Expand Down Expand Up @@ -83,14 +82,6 @@ payload(void)
return;
}

ecam_base = val_pcie_get_info(PCIE_INFO_MCFG_ECAM, 0);

if (ecam_base == 0) {
val_print(ACS_PRINT_DEBUG, "\n ECAM Base in MCFG is 0. Skipping test ", 0);
val_set_status(index, RESULT_SKIP(TEST_NUM, 01));
return;
}

while (num_ecam) {
num_ecam--;
segment = val_pcie_get_info(PCIE_INFO_SEGMENT, num_ecam);
Expand Down