zephyr/soc/mediatek/mt8xxx
Andy Ross 4b27b5494f soc/mediatek/mtk_adsp: Always cache the full SRAM region
I think my original idea with this default MPU setup was that the top
bits of the (fast) SRAM region might be useful for host DMA that
needed better latencies than the (extremely slow) system DRAM
mappings.  So it should be left uncached for safety.

But unfortunately the author[1] of the SOF heap integration for this
platform decided to size the heap dynamically to use most of the SRAM
block (the vectors and a few other bits live at the bottom, but most
of .text is in DRAM).

Needless to say, an uncached heap is sort of a performance disaster.
It worked OK for default copy-only topologies but fell over the moment
we turned on nontrivial processing.

[1] Um... Hi.  Yeah, that's me too.

Signed-off-by: Andy Ross <andyross@google.com>
2025-02-13 16:43:00 +01:00
..
mt8186
mt8188
mt8195
mt8196 arch: remove CONFIG_LEGACY_MULTI_LEVEL_TABLE_GENERATION 2025-01-23 16:32:36 +01:00
CMakeLists.txt soc/mediatek/adsp: Build zephyr.ri using rimage when available 2024-12-05 22:08:55 +01:00
cpuclk.c
gen_img.py soc/mediatek: Ruffify python scripts 2024-11-28 20:51:50 +01:00
irq.c boards/mediatek: Add mt8196_adsp 2024-11-28 20:51:50 +01:00
Kconfig
Kconfig.defconfig soc/mediatek/adsp: Enable winstream console 2025-01-06 20:33:04 +01:00
Kconfig.soc boards/mediatek: Add mt8196_adsp 2024-11-28 20:51:50 +01:00
linker.ld soc/mediatek/mtk_adsp: Support __nocache 2025-01-06 20:33:04 +01:00
mbox.c soc/mediatek/adsp: Union mbox ISRs 2025-01-06 20:33:04 +01:00
mtk_adsp_load.py soc/mediatek/mtk_adsp: Use smaller accesses when find()ing in device memory 2025-02-13 16:43:00 +01:00
soc.c soc/mediatek/mtk_adsp: Always cache the full SRAM region 2025-02-13 16:43:00 +01:00
soc.h
soc.yml boards/mediatek: Add mt8196_adsp 2024-11-28 20:51:50 +01:00