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 6081F3976B8 for ; Fri, 17 Jul 2026 09:19:42 +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=1784279984; cv=none; b=jAeSEw9qyBMQOM3lNHHRP9XZ7DHebTKnwqLgJNmQyzN9x4TTZeoh6jt5g/W0WjDWwJiV9ZAyYE2ODgmSqGdFJDfHiEiOmaL7MGjkjtkqZeAEzJGfhGO24KsdrxLB8LFmnv6x4lc8JtX8oPH4R0QlwMf9+3enabFLiHIrRTfmnh0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784279984; c=relaxed/simple; bh=Hzglabe4fPRfpMhvzvFOhd9PrI7n4OZPOiOIVE4Fp3s=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Q9BRfk2ry+s559+PAERHwT4NJIcDlg6j7sC7GATiX84Qkl4qTkE0nJOpeonWlxN0gbghhwoUFO9jmW445Ja937h+sZKJci4gp3oIp4UXRUI9pWp6h+eafUo+xfSNUzelU9LWju0v0E8+PMNQB+qdkcQAsOsAMMSlRQedWeKq3MY= 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=ZmbLp3uL; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=AW8CmSZK; 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="ZmbLp3uL"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="AW8CmSZK" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 66H6cFSk1065321 for ; Fri, 17 Jul 2026 09:19:41 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= jnWJTq3ZZfdGzIIHwOFOt1HkgzENpzxRhvMtusPnSOU=; b=ZmbLp3uLosyqjFTW M7IlmuApo6IEagko80gfYY29NIZ2F4aqEnSZ4JvBrk7XQYDRsxSymdjV63kBMCaK vCbLmDV9ZeSOLSDr6eRaceNTIcWn1yr58wSLiaxZwqS1ZV8bZvaEBFWYnZFAqGEK Y1M2othd9oLr+oF0/n4SimhJ3xvD6kLQjP8tCJVZCryueG3JGA025Jb1BWsXvvau A9km4aP4oBjRnSkFw9k7GOJcN/nQo/UF+lpTXaAg3EKBftlqspsIw4wyk9VKEJWv 2mfGD8aTRYC1K5ma6w0Kw7kDga2d5O9F6LBx8nSDmfZIXxdhV+OXy+H+2ffujoCs oO5a8A== Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ffbquhd1q-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 17 Jul 2026 09:19:41 +0000 (GMT) Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-8483e038efeso4802031b3a.2 for ; Fri, 17 Jul 2026 02:19:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1784279981; x=1784884781; 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=jnWJTq3ZZfdGzIIHwOFOt1HkgzENpzxRhvMtusPnSOU=; b=AW8CmSZKs7BZSnkmxyeQPjRN583VYGJGw2Uqzn7bzD3U88RM6AGXQm6LUdNSOQfCBg HbMYRMkDRkKdZhz593Ck3p821SyIfy3LJv+n+rQLUisTR3BkvZOSOVujyWo180TYKgDS QZHSdHS3/Z1FuJt7Qy3H5HRQFi2Ijjj++bFHaseR4ffTAxg5hE2cCK5BQMbG446R9LMT XFdhAkFJZX0AIcmni66+jlPsJy86RtRI+WEussksk9HHdfLH/6pz5usvpQMC1LeEmkph aazCtkPcMo20cyhsdj1H6woam52CoTb/i5qEDrTCZL7ACqsmkFxAY6DrmruubDwjPRSW zWFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784279981; x=1784884781; 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=jnWJTq3ZZfdGzIIHwOFOt1HkgzENpzxRhvMtusPnSOU=; b=K7j7YCaZi5WMw4ounG8PBYZbf8BHoptIe2pAOAzlZygsYT2f8fpxyXP5nAJgdosrPa 9l3PZDS/1NAPPBaf9A43n/YOOeSUdRoORh8ZupeOy4jziTty19B/k/Cj8QAB7Kayl2W2 j/afUG/6aDf7dRS333f7MRKBM/WduZ2W7FXxBQsZtsl/aQaxSIjCsBKEMKNXx/5vUZyn 0qCy98tLieuz2ysCQlEE44+234kLvHkzJLeMQSG3LuahkrPR5UWteRdTRAp4KknnmdGU o7YUn9H9VD0aK7eFFih1Ke05hn5OxCAo/csoWJOEeFc8j8sEnzMKaRtY+it17MGsaXAj AtCw== X-Forwarded-Encrypted: i=1; AHgh+RrSaixVZ+8o0xESZE+o8KY8mQGV7lRPYz0F6n4IVy6Yi+oKWXfZ/YJ67PsR6ULGrSxQwqB/qAmyFU4=@vger.kernel.org X-Gm-Message-State: AOJu0YzndKtTBAsDGZEdqF6MKgKLTYloLZfu0F066Ut9QsZ7qQsYH7RE Au6t8uiqN6j/Hv9c8XzwtgB/sKqPdOR5FEmRiElHKmvZRgY37rHNgpmrfNC+u4biSrb4dpmrpSO E+xqnfYI9llP73xG+W+IVqBpn7r0RM093hYp/gbBbuJ6KjSylG7m8K0l2tDZfYBY= X-Gm-Gg: AfdE7cl/TxP1qLhf0PRKJv0ffNW20iWJf0bpYINhIwRZoXCNXTYsfoL1cLuoXxil/P/ jBs2QaCS+1QE9+yQZIeJ3qKq9Q5O2sbT4yJd5vMtVRu1yWB3uPcWJGAEz6/Y2MbdeHDvVdhN0sm BbMrdlx6d5zpVBkGs7gwgoHjvgu2m7GvPfZNFwAjoFUmnpYcBZR+g+ZYArgV/6G84dpJqxacNbJ vLcaLYNahpNSMdRzkdJBj61LZ57N4hFyYcWgFVVWOKjDC4XMxm5THzhPcjVKoxWhkdmhPC9+4pb JDAzigV+B7Mdp6Hg1UFupfn9jSD8Tbn8xnu65F/mwoJAdFtEcBwojnkKf+rixyU0r23yAC2lQet 0CZgd6kkQ3xWRBRy4k881Z7G4KtAo X-Received: by 2002:a05:6a00:887:b0:847:e2c7:59c5 with SMTP id d2e1a72fcca58-84c294fc35bmr1785576b3a.49.1784279980792; Fri, 17 Jul 2026 02:19:40 -0700 (PDT) X-Received: by 2002:a05:6a00:887:b0:847:e2c7:59c5 with SMTP id d2e1a72fcca58-84c294fc35bmr1785532b3a.49.1784279980040; Fri, 17 Jul 2026 02:19:40 -0700 (PDT) Received: from [10.219.57.117] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-84c2adcd3dcsm676117b3a.24.2026.07.17.02.19.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Jul 2026 02:19:39 -0700 (PDT) Message-ID: Date: Fri, 17 Jul 2026 14:49:32 +0530 Precedence: bulk X-Mailing-List: dmaengine@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 11/11] arm64: dts: qcom: shikra: Add gpio-reserved-ranges to tlmm To: Konrad Dybcio , Vinod Koul , Frank Li , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Krzysztof Kozlowski , Georgi Djakov , Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Anurag Pateriya References: <20260702-shikra-dt-m1-v5-0-f911ac92720c@oss.qualcomm.com> <20260702-shikra-dt-m1-v5-11-f911ac92720c@oss.qualcomm.com> <9c1aab59-14b2-4811-b778-8e96645bd65b@oss.qualcomm.com> <97b205e8-5ab7-4205-b1dc-cbcb0497987d@oss.qualcomm.com> <986da1da-db2e-4d4a-b9d0-70482adaf4bd@oss.qualcomm.com> <4f641f13-a278-4465-8033-670c7279a7e3@oss.qualcomm.com> <1153ebbd-659f-4ba9-9317-66ece33423e9@oss.qualcomm.com> Content-Language: en-US From: Komal Bajaj In-Reply-To: <1153ebbd-659f-4ba9-9317-66ece33423e9@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: 1G4rnmPqUecUTGvRSO1nVWVEdvdpdKNN X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzE3MDA5MSBTYWx0ZWRfX6EsUjoB7Dow2 ZLnUvhCXnd2QXGvbNwcZyoR+tmtcBv/JorUBykL/L2RkAsUhUdyQ8igrpSriXMHkUH27T8oVIfm uZaZ9Gbjdufno+NCSOtmyFDJtKdJBmbGmoxR4n9MSrXkAc49Kg1XAS5FwgeiDteRc73+lL+/qJ9 SKu1m02Jnc46/uqHqiTV0Osh4HDi71F1u4O9chPkfi+0YtXPx8pCTAezY7Gf7EuCd4KcLRmuehc GRATZDjPWKmk9oeYt0q83cpDQw08hmXslGyiWlpJ3/P5pfs7VN1K5XqdDNOgbhzkph1dylv04mJ XVoBueSFmMpQTd58rBuboG7mwQ1GuJRKNaMtlvPHo56jg4Xe7LP10x1i6EJMUkwzWRYKSzs4I4s nWXzYU/1BKqgaW9lllNmlTdK3ZSJWXPPts+2W47dpMjr7Q8HvgBICzhYIonnpXeVSm1Zxx2v3KI 9dyklk+MbzdPJVFXPlg== X-Authority-Analysis: v=2.4 cv=NZ3WEWD4 c=1 sm=1 tr=0 ts=6a59f3ad cx=c_pps a=WW5sKcV1LcKqjgzy2JUPuA==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22 a=lo2R6pnlw34kmT72REkA:9 a=QEXdDO2ut3YA:10 a=OpyuDcXvxspvyRM73sMx:22 X-Proofpoint-ORIG-GUID: 1G4rnmPqUecUTGvRSO1nVWVEdvdpdKNN X-Proofpoint-Spam-Info: AW1haW4tMjYwNzE3MDA5MSBTYWx0ZWRfX2UQ2cgN8iAW0 I5v+BiYb8jShFwJRtFn2gCh2L4EjX8BwiDtrasPIqrTLuVxGvRNDxSJuiCFPRujgL8AQ/1cSWZX Fd+UPM2ei0+9jyf9RI+1AeySQU8/Da0= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-17_02,2026-07-15_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 adultscore=0 bulkscore=0 phishscore=0 suspectscore=0 priorityscore=1501 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607170091 On 7/17/2026 12:03 AM, Konrad Dybcio wrote: > On 7/15/26 3:41 PM, Komal Bajaj wrote: >> >> >> On 7/15/2026 3:57 PM, Konrad Dybcio wrote: >>> On 7/7/26 6:36 PM, Komal Bajaj wrote: >>>> On 7/2/2026 4:25 PM, Konrad Dybcio wrote: >>>>> On 7/2/26 11:50 AM, Komal Bajaj wrote: >>>>>> Add gpio-reserved-ranges property to the tlmm node for all three >>>>>> Shikra EVK variants (CQM, CQS, IQS) to mark GPIOs used by the >>>>>> SoC internally and not available for general use. >>>>> These are generally added to prevent non-secure access upon TLMM >>>>> probe, i.e. the board won't boot if some of them are not protected. >>>>> >>>>> I assume the proposed set contains both ones that are _absolutely >>>>> forbidden_ for Linux to touch, but also ones that are dedicated to >>>>> some specific purpose that Linux _shouldn't_ touch. >>>> Yes, some GPIOs are reserved for secure-world use and are therefore not accessible from the non-secure world. >>>> I will update the commit message accordingly. >>> I'm not sure how to read your response. In other words - is this >>> patch boot-critical? >> Yes, with Access Policy enabled, it becomes boot-critical. > Well then, I'm no less than surprised since we have DTs for 3 boards > in -next right now that I'm learning can't possibly boot.. > > I understand you might have disabled that at some point during the > development, but it's clearly not the configuration that's supported > by any means. Please make sure to take that into account next time. Development initially started with firmware builds that did not have Access Policy enabled. Recently, firmware has since been updated to enable Access Policy, which makes these GPIOs boot-critical and requires this change. If its needed, I can add Fixes tag. > > For this issue, since the pins seem common, perhaps moving them to > the SoM DTSI makes more sense. And this most definitely needs 'fixes' > tags. Makes sense. I'll move it to the SoM DTSI in the next revision. Thanks Komal > > Konrad