From nobody Mon Feb 9 03:16:13 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32AC2EB64DD for ; Sat, 29 Jul 2023 02:36:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231650AbjG2CgG (ORCPT ); Fri, 28 Jul 2023 22:36:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjG2CgE (ORCPT ); Fri, 28 Jul 2023 22:36:04 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDDFA46B3 for ; Fri, 28 Jul 2023 19:36:03 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36T2Sbma019420; Sat, 29 Jul 2023 02:35:48 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=qcppdkim1; bh=UhCe6In43FCrljOeoCP6IaxqfLrOJVXxJPpLg+djOW4=; b=MJiKUzwXTiUL4cxRftma/uuA5NDsboJHppypat3sDMQiwR4xj2HZh5rTEI5QFlQhF02Q 8Yqax9X9/3GaW8vjgnfZBri64DBPqiHrWq0Udr+ckQ+AYWARpHBrE4mx6A4yvyakGDcP yh078EE442YGgBp0mTw4nKXTIpylnHWGMAeqddRCqKFMTGC4JcnOaWAygZ7iFCaMsF0i rdfVGjLfFDy2VTthXYP44KK5bu8pF9qhulziaMc/9OPNyCZSpG0QYH4eiJhSiAUOgDno uMkWZI24+903Lv4kcDmNwhOioH83Ub0s3YrMcSZmLJkRKv6dtdU2K7yb4Dl/t6r3pYsE MQ== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s468r2dhm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 29 Jul 2023 02:35:48 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36T2Zk9M016800 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 29 Jul 2023 02:35:46 GMT Received: from blr-ubuntu-498.qualcomm.com (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 28 Jul 2023 19:35:44 -0700 From: Pintu Kumar To: , , , , , , CC: , Subject: [PATCH v2] dma-contiguous: define proper name for global cma region Date: Sat, 29 Jul 2023 08:05:15 +0530 Message-ID: <1690598115-26287-1-git-send-email-quic_pintu@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1690567693-22082-1-git-send-email-quic_pintu@quicinc.com> References: <1690567693-22082-1-git-send-email-quic_pintu@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: _6iX0h66HcyeLJUcw2MSgekfzWvhWpdJ X-Proofpoint-ORIG-GUID: _6iX0h66HcyeLJUcw2MSgekfzWvhWpdJ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-27_10,2023-07-26_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxlogscore=850 bulkscore=0 adultscore=0 malwarescore=0 spamscore=0 suspectscore=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307290021 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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; =20 ret =3D cma_declare_contiguous(base, size, limit, 0, 0, fixed, - "reserved", res_cma); + "global-cma-region", res_cma); if (ret) return ret; =20 --=20 2.7.4