aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAllen-KH Cheng <[email protected]>2022-07-01 20:12:29 +0800
committerMathieu Poirier <[email protected]>2022-07-04 11:25:45 -0600
commit54439d20c027f17ff022e828cb0c05b25ee2d124 (patch)
tree3831b67f4394d2aa0eddf2b1f2b0dff6af0d2525 /tools/perf/scripts/python/event_analyzing_sample.py
parent50d6281ce9b8412f7ef02d1bc9d23aa62ae0cf98 (diff)
remoteproc: mediatek: Enable cache for mt8186 SCP
This patch is for enabling cache in SCP. There is not enough space on the SRAM of SCP. We need to run programs in DRAM. The DRAM power and latency is much larger than SRAM, so cache is used to mitigate the negative effects for performance. We set SCP registers for cache size before loading SCP FW. (8KB+8KB) and also adjust ipi_buf_offset in SRAM from 0x7bdb0 to 0x3bdb0 for enabling cache. Signed-off-by: Allen-KH Cheng <[email protected]> Tested-by: TingHan Shen <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions