Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ipc: debug: Add shared memory heap to memory scan

Newly added shared heap zones should be taken into account during
memory usage scanning.

Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211216232422.345164-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Karol Trzcinski and committed by
Mark Brown
60ded273 182b682b

+2
+2
include/sound/sof/debug.h
··· 19 19 SOF_IPC_MEM_ZONE_SYS_RUNTIME = 1, /**< System-runtime zone */ 20 20 SOF_IPC_MEM_ZONE_RUNTIME = 2, /**< Runtime zone */ 21 21 SOF_IPC_MEM_ZONE_BUFFER = 3, /**< Buffer zone */ 22 + SOF_IPC_MEM_ZONE_RUNTIME_SHARED = 4, /**< System runtime zone */ 23 + SOF_IPC_MEM_ZONE_SYS_SHARED = 5, /**< System shared zone */ 22 24 }; 23 25 24 26 /** ABI3.18 */