Lines Matching full:cma
25 #include <linux/cma.h>
68 static struct cma *fadump_cma;
71 * fadump_cma_init() - Initialize CMA area from a fadump reserved memory
73 * This function initializes CMA area from fadump reserved memory.
76 * Initialize only the area equivalent to boot memory size for CMA use.
78 * to CMA and pages for those will stay reserved. boot memory size is
79 * aligned per CMA requirement to satisy cma_init_reserved_mem() call.
92 * Do not use CMA if user has provided fadump=nocma kernel parameter. in fadump_cma_init()
106 pr_err("Failed to init cma area for firmware-assisted dump,%d\n", rc); in fadump_cma_init()
108 * Though the CMA init has failed we still have memory in fadump_cma_init()
117 * If CMA activation fails, keep the pages reserved, instead of in fadump_cma_init()
123 * So we now have successfully initialized cma area for fadump. in fadump_cma_init()
125 pr_info("Initialized 0x%lx bytes cma area at %ldMB from 0x%lx " in fadump_cma_init()