From nobody Wed Apr 8 19:14:00 2026 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 575092F6188; Wed, 25 Feb 2026 06:25:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772000737; cv=none; b=nbjbtOr5Zua3zYwdyGM87r3hIb/rFJB3Byp5T0iRqZ8bO9TNajxool/d2xl9qHw0sGAyPqurow47yIMW4Mdk5OyOtJqu0j1wWekhP4wwajYPgAtL5hdR4bUdan210mJa7aUpyamgz+ZZjI+fQ5aAgDcYem0uy0QYOlqkOF6m294= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772000737; c=relaxed/simple; bh=GT1i4dMh86PNfifvawXsQLp+rGtpu+XtyTdCoigIjFk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=R2kU7oFNcENP/csVY6hsD+zqEWczh6dFH1v2PTCqCq+jhl540WvvhsmOaA1aOlY7jxUznj7IWsEp9XN5R0E70B3xtJsU8Ne0/P1itmkn/35+DRiGaT6u6L8tUgc1jjMc4AyLX4/8QhTdqjKBL7Iw3FcSG4oFaS4k+NuuCMjw7+g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=WNPTIe2V; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="WNPTIe2V" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 61P17qa24148179; Wed, 25 Feb 2026 06:25:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=odMtPkzlfTT 23R0rkbHdXvpqJqTpjG5bJsVPmnOO+EU=; b=WNPTIe2VakuIiZ7Ca/JCqa7KqaE N8+TdwtkUUv9YjnxmCrhBkm0SawHLQNLhctBSmnq7S4jv0umGoYfWsh3KIpEdeYP V7TFbR/4LU5qjdp3nfX3jmjm0Z9vCt7ybXF/IsmZ0CaHDv6mdIocxiB1E5n/AW82 mQzdXFt84MLBwDy6I0dKTIDhJyXMRqnwUt5z7R7nwLmjS+UFyidqzYmLj67cJTXj vr4vE9CUi/nFTCCR8FfZvjaF1LjKi3cq4h9ULHB1KWjpqdb94LYNGXDO/n0exIgd 5yOAEV4DGMBJsK6JX3dB8oI/sqWPYkmtid5srIHJd3qDELDELVzu9Q3WUlw== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4chq57rqe9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Feb 2026 06:25:00 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTP id 61P6OtoC001344; Wed, 25 Feb 2026 06:24:56 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 4cf5sm83eq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Feb 2026 06:24:56 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 61P6OtxQ001313; Wed, 25 Feb 2026 06:24:55 GMT Received: from hu-devc-blr-u24-a.qualcomm.com (hu-anuppate-blr.qualcomm.com [10.131.36.165]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 61P6OtDu001307 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Feb 2026 06:24:55 +0000 Received: by hu-devc-blr-u24-a.qualcomm.com (Postfix, from userid 486687) id D13EB24A5F; Wed, 25 Feb 2026 11:54:53 +0530 (+0530) From: Anup Patel To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Palmer Dabbelt , Paul Walmsley , Greg KH , Alexander Shishkin , Ian Rogers Cc: Alexandre Ghiti , Peter Zijlstra , Ingo Molnar , Namhyung Kim , Mark Rutland , Jiri Olsa , Adrian Hunter , Liang Kan , Mayuresh Chitale , Anup Patel , Atish Patra , Andrew Jones , Sunil V L , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Anup Patel Subject: [PATCH v3 08/12] riscv: Enable DMA_RESTRICTED_POOL in defconfig Date: Wed, 25 Feb 2026 11:54:44 +0530 Message-ID: <20260225062448.4027948-9-anup.patel@oss.qualcomm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260225062448.4027948-1-anup.patel@oss.qualcomm.com> References: <20260225062448.4027948-1-anup.patel@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Authority-Analysis: v=2.4 cv=faOgCkQF c=1 sm=1 tr=0 ts=699e95bc cx=c_pps a=Ou0eQOY4+eZoSc0qltEV5Q==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=HzLeVaNsDn8A:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=EUspDBNiAAAA:8 a=bXOGUNLACKbNXswU7uMA:9 X-Proofpoint-ORIG-GUID: 3tGXTfSrc3P9aUWztP9tiCD0aylK_o9s X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjI1MDA2MSBTYWx0ZWRfXy6sH1VODJVAr 95P7SxfGdzx7uyI6PB3fUW34hbv6GZhPQZ5EgK5QSGpfdWM3Q0Nhmu+h2CAWUQOjrBCbSyqxzjs prrY71VrMWQa75+1EZYQt7U5P7lpe3BYf4X4at+YhLRx322SyvBAsinQwTBebF0auQZR8d2g3KN 0XvAVdrZ27WE+535ypiWjelFvIJ+dcHpYYip5k7/GtiYKV95bM33lZk8CPkekxnKEelTGgU6FLZ DXxvVc6bdCrqJ954i3bqUWL/zGKS4d9ztFvXylE8qRNTlHbw0FV/uEAAKrt8sDxmxaoS461pv4n Spw5XtN+t4M0QQFnUUkk4rSMAlVU+44vVvzg9pvQVUxYzjSfZuHd2x6SzIUarHGFg4pa3En8uST MbUOwjRtwi/9PPxYhxq6n626w4l4JbEJXrbkwVxuyhEyYTy/wbmkGqc1oBiwYxuecckLy8KEtqA bNzpOT9V9TANdEwqFUw== X-Proofpoint-GUID: 3tGXTfSrc3P9aUWztP9tiCD0aylK_o9s X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-24_03,2026-02-23_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 clxscore=1015 impostorscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 malwarescore=0 spamscore=0 bulkscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2602250061 Content-Type: text/plain; charset="utf-8" The RISC-V ramsink trace component may have implementation specific restrictions such that the component can only write trace data in particular parts of DRAM. Enable DMA_RESTRICTED_POOL in the defconfig so that dma_alloc_*() and dma_free_*() APIs work for devices with DMA address restrictions. Signed-off-by: Anup Patel --- arch/riscv/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig index b7cee9775f8d..42a1391480c6 100644 --- a/arch/riscv/configs/defconfig +++ b/arch/riscv/configs/defconfig @@ -308,6 +308,7 @@ CONFIG_SECURITY_APPARMOR=3Dy CONFIG_DEFAULT_SECURITY_DAC=3Dy CONFIG_CRYPTO_USER_API_HASH=3Dy CONFIG_CRYPTO_DEV_VIRTIO=3Dy +CONFIG_DMA_RESTRICTED_POOL=3Dy CONFIG_PRINTK_TIME=3Dy CONFIG_DEBUG_KERNEL=3Dy CONFIG_DEBUG_FS=3Dy --=20 2.43.0