Hi ,
we follow the document https://developer.arm.com/documentation/109541/24-3/Testing-the-software-stack-and-FVP/Buildroot-tests/Test-MPAM?lang=en to test MPAM function on dsu0 L3 Cache.
I found lumex fvp on tc4-branch could not support cache_state_modelled
Hi saiph wang,
The cache state modelling has been deprecated (see the note in link below) so you should not enable it any longer.
developer.arm.com/.../Functional-caches-in-Fast-Models
--
For cache-state modeling to work, all components within the coherency domain must have consistent cache-state modeling settings. Support for cache state modeling beyond the CPUs is deprecated and will be removed in a future release. When support is removed from the interconnects, this means that cache state modeling can only be enabled if the coherency boundary is before the interconnect, for example at the cluster boundary.
Just FYI, the cache state modelling doesn't intend to replicate the same behavior as the caches in real hardware. Please see the link below for further information about this.
developer.arm.com/.../Caches-in-Fast-Models
Kind regards,
Toshi
Thanks,Toshihisa Oishi
So,Do you know Which FVP both support cache state modelled & MPAM?
"this means that cache state modeling can only be enabled if the coherency boundary is before the interconnect, for example at the cluster boundary."
As description, if the FVP don't support SLC/MCN cache, it only support dsu cluster boundary cache coherecy. Could those fvp support cache_state_modelled?
such as zena css or RD N2 Cfg1?
Thanks for your relay
Hi saiph wang
MPAM in FVP doesn't rely on cache state modelling because we design FVPs to only have MPAM related registers so that users can run MPAM software, however, the actual functionality of MPAM cannot be validated by FVP because the actual functionality of MPAM is not implemented in FVP. That is, FVP cannot be used to prove the MPAM functionality. MPAM can only be validated on RTL simulation (or FPGA prototyping, or RTL emulation, or silicon etc).
Your quoted statement in red means:
Almost all the FVPs have a coherent interconnect (CMN_S3, CMN700, CCI400 etc), thus, cache state modelling should not be turned on in any FVPs.
Thanks,