Searched hist:"54439 d20" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/remoteproc/ |
H A D | mtk_scp.c | 54439d20 Fri Jul 01 07:12:29 CDT 2022 Allen-KH Cheng <allen-kh.cheng@mediatek.com> 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 <allen-kh.cheng@mediatek.com> Tested-by: TingHan Shen <tinghan.shen@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20220701121229.22756-2-allen-kh.cheng@mediatek.com Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|