From mboxrd@z Thu Jan 1 00:00:00 1970 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 6CC5E2BEFF6 for ; Fri, 16 Oct 2026 04:49:09 +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=1792126151; cv=none; b=HGShju4GPb8k+tTuiYKgeF2ligJphegeOWdYbUlY387mZ9tTXA4Dk5remxvKTxZrjD8HFr43et7ahrcImJK6DpVzP7C2sMycgY/rTKctaj3VasIwBh4pP4cRMDfzsRo8Q7OizW8PJLhkEiIpdltUtzcwWEu+UzBCdWHbfnZ3Qmw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792126151; c=relaxed/simple; bh=VhOJygrLbJVu1QiAay9j6a3lqhd3vK1xPCERfvkhOKE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=t1hcl/uLq0orwVyJaVaUbTGUhlM6SuNqHrK2sUnTlKVnarGwdLJrRJueRNWFPDk65qqSoToyvrGkJG42VSnbqoosIVT9yySmWSbDo0U07Sxv7LY1jW8Eu4i81uDgBrCC5aHvUaVc7B0OeGEW20zViBJQZXcrLMVo+ZPncvegphE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=STu/2qjW; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=e4R+u38w; 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=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="STu/2qjW"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="e4R+u38w" 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 69G1Bu831890480 for ; Fri, 16 Oct 2026 04:49:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= MdWvKoNv/zR1uInkMslEraEnYwrLaVPBTjCpwAlZcKg=; b=STu/2qjWYM2tNdxI 7bXh00GpabQ8v1nWR2gQMIHPOEo7uE7SQnGO8FmAsWo4+lUeg0eB+pBf53IKLHZi gas9iuLjcL6/7vZinSVhbg1ODGryEisOhEp3S3ZWKTgMQnzXuaMsVyQ6GPg3KTi2 fCNT9cDjNznpMgxmSsqmMF+ETUZITAfnwLlCj/cnvBCrl8DAtDjhTjGGSr/NgL5p eQtJbGJ077779GqbX3UnbMMC0NqU46msrRTItVzih9t3YpRo0wEOMfxxp8GnXnjs MB2kzKkY0Oi/t5nDx9LtKl//Hhn1TlnAXkg53rmfKZ+kI9P6xOtiiteLFEQbUcty +pR71g== Received: from mail-dl1-f72.google.com (mail-dl1-f72.google.com [74.125.82.72]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hba260m77-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 16 Oct 2026 04:49:08 +0000 (GMT) Received: by mail-dl1-f72.google.com with SMTP id a92af1059eb24-154e9d2d94fso3595772c88.0 for ; Thu, 15 Oct 2026 21:49:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1792126148; x=1792730948; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=MdWvKoNv/zR1uInkMslEraEnYwrLaVPBTjCpwAlZcKg=; b=e4R+u38wKfL5z189gWd/Eq1m4EpYMqH4vih+5xkb+hxNLn2fCw2IamlRXW+xqAqG2G nsMPts7U0ivbmTjUe/T4672nByF9DRH34xPtLUhsqkMNxzABGYfCJapEi+v4LVMfkogW LpRwqQSEpDJhlBHuxtgzJln/Q0SftMMYUDe9Keejs/ByukKMu309g/Yi1Vk4+kl3nvPr WCGb6RrFu5aHjkRJcEr314drC2P19VQeWoFcd5lu6oOImqtbAV1VM34l62PA8wJFuHxd FqWrUi/Fb4EpBwFAbT0y1QPHABsx68Qn78Olu5l0aUJSdoLcAoy7Haq4lM6gkLAOiuJX ogQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792126148; x=1792730948; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=MdWvKoNv/zR1uInkMslEraEnYwrLaVPBTjCpwAlZcKg=; b=q3PfplJLnya5ZY1ko5PqBcN2UyhChCUvA2jjYsQQ4gsXt8SLwxklCgbuE618kjWAqK oyrFQpVISlp3JcBFTAGufhvZ98V/l2oVf7OZCi2OgP3Xt19jREszL0YhOl6EV4I8glBb ebV2iWhA2iUNrMs4feh1ILFEztPY1j9rNDGCsd/ig7JofPHaehlBvFn2mCqpp3E6fob1 /3NwFrck6dXPcyWWokbj2rF78rlvl33Rt1aBcfs/6vimkD2XUxnXsy51adwzOem2t2Gh iqzLoeZ39TPTw1wuPoDLxIho287OakJ6kUZdPhhkeUWa1zPYYAcEkSM7k807jJWRMNLU C0zQ== X-Forwarded-Encrypted: i=1; AKwUvBwsgMGmet/8Prux93WLn9HDnGkhlnQtt+uXxLxOn1ToI5hkOh5hcCXICFrBLs8hzAVDxj0oVV9rn3e3FTM=@vger.kernel.org X-Gm-Message-State: AFq9FYLVpsXfmz8aPS1ct4WN+L9CfAl35FUrtmOCRNtXGsbZpVyJRJX2 U1ttkYR6Gga/ZqV+WeX6M6jFmzD/wQMSwy2ok+eYV6prwjDuLdOpJqSvVWuyDp8n4UK/TXmUgh8 EF69Bi/XbeDF9IoUHOIz3zWnN+QJOU9ADLSMt3iGjdtgEdHoc+CMgFlWonF9c/Po/ykQ= X-Gm-Gg: AYBFou1h3vW4pfqAHrjnDxCVdaAiyJjWJ34wXYWbsZ1xIfWqC2gUJkzO/xdcbibIWq1 VdYWfd2zguJJgUGamkO5e4hZIduvkoS+n4gXdIy7ayDu8aU6Lfcq/wCPVrVhmLbS2ItGbMovKF9 BhXWLQInU8l0QgPry5GUCKyB5RgQ0UO8LFxp8ObJF4tRdRynfANIaUj3nIWGkDxJ2EVDyx18dpP C3cmTZAyf3MEvX0OYW5mVTNOrhM/60RnLT+Hcxmv+c8nlAsp45jsKOQJETvkf3pIdIy5z/kr0QZ BiNNJ6ZkmzC3mtlcB/76eJIq3wM9wcpZuoswmMhbpT1Q19nFiEhwlXm4hUSvDTtRMss7fpiFcOP INXz9LpYoH/acF2SKx5NMRICs79+ijg== X-Received: by 2002:a05:7022:283:20b0:179:b953:a14e with SMTP id a92af1059eb24-179b953ad1emr13247061c88.45.1792126147847; Thu, 15 Oct 2026 21:49:07 -0700 (PDT) X-Received: by 2002:a05:7022:283:20b0:179:b953:a14e with SMTP id a92af1059eb24-179b953ad1emr13247032c88.45.1792126147295; Thu, 15 Oct 2026 21:49:07 -0700 (PDT) Received: from [10.219.56.188] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1831acba710sm2900617c88.13.2026.10.15.21.49.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Oct 2026 21:49:06 -0700 (PDT) Message-ID: <88c9d069-b6df-4a32-b8c0-75a182ef26f9@oss.qualcomm.com> Date: Fri, 16 Oct 2026 10:19:00 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 3/4] arm64: dts: qcom: sm8250: Make the ADSP remote heap no-map To: Jianping Li , Bjorn Andersson , Konrad Dybcio Cc: Abel Vesa , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinayak Katoch , Alexey Klimov , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_chennak@quicinc.com References: <20261015071511.977-1-jianping.li@oss.qualcomm.com> <20261015071511.977-4-jianping.li@oss.qualcomm.com> Content-Language: en-US From: Ekansh Gupta In-Reply-To: <20261015071511.977-4-jianping.li@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=bsHZl0ai c=1 sm=1 tr=0 ts=6ad1acc4 cx=c_pps a=bS7HVuBVfinNPG3f6cIo3Q==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=eoimf2acIAo5FJnRuUoq:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=WxrJ1OjRqBU2I1o4brwA:9 a=QEXdDO2ut3YA:10 a=zZCYzV9kfG8A:10 a=vBUdepa8ALXHeOFLBtFW:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDE2MDAxOCBTYWx0ZWRfX6nC+Sx7wYftL F45eKPCQDOd21t25M3Pw77vgfMjW1ZWxfYqXtkr1f3AI2nBJC2SEF+FBIyWPdLKTVbLj0+ZFBzX mtp0LtnKOvZGOyB3h6QMbM2lT1+TDXtai+WKqrlqXcTZIsuvevtWr+YLZMQUDUTgwB+lpU9l13X ieMQsJRLsBgtHjrImajSIX6kpx6Lma3+pM/HkFK9CGfveRhMdIGrjYOaGxXkhCzg1EfPmG+r5VS 5ezpQXAx6SnjICoEH2bOkgSp7g2w5Z8ti4EmaDkuf8MDkirlGmWCW8CKSbHU4I1aQch9fR2BoIS /j45uYcbL7TYaKGefpEajEh6fEanfpTchzEPhS+HNKs5stS9Vx9+nnWp4x4yBxt9zWuuN1NqHTT DvdnQFgm2HzMGpoQ1a4wYE7D1oApIjUwOGa+lnkPWrEQig0JVXaZV2Mj5ejvAzWnBo6rn/9roHl mc8WhtYqrK4AVEnI1Zw== X-Proofpoint-ORIG-GUID: __wiBrXqsV8apORV_oCoULO4k0HvMf5z X-Proofpoint-GUID: __wiBrXqsV8apORV_oCoULO4k0HvMf5z X-Proofpoint-Spam-Info: AW1haW4tMjYxMDE2MDAxOCBTYWx0ZWRfXwlC80PU7R8Hx XP/XExUNcKfAzmUPBCXnw3CSUWel+7lXGwwu+zhhJQfegtTuee5b9f4OyUUVuplKGjXc0i23zGo 57V3YrFuN2dOQnL07TXRtAG4d3vA3hU= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-10-14_01,2026-10-14_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 malwarescore=0 impostorscore=0 suspectscore=0 phishscore=0 spamscore=0 priorityscore=1501 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610080000 definitions=main-2610160018 On 15-10-2026 12:45, Jianping Li wrote: > The ADSP remote heap is declared as a reusable CMA pool. FastRPC > assigns the entire region to the DSP during probe without allocating > the pages from CMA. This allows movable HLOS allocations to use pages > within the region after HLOS access permissions have been revoked, > potentially causing synchronous external aborts. > > Replace reusable with no-map to prevent the region from being reused > for normal kernel allocations and exclude it from the kernel's > standard memory mapping. > > Fixes: 531ce288b6dd4 ("arm64: dts: qcom: sm8250: Add memory-region for audio PD") > Link: https://lore.kernel.org/all/20260619-sm8250-audio- > v1-1-8a76e033e209@oss.qualcomm.com/ > Signed-off-by: Jianping Li Reviewed-by: Ekansh Gupta