ARM-software / bsa-acs

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

BSA 305 failure with the case where core reports 52-bit PA space, but SMMU reports 48-bits #162

Closed sunnywang-arm closed 3 months ago

sunnywang-arm commented 1 year ago

305 : Check Large Physical Addr Support
Large PA Not Supported in SMMU Failed on PE - 0 Checkpoint -- 2 : Result: FAIL

The core is capable of 52-bits, but our SOC's accessible physical address space does not exceed 48-bits. Therefore the SMMU allows all address space to be accessed.

ARM potentially update test to see if SMMU advertises all of the address space.

chetan-rathore commented 1 year ago

Hi @sunnywang-arm,

Thanks for raising the issue. The test logic is following the rule intent, but agree that there is a need to accommodate SoC's which has physical address space not exceeding 48-bits.

Internal discussion with Architects is ongoing regarding rule updates in the specification. Once the changes are reflected in the specification, the test logic will be updated.

Thanks, ACS team