ARM-software / bsa-acs

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

PE test 1 CCSIDR_EL1 failure with the case where CCIDX is implemented #307

Closed sunnywang-arm closed 4 months ago

sunnywang-arm commented 4 months ago

As our offline discussion, Chetan found an issue with the value of MASK_CCSIDR so create this issue to have a record and tracking the fix.

Per BSA spec, if FEAT_CCIDX is implemented, the number of Sets [55:32] and the associativity of Caches [23:3] can be different on each PE's CCSIDR_EL1 registers. Now the value of MASK_CCSIDR is 0xFFFFFF8 so the Permitted architectural difference in "The number of Sets [55:32]" is wrongly identified as a failure.

https://github.com/ARM-software/bsa-acs/blob/8d2382ad2be86ee2598dc69703e11c9315c3cf2b/test_pool/pe/operating_system/test_os_c001.c#L37