ARM-software / bsa-acs

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

BSA test "601 : USB CTRL Interface" need to be revisited #323

Open sunnywang-arm opened 3 months ago

sunnywang-arm commented 3 months ago

This has been discussed offline. Create an issue here for bsa-acs users' information.

The corresponding rules below in BSA spec are conditional requirements.

Now the BSA test 601 only allows the system to have EHCI and XHCI USB controllers. A system having a USB 1.x controller will cause the test 601 to fail, which is wrong. We need to fix the issue. For DT based system, we already have a pull request for this. https://github.com/ARM-software/bsa-acs/pull/317. For ACPI based system, we still need make a change.

Also, the test doesn't completely check the compliance of B_PER_01 and B_PER_02. It only checks the type of USB controller, so we'll need to make some changes to check the USB 2.0 and 3.0 controller's EHCI or XHCI version.

chetan-rathore commented 3 months ago

Hi @sunnywang-arm,

The test will be updated to

Thanks, ACS team

sunnywang-arm commented 2 months ago

@chetan-rathore

As we offline discussed, B_PER_01 and B_PER_02 are conditional requirements, so If the system doesn't have any EHCI or XHCI controller, the result should be SKIPPED rather than FAIL.

Also, the purpose of BSA test 601 is to catch the case where non-standard USB 2.0 and 3.0 controllers (not compliant with EHCI and XHCI specs) are being used for OS boot and installation.

Therefore, the test will be updated to: