This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62D-Q1: About Cache and MMU WT/WB settings

Part Number: AM62D-Q1
Other Parts Discussed in Thread: SYSCONFIG

Hi experts,

This is a question related to this thread.
 
Q: When selecting the L1D cache setting of AM62D or AM62A with CacheP_enableWT/CacheP_enableWB, should the MMU Armv8 cache policy setting be changed to match WT/WB?
In the measurement comparing WT and WB, both the L2SRAM area and DDR area where programs and data are deployed use MAIR7.
(In sysconfig: Attr Index 7: Normal outer and inner write-back cacheable non-transient memory)
It would be helpful if you could tell me the settings used in your company's tests.
 
Bet regards,
O.H
  • Hi O.H,

    Q: When selecting the L1D cache setting of AM62D or AM62A with CacheP_enableWT/CacheP_enableWB, should the MMU Armv8 cache policy setting be changed to match WT/WB?
    In the measurement comparing WT and WB, both the L2SRAM area and DDR area where programs and data are deployed use MAIR7.
    (In sysconfig: Attr Index 7: Normal outer and inner write-back cacheable non-transient memory)
    It would be helpful if you could tell me the settings used in your company's tests.

    We also use MAIR7 as you can see in the examples present in the SDK. If L1D is configured for Write-Through mode in L1DCFG, L1D is set for Write-Through mode, regardless of MMU table entry.


    Thanks,
    Shreyansh

  • Hi Shreyansh,

    Thank you for your support.

    If the L1DCFG setting is WT, I understand that it is acceptable for the MMU(L2, DDR) to use MAIR7 (WB).
    According to the customer's test results, when L1DCFG was set to WT and matched to MAIR6 (WT), there was a tenfold increase in cycles compared to MAIR7 (WB). [4000→40000]
    Best regards,
    O.H