Enable CMA and the dma-buf CMA heap. The CMA memcg tests will use the dma-buf heap to allocate in the CMA and exercise the charge/uncharge accounting. Signed-off-by: Eric Chanudet --- tools/testing/selftests/cgroup/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/testing/selftests/cgroup/config b/tools/testing/selftests/cgroup/config index 39f979690dd3..c4f7df4f1b24 100644 --- a/tools/testing/selftests/cgroup/config +++ b/tools/testing/selftests/cgroup/config @@ -4,3 +4,7 @@ CONFIG_CGROUP_FREEZER=y CONFIG_CGROUP_SCHED=y CONFIG_MEMCG=y CONFIG_PAGE_COUNTER=y +CONFIG_CMA=y +CONFIG_DMA_CMA=y +CONFIG_DMABUF_HEAPS=y +CONFIG_DMABUF_HEAPS_CMA=y -- 2.53.0