Hi,
we want to configure some part of the MSMC as L3 cache.
Some information to the environment:
Board: J784s4 custom board
PDK: 9.01.00.22
Linux
SPL Boot
At the ti-dm firmware running at mcu1_0 the "sciclient_defaultBoardcfg.c" is adjusted that 2MB (.msmc_cache_size = 0x8) are activated.
diff --git a/krc5_mcu1_0/ti-pdk/pdk_j784s4_09_01_00_22/packages/ti/drv/sciclient/soc/V6/sciclient_defaultBoardcfg.c b/krc5_mcu1_0/ti-pdk/pdk_j784s4_09_01_00_22/packages/ti/drv/sciclient/soc/V6/sciclient_defaultBoardcfg.c index b07a55e..b1bb18c 100644 --- a/krc5_mcu1_0/ti-pdk/pdk_j784s4_09_01_00_22/packages/ti/drv/sciclient/soc/V6/sciclient_defaultBoardcfg.c +++ b/krc5_mcu1_0/ti-pdk/pdk_j784s4_09_01_00_22/packages/ti/drv/sciclient/soc/V6/sciclient_defaultBoardcfg.c @@ -110,7 +110,7 @@ __attribute__(( aligned(128), section(".boardcfg_data") )) = * be given in steps of 4, which makes the size of cache to be * configured in steps on X/8 MB. */ - .msmc_cache_size = 0x00, + .msmc_cache_size = 0x8, }, /* tisci_boardcfg_dbg_cfg */
Is there a possibility to detect if this new activated L3-cache is recognized by the Linux.
I have tried for example "lshw" to show the available cache, but it looks like the new L3 cache is not available.
Is there another way to check if this MSMC L3 cache is being used?
# lshw -C memory *-cache description: L1 Cache physical id: 0 size: 32KiB *-cache description: L1 Cache physical id: 0 size: 32KiB *-cache description: L1 Cache physical id: 0 size: 32KiB *-cache description: L1 Cache physical id: 0 size: 32KiB *-cache description: L1 Cache physical id: 0 size: 32KiB *-cache description: L1 Cache physical id: 0 size: 32KiB *-cache description: L1 Cache physical id: 0 size: 32KiB *-cache description: L1 Cache physical id: 0 size: 32KiB *-memory description: System memory physical id: a size: 3649MiB
Thanks Regards
Thomas