• Vineet Gupta's avatar
    ARCv2: MMUv4: cache programming model changes · d1f317d8
    Vineet Gupta authored
    Caveats about cache flush on ARCv2 based cores
    
    - dcache is PIPT so paddr is sufficient for cache maintenance ops (no
      need to setup PTAG reg
    
    - icache is still VIPT but only aliasing configs need PTAG setup
    
    So basically this is departure from MMU-v3 which always need vaddr in
    line ops registers (DC_IVDL, DC_FLDL, IC_IVIL) but paddr in DC_PTAG,
    IC_PTAG respectively.
    Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
    d1f317d8
cache.c 20.8 KB