[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1690598115-26287-1-git-send-email-quic_pintu@quicinc.com>
Date: Sat, 29 Jul 2023 08:05:15 +0530
From: Pintu Kumar <quic_pintu@...cinc.com>
To: <linux-kernel@...r.kernel.org>, <akpm@...ux-foundation.org>,
<linux-mm@...ck.org>, <hch@....de>, <m.szyprowski@...sung.com>,
<robin.murphy@....com>, <iommu@...ts.linux.dev>
CC: <quic_pintu@...cinc.com>, <pintu.ping@...il.com>
Subject: [PATCH v2] dma-contiguous: define proper name for global cma region
The current global cma region name defined as "reserved"
which is misleading, creates confusion and too generic.
Also, the default cma allocation happens from global cma region,
so, if one has to figure out all allocations happening from
global cma region, this seems easier.
Thus, change the name from "reserved" to "global-cma-region".
Signed-off-by: Pintu Kumar <quic_pintu@...cinc.com>
---
kernel/dma/contiguous.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/dma/contiguous.c b/kernel/dma/contiguous.c
index 26a8e53..4628b62 100644
--- a/kernel/dma/contiguous.c
+++ b/kernel/dma/contiguous.c
@@ -237,7 +237,7 @@ int __init dma_contiguous_reserve_area(phys_addr_t size, phys_addr_t base,
int ret;
ret = cma_declare_contiguous(base, size, limit, 0, 0, fixed,
- "reserved", res_cma);
+ "global-cma-region", res_cma);
if (ret)
return ret;
--
2.7.4
Powered by blists - more mailing lists