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 45738191F6A for ; Mon, 23 Dec 2024 10:52:48 +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=1734951169; cv=none; b=FijGaDTxXWaF76fx4o0WeBJzVf7JmuQX3lemEc1YnJ/PPJ9v4Q+Mh6L6LJll8YuMk+cAh2Mr3iIM3iQEVa5OfZDRWGEctxxjsK/AI8Arb5GkyaEwWvHoN5+kHk+IWbIayuSlhR48xJ2tLDYLid1WXvOoIWwiIQnEQ73niX9p/Jg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734951169; c=relaxed/simple; bh=LM8OSrUOYwCNDYvcciKV3jtUOXdDHD5fBI8wPPy/WcQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RvEt9LA1Xx1Hmk776f3sptwTU5Ca5SL0L3df7CwqR26fK7ifNNhyZ5J/1i1wJeoOyMtm002Kg+csMZEgeIkJ7OI4XsXGClvk9qX+Z3JR27Mar/H6IKqNefJEDNc3HJpLc56b130knymx4JaD0xmW+9vvO5iI/zjNunTQvjX3554= 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=n7kH3aJC; 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="n7kH3aJC" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BN86Qve015515 for ; Mon, 23 Dec 2024 10:52:47 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= EMRdg/OIqQNr7xAUZNOe3kvtmJPvcVqbFUcCeJgfvLc=; b=n7kH3aJCy/Ag6ORj h2VESAr8H2fIwzzlcs1NnjhUnsY2gRho6saG11RgqmNZBeTh6OfG6i7zfqHoauVA gJRq71lMsvfBngJlg/KMNbqCBIhewI0SWfKqHPfUYchPyIeux1QX0+Xxr+isypQ9 BLKvxqwU9zKOQhN7685OWjjkIytLKTKYPjRhukmuztT3LJCaweW75OCJ8md1fRaU J5I4ArYcR+BRYOP933wUpHWEwlVFcIftV3y0prSBAcaeyVQAn1Z8aif5SOKpSxaV rYhIiwquAKoQcaiDs1Li7hQWp/R7le6rxwUa4kInvQfL/RsjtdjGWP8NHCao1ejJ V9FiSg== Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43q42g0gh2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 23 Dec 2024 10:52:47 +0000 (GMT) Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-6d8f77bf546so14234376d6.0 for ; Mon, 23 Dec 2024 02:52:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734951166; x=1735555966; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EMRdg/OIqQNr7xAUZNOe3kvtmJPvcVqbFUcCeJgfvLc=; b=wIquLjg520qI7V81rtB1oTE2ai1hK/tXWoRtp84xEXHycpOHfXT+PdVD0Z5U+1zEF4 vhg3osYqj9sW+NdL1w4xqFOxZ2P0RqENYG/8ou2yfYnZGeL8LFVLcbyBAozbfqgnN8KK QEotY69NaOV0NH9l1yNhuYHUu7gppYygGckk//4RRl4o7w/LhzRhyqc6J3jkoWzQdML8 y4/isSFI8Pnhiw+1K2BVMFFHiOBaJvzd4QwbPZVZ+RKpCa6hSC/U0F4ePdDNN3i8ophv bIuhsFFUwnGSliIJmwZuz9VSl8BxkncT+dejRa1vAwfIFaS0m6jl4hsS1GBOeMtrN2Ej FWVg== X-Forwarded-Encrypted: i=1; AJvYcCXf+dWciJnUjOtjyX777l9w0hPpHOhVEWtGbpHdhFodRvcR611bOVMJvaEEQOwRUZOkHbudgST7WWbG1qk=@vger.kernel.org X-Gm-Message-State: AOJu0YwxjCd7rDDEbDTfx7P0wIhVq+pP9nmVmvhpTWad4I8XbgTkOztK iWLHSo8P7UgLFAbeBTnvmTmUeF2+FnCKvp71XuPqAnTYB7ziwk1CO94dQcEJx6gasyXXkFWLYMv ueBe4rZp3BTb3GznrfORyJnfSC9tW/XGkAjWq/9xSxBHtLxFINzQR/XtRok+F1Do= X-Gm-Gg: ASbGnctLGxwigYGEB56/EzegGVSyis4Pll8+426rUxafMLiLibEkZWmszHTiLMVYQlr JYEcF8XP6QdMZq819k50IIxIwjm7mB8Zi6YWQS8DCWgO/cwWSrhaqzUQYrvEtNfcX2RuFZjaEyl OsP5H9zKTLgU2hruw7cCpW36kYvneKw7ChY+pn/iG/yFf4InXK9naTIdOPM+N98a8T+V5JJ/cmn wy+yifSRjJTw4ZkypW/9Swu1w9nE6SpU/6kUr8JCNjNMRJ56nbBnaRZg8+oPFojc4wyPnNji682 HM1pVzVfjuyQUnAPNQ2MOR9e22KsAePU4/E= X-Received: by 2002:a05:622a:607:b0:467:58ae:b8dd with SMTP id d75a77b69052e-46a4a8cddb2mr80286341cf.4.1734951166055; Mon, 23 Dec 2024 02:52:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsvK7GklQCrRrb7YKGrDVuB/HHc6ybyiUNNilnmdUhns0V0MSYgjIsvc5OHNCe50TBFwWtNA== X-Received: by 2002:a05:622a:607:b0:467:58ae:b8dd with SMTP id d75a77b69052e-46a4a8cddb2mr80286201cf.4.1734951165621; Mon, 23 Dec 2024 02:52:45 -0800 (PST) Received: from [192.168.65.90] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0eae4369sm502017266b.87.2024.12.23.02.52.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Dec 2024 02:52:45 -0800 (PST) Message-ID: <253e7889-bef4-453c-9f39-19ba0a6dd5b0@oss.qualcomm.com> Date: Mon, 23 Dec 2024 11:52:42 +0100 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 v3 00/23] arm64: dts: qcom: Fix remoteproc memory base and length To: "Aiqun(Maria) Yu" , Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Dmitry Baryshkov , Neil Armstrong , Abel Vesa , Sibi Sankar , Luca Weiss Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Konrad Dybcio References: <20241213-dts-qcom-cdsp-mpss-base-address-v3-0-2e0036fccd8d@linaro.org> <94a6b2ba-fa52-42d0-a60d-9dc31e37057c@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <94a6b2ba-fa52-42d0-a60d-9dc31e37057c@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: KBRIFVK_7OLGYTICL3qn8BHWR5eapEQS X-Proofpoint-GUID: KBRIFVK_7OLGYTICL3qn8BHWR5eapEQS 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 suspectscore=0 impostorscore=0 bulkscore=0 phishscore=0 mlxscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 priorityscore=1501 adultscore=0 mlxlogscore=999 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412230097 On 23.12.2024 10:21 AM, Aiqun(Maria) Yu wrote: > On 12/13/2024 10:53 PM, Krzysztof Kozlowski wrote: >> Changes in v3: >> - Add Rb tags >> - Add four new patches (at the end) for sdx75 and sm6115 >> - Link to v2: https://lore.kernel.org/r/20241209-dts-qcom-cdsp-mpss-base-address-v2-0-d85a3bd5cced@linaro.org >> >> Changes in v2: >> - arm64: dts: qcom: x1e80100: Fix ADSP...: >> Commit msg corrections, second paragraph (Johan) >> - Add tags >> - Link to v1: https://lore.kernel.org/r/20241206-dts-qcom-cdsp-mpss-base-address-v1-0-2f349e4d5a63@linaro.org >> >> Konrad pointed out during SM8750 review, that numbers are odd, so I >> looked at datasheets and downstream DTS for all previous platforms. >> >> Most numbers are odd. >> >> Older platforms like SM8150, SM8250, SC7280, SC8180X seem fine. I could >> not check few like SDX75 or SM6115, due to lack of access to datasheets. >> >> SM8350, SM8450, SM8550 tested on hardware. Others not, but I don't >> expect any failures because PAS drivers do not use the address space. >> Which also explains why odd numbers did not result in any failures. > > In my opinion, the "QCOM_Q6V5_PAS" based Peripheral Authentication > platforms may have the register information completely removed. > > There are two types of Peripheral Authentication supported: > "QCOM_Q6V5_MSS" (self-authenticating) > "QCOM_Q6V5_PAS" (trust-zone based Authentication) > For "QCOM_Q6V5_PAS" based Peripheral Authentication platforms, use SCM > calls instead of the register-based mechanism. So it is no need to > expose the PUB reg addresses for those platforms. (Unfortunately) not all boards using the same SoC have the same firmware stack, and it's not obvious that self-authentication is not useful. Plus having an accurate register space description in the DT is "nice". Konrad