ARM-software / bsa-acs

Arm SystemReady : BSA Architecture Compliance Suite
Apache License 2.0
16 stars 42 forks source link

802 : ECAM Region accessibility check Failure #14

Closed sunnywang-arm closed 2 years ago

sunnywang-arm commented 2 years ago

There is an assumption in the test suite that the first device will always be at Bus 0 Dev 0 Func 0. However, it is possible to see that the first device in ECAM space is an RP (Bridge device) having a non-zero BDF number, and there is no requirement in the PCIe spec to support this assumption. Therefore, we need to update the code to remove the assumption.

We also confirmed that VMware and most Linux distros are working fine with the case that the first device has a non-zero device number.

chetan-rathore commented 2 years ago

Hi @sunnywang-arm,

The Bus 0 Dev 0 Func 0 check has been removed from test #16 and updated further with #18 changes

sunnywang-arm commented 2 years ago

Yeah, confirmed. #16 fixed the issue. Thanks, @chetan-rathore and @Sujana-M. Closing this issue.