From patchwork Thu Sep 26 13:07:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pratyush Brahma X-Patchwork-Id: 13813364 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0F468CDE001 for ; Thu, 26 Sep 2024 13:09:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=VmvN773oK2qiJqCjQ8MT+b8UEiP9dQDcSI0FSU82/O4=; b=C/je/cv4pIvHyMNo4KQNoIII/l AHrLqew2vIwCOvM7hZN5QWMnfc4SJFiSOwOmlzB8+1H/Nbr2W3/AE3jnVej3lczrQ1S+qddF9PuI+ MJuWYn65xpip3cfTBgWwFe64V/MoqD3oHFhrgLk5FJTP+6zjh1f8BPIaIUD0sY2GcyYBZnSBbCctU Njwp7G7dtPMccnOmQ62CV/ZdUoC9RDm7eVfMZ13uvKCp7aPLdNaPFs74xGuVAaxEUJd1X0vkEo346 nknZdgZru0oes12TAKfPqx6YXSxt+rP9UCyrWS1OG9+Y5MrWpKv1TwjXJEzgkrAoOC9lOqUUX0UhG owB53LaA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stoEq-00000008QQc-2fA4; Thu, 26 Sep 2024 13:08:56 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stoDd-00000008QFy-2o91 for linux-arm-kernel@lists.infradead.org; Thu, 26 Sep 2024 13:07:43 +0000 Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48Q78bwJ032278; Thu, 26 Sep 2024 13:07:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:message-id:mime-version:subject:to; s= qcppdkim1; bh=VmvN773oK2qiJqCjQ8MT+b8UEiP9dQDcSI0FSU82/O4=; b=Zp eKJYNhNbuZXeqPDsvFBo/je6O7SbvdYIbl1QzALg67el/c1yS9IZrf7DKBIu0FCZ fDCO8DQay/mpEIkoaFbXezlQu/kXxt8QdcIXmlL/eEc8idu0U9oLmc6L4ZnDIR1r c8KCrAmYiYmGvLuMcCBuVVrDqCKZG/9cwtHAziLxcgu+R+UN61Mm+me2GDzRT9Aw zcwshSxFxo9qKdmBMHEVvqBcQNpqBQddO6AwoNNdMLzsYW3RxgV77NU5/AYzVG21 uFKJbv/umtZScR2Psn1oSxtmLlh07lsJkSXyzBkICnH68HmMlLbymz2E4RJg6Ged dsrk+4Ga32+wPt0cKZrw== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 41sp7uqqx9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Sep 2024 13:07:25 +0000 (GMT) Received: from nasanex01c.na.qualcomm.com (nasanex01c.na.qualcomm.com [10.45.79.139]) by NASANPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 48QD7OWZ002041 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 26 Sep 2024 13:07:24 GMT Received: from hu-pbrahma-hyd.qualcomm.com (10.80.80.8) by nasanex01c.na.qualcomm.com (10.45.79.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 26 Sep 2024 06:07:20 -0700 From: Pratyush Brahma To: , CC: , , , , , , , , , , Pratyush Brahma Subject: [PATCH] arm64: defconfig: Enable DMABUF heaps support Date: Thu, 26 Sep 2024 18:37:03 +0530 Message-ID: <20240926130703.7817-1-quic_pbrahma@quicinc.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01c.na.qualcomm.com (10.45.79.139) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: C6C5jf0iqErlUv289sbbc9XjDbAf6VPW X-Proofpoint-ORIG-GUID: C6C5jf0iqErlUv289sbbc9XjDbAf6VPW X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 clxscore=1011 bulkscore=0 mlxlogscore=407 mlxscore=0 phishscore=0 suspectscore=0 impostorscore=0 spamscore=0 malwarescore=0 priorityscore=1501 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2408220000 definitions=main-2409260090 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240926_060741_969835_CE2C18A8 X-CRM114-Status: UNSURE ( 9.94 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the DMABUF heaps, system heap and default cma heap, required on Qualcomm SoCs (e.g. qcm6490) for sharing buffers across different subsystems. Signed-off-by: Pratyush Brahma --- arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 7d32fca64996..106b8029d989 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1233,6 +1233,9 @@ CONFIG_RENESAS_USB_DMAC=m CONFIG_RZ_DMAC=y CONFIG_TI_K3_UDMA=y CONFIG_TI_K3_UDMA_GLUE_LAYER=y +CONFIG_DMABUF_HEAPS=y +CONFIG_DMABUF_HEAPS_SYSTEM=y +CONFIG_DMABUF_HEAPS_CMA=y CONFIG_VFIO=y CONFIG_VFIO_PCI=y CONFIG_VIRTIO_PCI=y