From c13d67f185aa0764840f41d514738b91e191e7fc Mon Sep 17 00:00:00 2001 From: Jyri Sarha Date: Fri, 10 Apr 2026 17:50:25 +0300 Subject: [PATCH] vregion: Disable virtual regions on ACE 2.0 and earlier The virtual memory heap does not work properly on MTL or LNL and effectively the system from functioning due to virtual memory heap allocations failing when the demand for module memory is high, like in this test: TPLG="/lib/firmware/intel/development/sof-lnl-nocodec.tplg" MODEL=LNLP_RVP_NOCODEC SOF_TEST_INTERVAL=10 ~/sof-test/test-case/multiple-pipeline.sh -f a -c 20 -l Disable virtual memory heap for ACE 2.0 and earlier as quick remedy to the problem. With proper tuning it may be possible to get VREGIONS working on these platforms too. Fixes: b3d0c47ae15c (vregion: Add support for per pipeline/module virtual regions) Signed-off-by: Jyri Sarha --- zephyr/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr/Kconfig b/zephyr/Kconfig index 1d02868fd5ca..100682bb857a 100644 --- a/zephyr/Kconfig +++ b/zephyr/Kconfig @@ -252,7 +252,7 @@ config SOF_ZEPHYR_NO_SOF_CLOCK config SOF_VREGIONS bool "Enable virtual memory regions" - default y if ACE + default y if ACE && !ACE_VERSION_1_5 && !ACE_VERSION_2_0 depends on ACE help Enable the virtual regions memory allocator for pipeline resource management.