From c4453c34318efb850c6b061043d59fef95a9f9de Mon Sep 17 00:00:00 2001 From: yaojiaqi Date: Sat, 9 May 2026 13:16:49 +0800 Subject: [PATCH] openamp: fix CMake dcache option OpenAMP 2025.10.0 removed the deprecated WITH_DCACHE_VRINGS, WITH_DCACHE_BUFFERS and WITH_DCACHE_RSC_TABLE CMake options. The replacement is WITH_DCACHE, which enables VIRTIO_USE_DCACHE for vrings, buffers and resource table cache operations. Use WITH_DCACHE for CONFIG_OPENAMP_CACHE in the CMake integration so the CMake build matches the Makefile path, which already defines VIRTIO_USE_DCACHE directly. Signed-off-by: yaojiaqi --- openamp/open-amp.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openamp/open-amp.cmake b/openamp/open-amp.cmake index 668d854a81e41..8b14484e03e65 100644 --- a/openamp/open-amp.cmake +++ b/openamp/open-amp.cmake @@ -87,7 +87,7 @@ if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/open-amp) endif() if(CONFIG_OPENAMP_CACHE) - set(WITH_DCACHE_VRINGS ON) + set(WITH_DCACHE ON) endif() if(CONFIG_OPENAMP_DEBUG)