Hi,Expert:
Based on (+) TDA4VM: TDA4 L3 cache - Processors forum - Processors - TI E2E support forums
I configure L3 cache (6MB) for our custom board. . Here are my board config:
/* tisci_boardcfg_msmc */ .msmc = { .subhdr = { .magic = TISCI_BOARDCFG_MSMC_MAGIC_NUM, .size = (uint16_t) sizeof(struct tisci_boardcfg_msmc), }, /* If the whole memory is X MB the value you write to this field is n. * The value of n sets the cache size as n * X/32. The value of n should * be given in steps of 4, which makes the size of cache to be * configured in steps on X/8 MB. */ .msmc_cache_size = 0x18, },
I called Scliet_msmcQury() API to check:
msmcQuery resp.start_low 70000000, resp.start_high 00000000 , resp.end_low 701effff , resp.end_high 00000000
Here are CPU load before and after:
before:(8M msmc used as sram, .msmc_cache_size = 0x0, )
after:(2M msmc used as sram, .msmc_cache_size = 0x18, )
From Scliet_msmcQury API ,It looks like the configuration was successful, but why isn't the CPU load improving? Neither Main Domain nor MCU Domain improved.
Here are some questions:
Q1: When I configured MSMC as L3 Cache, did I miss any steps ?
Q2:If both code and data are run on DDR, is it possible to configure MSMC for L3 Cache to improve operating efficiency?
Q3:Configure MSMC as L3 Cahce, is it beneficial for Main Domain or for all Domains?