From patchwork Mon Jan 13 21:16:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Melody Olvera X-Patchwork-Id: 857020 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 B7CC51DE4D5; Mon, 13 Jan 2025 21:16:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736803003; cv=none; b=JmBoAfG1uhX8ioNrEkzetrYarNsDsC+RpPfuQKM8wadrEHg9rhk+GOyO6MI+aKI1+RqDYGhHYQUGJhlYkjorbbN7r9Pe1qAoJQqv4aY8oydjdv7+/15Pyfm2mPBMfKEYaeAVJ7+ArVYu5aMERhQR3Ne+dRTIxep0qMeW1EHVdws= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736803003; c=relaxed/simple; bh=vwotZQuCp4XlEjPdjqTnW3gz6P5gi37hlCjCZ3PDUHI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=t6le1c5vgVBh7TuHje8DB5GAuqyPWcwJCmLEMN6AoNB2mgYICP+GjfwlHjsvA59SDSctaX8qs1f/zpnOETQZSp+RzD29nore7xaHMivp/gaphTRmGOFuf5qPK6vZJrzEog0w8kpGeQ98XMu6sv+PE+D57XTCwgrnDT8BhJaq5wQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=pg6bL3iB; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="pg6bL3iB" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50DIj2JL008164; Mon, 13 Jan 2025 21:16:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= yNZPIsMlhLLChw8yUxGZj9EplGxp8wAMzaZs77aeCOI=; b=pg6bL3iB28pgnW3B C2f3pvOlTgAgLhzfNzAzFEwdRrTuPcIhm/fIepCRaeL+OAgbbaFi1drQALsD3df8 Mhhpn03NddiKGItzbA06ILw4IR3kEr0rqnDt+o679g6+//5CK6sTm081CkrBekIc E5iNcovBX5khrvBkNHDZaz/91TWGcmpQRERPuVysYdvY5OtdjY8IF0gQwlHHfYr1 O4y4m+OZrMA03Y+/5aWCAMaIbrT03KyeWEfiaHsYKbczVUe40dL+hdvcaP7dSU4G Q8lgDOkA3yfg98KWvTap5+9AKF+gZsG1jB7kxjar+QvrbJ/xiGYhTRw7JtvCNnJ8 x9WLZw== Received: from nasanppmta03.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4458cn0ac4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:16:32 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 50DLGVcm000413 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:16:31 GMT Received: from hu-molvera-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 13 Jan 2025 13:16:30 -0800 From: Melody Olvera Date: Mon, 13 Jan 2025 13:16:21 -0800 Subject: [PATCH 1/6] dt-bindings: crypto: qcom-qce: Document the SM8750 crypto engine Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20250113-sm8750_crypto_master-v1-1-d8e265729848@quicinc.com> References: <20250113-sm8750_crypto_master-v1-0-d8e265729848@quicinc.com> In-Reply-To: <20250113-sm8750_crypto_master-v1-0-d8e265729848@quicinc.com> To: Thara Gopinath , Herbert Xu , "David S. Miller" , "Rob Herring" , Krzysztof Kozlowski , "Conor Dooley" , Bjorn Andersson , "Konrad Dybcio" , Vinod Koul , "Satya Durga Srinivasu Prabhala" , Trilok Soni CC: , , , , Melody Olvera , Gaurav Kashyap X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736802990; l=872; i=quic_molvera@quicinc.com; s=20241204; h=from:subject:message-id; bh=v9Nygg1WDPj+cjbz465lLusvYccztjG9b0eus+CYZWk=; b=MB8QZKGfKteRl6BMveSGEyL5cZvNRnUk+orArI+7wMdAp1FGogE7CaxmyttT+/p10yOxSY6ut 6d0esmHPJaUBb1LJAhnutGwlFDkB6HvP2/7O0Wsqtw8IzybixIQI4JF X-Developer-Key: i=quic_molvera@quicinc.com; a=ed25519; pk=1DGLp3zVYsHAWipMaNZZTHR321e8xK52C9vuAoeca5c= X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: zUbG9QEOf5W0Zr7zUJzAQQugOJyzgzBv X-Proofpoint-GUID: zUbG9QEOf5W0Zr7zUJzAQQugOJyzgzBv 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 impostorscore=0 phishscore=0 clxscore=1011 mlxlogscore=975 mlxscore=0 priorityscore=1501 malwarescore=0 suspectscore=0 spamscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501130169 From: Gaurav Kashyap Document the crypto engine on the SM8750 Platform. Signed-off-by: Gaurav Kashyap Signed-off-by: Melody Olvera Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index 7f8c0d55f6f5c300c5c5cbfefee03af628d49d7a..3ed56d9d378e38a7ed3f5cd606c4dc20955194f0 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -54,6 +54,7 @@ properties: - qcom,sm8450-qce - qcom,sm8550-qce - qcom,sm8650-qce + - qcom,sm8750-qce - const: qcom,sm8150-qce - const: qcom,qce From patchwork Mon Jan 13 21:16:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Melody Olvera X-Patchwork-Id: 857021 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 E99991C5F06; Mon, 13 Jan 2025 21:16:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736803001; cv=none; b=qFGGhe8ECRF6st+zQHlGGkJfjEpQmC5Qptf6i+U1Fq493BkcnEDC7Yd0oOjfM9yw2h052NCObHNN3885w8Z1z6WHTKT+4ojBxMI9/TM0e72ijf9yU03WhPq+IyrLszvhQl5yZoRJjlLn+jCDZVqQjbrnFOR7TNtWiVEbY0jncDc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736803001; c=relaxed/simple; bh=e5YknYzM/zjYcRrzDLyBgklZqTNnSJuPL13W7/uYIFA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=IZ+18ZbPlWb6Dsf3PUzVFU4vZPpG95297N0fp+zjlLj/3xXNGViD2zdyROdHnZ8j9/NftQiFxcfWzEW+0v1/PSEF7gjmj9jFALgK7HykbiJQtbqFVzQptVx2kyxatVsmFBnAnvWcAgQIcv10jJ6iiaCPN0MMMM0fZy9at9f1hjQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=g7Im8lli; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="g7Im8lli" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50DKYdDH024115; Mon, 13 Jan 2025 21:16:32 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= ErSJZ+Wg1W1h72pNHEdIndBCuBcxzgsQCV4G3GRfC+s=; b=g7Im8lliSUF3wLx7 iOoFM1O1sWBIYTCR4aaJOF4vwnr7iDeXKRLICByJcLEzrQEC0/Fop4sPLarsjLkW gfBQo0nB8bb8lpxNt66r7M+k2swD46WgFhD0zknszhd7xCO8SM+uE//VeYc/4mhk ERWQdUUK63JBcn7uirUwPDZ6yJxYbLkVEEWw1NWojFhmxHZlhXOlvOxtXsOnrQZz X6EdZeM95avX7TlEJ+AONWEpJThhPR6NBKs2BqGXUTFS1sj9B7fNjRd9LFUCQw+3 YKrYC50+Agt5VDGwo7A0KQncRcCxbUudYhAr3Er3m8e0KmXOmYwTMJCqSCCDm9XJ mv79Kw== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 445a06g29b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:16:32 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 50DLGVls000931 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:16:31 GMT Received: from hu-molvera-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 13 Jan 2025 13:16:31 -0800 From: Melody Olvera Date: Mon, 13 Jan 2025 13:16:22 -0800 Subject: [PATCH 2/6] arm64: dts: qcom: sm8750: Add QCrypto nodes Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20250113-sm8750_crypto_master-v1-2-d8e265729848@quicinc.com> References: <20250113-sm8750_crypto_master-v1-0-d8e265729848@quicinc.com> In-Reply-To: <20250113-sm8750_crypto_master-v1-0-d8e265729848@quicinc.com> To: Thara Gopinath , Herbert Xu , "David S. Miller" , "Rob Herring" , Krzysztof Kozlowski , "Conor Dooley" , Bjorn Andersson , "Konrad Dybcio" , Vinod Koul , "Satya Durga Srinivasu Prabhala" , Trilok Soni CC: , , , , Melody Olvera , Gaurav Kashyap X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736802990; l=1573; i=quic_molvera@quicinc.com; s=20241204; h=from:subject:message-id; bh=ZhMoNKSTYOExVTX0fvCm2hdsWbxOpcQX0wt3l3eF7Z4=; b=illTWaBlCnWa7VLhvFFVh3btKdQ0Qj+BqRqYOBIMVMJf3TUVlewVT1vle/3KWfZCuRseUVJc8 HjGp8h1+a9BC+2cSHWdM2y+9Y+EIUeJ6uwZhSuVA6bJIsDFSaIsXEec X-Developer-Key: i=quic_molvera@quicinc.com; a=ed25519; pk=1DGLp3zVYsHAWipMaNZZTHR321e8xK52C9vuAoeca5c= X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 7itbSf8Pym0QG7uwo-vXEJVpLPNtyiS4 X-Proofpoint-ORIG-GUID: 7itbSf8Pym0QG7uwo-vXEJVpLPNtyiS4 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 mlxlogscore=743 priorityscore=1501 malwarescore=0 lowpriorityscore=0 phishscore=0 spamscore=0 mlxscore=0 bulkscore=0 impostorscore=0 clxscore=1011 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501130169 From: Gaurav Kashyap Add the QCE and Crypto BAM DMA nodes. Signed-off-by: Gaurav Kashyap Signed-off-by: Melody Olvera --- arch/arm64/boot/dts/qcom/sm8750.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi index 3bbd7d18598ee0a3a0d5130c03a3166e1fc14d82..1ddb33ea83885e73bf15244c9cbd7067ae28cded 100644 --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi @@ -1939,6 +1939,36 @@ mmss_noc: interconnect@1780000 { #interconnect-cells = <2>; }; + cryptobam: dma-controller@1dc4000 { + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; + reg = <0x0 0x01dc4000 0x0 0x28000>; + + interrupts = ; + + #dma-cells = <1>; + + iommus = <&apps_smmu 0x480 0>, + <&apps_smmu 0x481 0>; + + qcom,ee = <0>; + qcom,controlled-remotely; + }; + + crypto: crypto@1dfa000 { + compatible = "qcom,sm8750-qce", "qcom,sm8150-qce", "qcom,qce"; + reg = <0x0 0x01dfa000 0x0 0x6000>; + + interconnects = <&aggre2_noc MASTER_CRYPTO QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + interconnect-names = "memory"; + + dmas = <&cryptobam 4>, <&cryptobam 5>; + dma-names = "rx", "tx"; + + iommus = <&apps_smmu 0x480 0>, + <&apps_smmu 0x481 0>; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x0 0x01f40000 0x0 0x20000>; From patchwork Mon Jan 13 21:16:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Melody Olvera X-Patchwork-Id: 857315 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 735B91D4339; Mon, 13 Jan 2025 21:16:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736803001; cv=none; b=eGB4ilP64qWqUUhy8GkJiMx9VchkZUiASYXcVHc+PAXrSLCwOI0e8EI93L0+cB5m/AhOWFX0iTV3aQIIG0xgxte/xfAGsQrf7WkCWgtdtMSPySH4gBK32wZvUN/MImdL2cdRtZLK+C5nbnkZIcrFJfD+NfyBcj+YHSFS1qNV600= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736803001; c=relaxed/simple; bh=lAXQTnC8DPMljk7y0NwvsTpzLwc8jfIuOyoWpftuc8s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=TTNWNwUOpAGNF5T/HIoNnHb03hoA5KvJcCR3TJWztcTUnPfeJjTgYf8WsRMjvt3cLDuUvjRkEB3MSm9d6XK3N7DGkhcIblqTFn3eahVncqkJDofa0XWHg7rIFfRGLUksyxopxI9vAGVLpW9Hs/nQ4p+5319PprjFDbJYdl9BtrM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=pEky6tQF; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="pEky6tQF" Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50DIieSe007831; Mon, 13 Jan 2025 21:16:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= eM4Etg5NLFyABjmZU7bOq4ICFPiE2BhQoe3G2qFxvjk=; b=pEky6tQFVuQgmh7k nQY9yWilhKo6yYV7yPqo9ajKeA++FUoE4fuPihJwEGbDYTaq7UJbZ9Y1wYFY2Iba l1wiiMM2W8darIM9jFWOiABrbqbYbPmE2nWxsRyj3bJ8ystNG1oxG/EPK+VJQeSY 5W17K3XK/PHfPu1ERgXn3JsQh3saz2FP68n6/+PejRT6D2N5OWKVaaU49KqZiMVn wgcYH+ATEx49eeP8KbQemfrvWRM4OO+lT1kVF/WWMAoVgojq/8OTrlkg4/agc1fE CRo5N049AOAZEaXjv9neQpcMXS+S3PZUGwHu4CUmInbK6bhW4YqBPc5CqkgjrUOO tL/PXQ== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4458cn0ac5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:16:33 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 50DLGW1c021487 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:16:32 GMT Received: from hu-molvera-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 13 Jan 2025 13:16:31 -0800 From: Melody Olvera Date: Mon, 13 Jan 2025 13:16:23 -0800 Subject: [PATCH 3/6] dt-bindings: crypto: qcom,prng: Document SM8750 RNG Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20250113-sm8750_crypto_master-v1-3-d8e265729848@quicinc.com> References: <20250113-sm8750_crypto_master-v1-0-d8e265729848@quicinc.com> In-Reply-To: <20250113-sm8750_crypto_master-v1-0-d8e265729848@quicinc.com> To: Thara Gopinath , Herbert Xu , "David S. Miller" , "Rob Herring" , Krzysztof Kozlowski , "Conor Dooley" , Bjorn Andersson , "Konrad Dybcio" , Vinod Koul , "Satya Durga Srinivasu Prabhala" , Trilok Soni CC: , , , , Melody Olvera , Gaurav Kashyap X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736802990; l=868; i=quic_molvera@quicinc.com; s=20241204; h=from:subject:message-id; bh=c2fAVBfOQ+aEHKpKfUTxWnhA0vJixkuXHqPSh9MkXeg=; b=DyNftHa7+m3an5cy1X03hWH2ZYyMEo3zDbMPW0AcO0ml5QPQO7aJKaVgkz9KTS399fQjHBEHl G7c5RDGeb1UAJsMfLHoIDTgG3t3Dj6KaUIWRuz8izs3ctT5HVQj7uey X-Developer-Key: i=quic_molvera@quicinc.com; a=ed25519; pk=1DGLp3zVYsHAWipMaNZZTHR321e8xK52C9vuAoeca5c= X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: Aq5G7tkbZifTbOjcCmiR_LTEQTxVtiPv X-Proofpoint-GUID: Aq5G7tkbZifTbOjcCmiR_LTEQTxVtiPv 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 impostorscore=0 phishscore=0 clxscore=1015 mlxlogscore=983 mlxscore=0 priorityscore=1501 malwarescore=0 suspectscore=0 spamscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501130169 From: Gaurav Kashyap Document SM8750 compatible for the True Random Number Generator. Signed-off-by: Gaurav Kashyap Signed-off-by: Melody Olvera --- Documentation/devicetree/bindings/crypto/qcom,prng.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/crypto/qcom,prng.yaml b/Documentation/devicetree/bindings/crypto/qcom,prng.yaml index d38e8d3b2f3a83dcb0e3559a7aaedb5d49df18f4..5e6f8b6425454d6440a8653567235380d934cc2c 100644 --- a/Documentation/devicetree/bindings/crypto/qcom,prng.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom,prng.yaml @@ -27,6 +27,7 @@ properties: - qcom,sm8450-trng - qcom,sm8550-trng - qcom,sm8650-trng + - qcom,sm8750-trng - const: qcom,trng reg: From patchwork Mon Jan 13 21:16:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Melody Olvera X-Patchwork-Id: 857314 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 B97251E0087; Mon, 13 Jan 2025 21:16:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736803003; cv=none; b=ceqO9EstAEQW5YCUNjEiwEs5eCLkBy8g4b5np9Viz8mUNOR5PUpfS/ANX46w0kPN7QxxFGktHTadP4/oCmeI5ao8tmo7Sm8USXA21+bIIBSXBPRMEzX4fkxo0lH0HlskRs1vo/i5SoBi3X7Uvqe9LPRkLGz5cMYaWDTa5wqK0Hk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736803003; c=relaxed/simple; bh=gS3HhlLDg2h+jEmFJcXx8eRwO7TS4hktSXo0dSoljtU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=JoIlcB9SFHtntjVG5qzhicfezjFl7pq4UXzc5gJ21/eiwHufqKz+7xPQt/04rgf8xK/wt4knYOaLnEeZOPDhcZK0u3SS4Z/PhUBJX0qS+yB9CzzbuOaldJuQPuHYqvnCt0x8TBtLZWIMfrbgtZEpnpOVHkbbLEqzX7glff2zDfQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=f6iplkdT; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="f6iplkdT" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50DBm9CW007359; Mon, 13 Jan 2025 21:16:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= FU50mI+jopQqUBsUxyWC+XRlzgPC0mvFI15LzCKpqc4=; b=f6iplkdTeRf7HT0R pQVSMZPiSJ4DrzO5GggFq+kiVDPZ7U43fp1YL5dBBIQabJQgfzzdVqgsAagV3hCN BNVm8gIa7EJWyrwU97iLbZSjVu/1ZrtiFbfdUbZpuDabSzN99YR5lQca/1PyL7BG tqumLAW92WvjwHyqee3JlBGgkbspvXKj5uC93869gz8E+Mr3XvxfDicnjVFKSZjk b0FZlf0myhZc2De2MrL5ZQsf3iqiJomjX3ipHQSR7yGRoP45J6ceNVMlNcLbpRZw xnpYJAa7JgWJUDD3QvqGXyGgREUnCI4jaXaZq9HzQhevRB1VMuYg5HtOd+gj8I2T ewP2bw== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4452939hr6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:16:33 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 50DLGWIZ025949 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:16:32 GMT Received: from hu-molvera-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 13 Jan 2025 13:16:31 -0800 From: Melody Olvera Date: Mon, 13 Jan 2025 13:16:24 -0800 Subject: [PATCH 4/6] arm64: dts: qcom: sm8750: Add TRNG nodes Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20250113-sm8750_crypto_master-v1-4-d8e265729848@quicinc.com> References: <20250113-sm8750_crypto_master-v1-0-d8e265729848@quicinc.com> In-Reply-To: <20250113-sm8750_crypto_master-v1-0-d8e265729848@quicinc.com> To: Thara Gopinath , Herbert Xu , "David S. Miller" , "Rob Herring" , Krzysztof Kozlowski , "Conor Dooley" , Bjorn Andersson , "Konrad Dybcio" , Vinod Koul , "Satya Durga Srinivasu Prabhala" , Trilok Soni CC: , , , , Melody Olvera , Gaurav Kashyap X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736802990; l=902; i=quic_molvera@quicinc.com; s=20241204; h=from:subject:message-id; bh=9HGSPyCdLJTFNynsf1No7ZWQHSGRzJNvn9eGwkO4pLg=; b=gyxBCX/CCSY0EEy//IpXSKbGdhAh4I+V+Kp35bEG/5jlMtiEAh3Qt9vqbzMI0U/Y9bZo0k/8q rEtUEgQG/PRC+xZE4tw7BSMxPf6y3HC2OdXK4qg9iw0WSIw4yh6QuhP X-Developer-Key: i=quic_molvera@quicinc.com; a=ed25519; pk=1DGLp3zVYsHAWipMaNZZTHR321e8xK52C9vuAoeca5c= X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: PEb_KLrJT99j_kikO4x0VCTXZKSDqgKe X-Proofpoint-ORIG-GUID: PEb_KLrJT99j_kikO4x0VCTXZKSDqgKe 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 phishscore=0 lowpriorityscore=0 bulkscore=0 spamscore=0 mlxscore=0 impostorscore=0 malwarescore=0 priorityscore=1501 mlxlogscore=783 adultscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501130168 From: Gaurav Kashyap Add the SM8750 nodes for the True Random Number Generator (TRNG). Signed-off-by: Gaurav Kashyap Signed-off-by: Melody Olvera --- arch/arm64/boot/dts/qcom/sm8750.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi index 1ddb33ea83885e73bf15244c9cbd7067ae28cded..9b2ac8c30013b02ca78140eb4144b4530aba5d6a 100644 --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi @@ -1883,6 +1883,11 @@ &clk_virt SLAVE_QUP_CORE_1 QCOM_ICC_TAG_ALWAYS>, }; }; + rng: rng@10c3000 { + compatible = "qcom,sm8750-trng", "qcom,trng"; + reg = <0x0 0x010c3000 0x0 0x1000>; + }; + cnoc_main: interconnect@1500000 { compatible = "qcom,sm8750-cnoc-main"; reg = <0x0 0x01500000 0x0 0x16080>; From patchwork Mon Jan 13 21:16:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Melody Olvera X-Patchwork-Id: 857019 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 D1EED1F9411; Mon, 13 Jan 2025 21:16:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736803004; cv=none; b=ahQ7hJ38UwjouyifY3OONXhIxdu+6ktyKxScVz5euPhY1N3BNVCoA3emSf8wZYfrZNC6RSt/ImYRZO27Jpb5Q+mcMG8Nq+JzyUwMUU6SkluFbJvyU9nqdB56SdG9uQrmk5ozJcsxIO5/rXsviXE6w4kV1X61/7M9eAforHiqfsc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736803004; c=relaxed/simple; bh=kNxH6I8pvzSRNZrYev4hdkI83fwNPyyYYwfG8Nj4uQQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=j9H4/dwaaQp5CNkmCbsY/2ZMEdYGKkOYvLb4hrOqs3ubymVsgag3MXTI7CFeWL37JjQA/Tw0YbBb+axMh2FgVqoql8MfWjVhVUmFRsSkKYB3z1gIHIqT8IKRc7Os4yUGuOqXB+xLVNTD+rJ1Is5Q1cOxOczG4k2xPHgexv8h4b4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=ga/4qlGC; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ga/4qlGC" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50DC1DdN000897; Mon, 13 Jan 2025 21:16:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= NdkRYfxMxLB5Ssv8ODyvg+kMNakKRvpKU29PgVyAz94=; b=ga/4qlGC54fwNJeY awy4T7wDifcVqzvtaih8D8u52RjZvS4b4WVP4rut4M2YAn02+5Dp7nyMAyHN/UOr JULmLpG3hANmJvAXWilSAHp2jfSxPhIDFoI0VzYFDAEmaBBXJnZF4f3WpbPismnt Qh+cI+k00aEgEswtuEI32iNYb6DgxldiVUEplKUwSeAULU6/1/D02QyEbLiG1biT H9W7gxDJQBFN9urX0Vy8KNzvZjLnpjyVrPnfbOTA6Rew/Ofada11raQpIgtQWgk1 /kD2EaXFApjITbYgyXk/nooflOsMccSDfvKytiUwJBIFEd8+mCN/+doZkagKeOQY /kPcRw== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4452f91b7q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:16:33 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 50DLGWx0025959 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:16:32 GMT Received: from hu-molvera-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 13 Jan 2025 13:16:32 -0800 From: Melody Olvera Date: Mon, 13 Jan 2025 13:16:25 -0800 Subject: [PATCH 5/6] dt-bindings: crypto: qcom,inline-crypto-engine: Document the SM8750 ICE Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20250113-sm8750_crypto_master-v1-5-d8e265729848@quicinc.com> References: <20250113-sm8750_crypto_master-v1-0-d8e265729848@quicinc.com> In-Reply-To: <20250113-sm8750_crypto_master-v1-0-d8e265729848@quicinc.com> To: Thara Gopinath , Herbert Xu , "David S. Miller" , "Rob Herring" , Krzysztof Kozlowski , "Conor Dooley" , Bjorn Andersson , "Konrad Dybcio" , Vinod Koul , "Satya Durga Srinivasu Prabhala" , Trilok Soni CC: , , , , Melody Olvera , Gaurav Kashyap X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736802990; l=1007; i=quic_molvera@quicinc.com; s=20241204; h=from:subject:message-id; bh=IMqa2WxMGdbmkt9uD1gsRkogyWI7dqWZf6aeJw1Jl+o=; b=8yYqRMk32phRWB75W13MYjUMnGC7mfwV3khkPY2zUkb8iEbSB2iyuKV5XSL925/CD8cQexSEp ssiOKraLWR7CY/ir6LXIK8E/yXFJO3mEPhTLsUp++sVoKP85aSojLAX X-Developer-Key: i=quic_molvera@quicinc.com; a=ed25519; pk=1DGLp3zVYsHAWipMaNZZTHR321e8xK52C9vuAoeca5c= X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: YiKFTQlAl_hJfS8rrUlpndbPpt5WqwYY X-Proofpoint-GUID: YiKFTQlAl_hJfS8rrUlpndbPpt5WqwYY 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 bulkscore=0 adultscore=0 impostorscore=0 suspectscore=0 spamscore=0 lowpriorityscore=0 phishscore=0 clxscore=1015 mlxlogscore=942 malwarescore=0 mlxscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501130169 From: Gaurav Kashyap Document the Inline Crypto Engine (ICE) on the SM8750 Platform. Signed-off-by: Gaurav Kashyap Signed-off-by: Melody Olvera --- Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml index 657693867ddfc9dd3633b52633519ca101f59d7c..08fe6a707a3714ff11d01b36afc8a2aab1ad490c 100644 --- a/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom,inline-crypto-engine.yaml @@ -20,6 +20,7 @@ properties: - qcom,sm8450-inline-crypto-engine - qcom,sm8550-inline-crypto-engine - qcom,sm8650-inline-crypto-engine + - qcom,sm8750-inline-crypto-engine - const: qcom,inline-crypto-engine reg: From patchwork Mon Jan 13 21:16:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Melody Olvera X-Patchwork-Id: 857316 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 416761B0F30; Mon, 13 Jan 2025 21:16:39 +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=1736803000; cv=none; b=ruR15a6zIJczBWiFPJBoRFlEqrv55kvSBkN4zokOJgDy8PV5S3yxd1eA4xhIgXii84nOaq1roHld79BXzVF8djEray0YWxAgVKX/K/Lv8cONwGiLMhVk29+040wuYR/JdMv6QtP9IHJsVRyTrye4H34o+VeV/mPmkMqgyiXiaMI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736803000; c=relaxed/simple; bh=cOJsRDBcgLDBp32RqWAqDTQsoREZ6J+vEdj//CoPbrU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=RDfcN8mA9dJRCNbcXKCx0ob3E0U74hQe+X/sMRZfDTeshVXF3SYAtc9diCOwnYQk8tJ3HPfprHjhDC1DvOkJvcyg1rzwbaBs5YrkCeIwFtO4TKczhVbSwsOQfC3qLgIebMQNZchzUqpPt1ptqJfi5PutIzFHJtJ1KXQjfbkRw+8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=CUKrIzzv; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="CUKrIzzv" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 50DHDrGK015112; Mon, 13 Jan 2025 21:16:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= ZpcRHclsZV+n0sv/cngvaVlAnRrHbAMrX2D3lIQUKxA=; b=CUKrIzzvizzBTaaV oQDcKRNNubh1hP+kO4cgwV5dcDawX1uODW4mBXgeItuorJ4+YLVeE9Wm2NRL/C7s tnivrRZ8H8qFuo9g4U52aJ2M092AI9e39Ob+XgrWP+yQMP4ZQL/Xq1VlmWXNMJE/ bExynpae3ldSZkQ+BRwwllg/RUh994D3stgFUNT1g79s1dY297dXlGWl6gfiuDCe AWvzdWxOeX6tEsa+X1nW4+f+hVQSmF06W8NQbAHQAAnATWlm2fSzqhQLtvG2Q2Y1 XPTlkcgkvDQTayzp6a16/cRbO7rkXip6vDGd87ej2/5dttg8iiYe25BZdBkOyMRq QK/xXw== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44571yrgxq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:16:33 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 50DLGXRf000946 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2025 21:16:33 GMT Received: from hu-molvera-lv.qualcomm.com (10.49.16.6) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 13 Jan 2025 13:16:32 -0800 From: Melody Olvera Date: Mon, 13 Jan 2025 13:16:26 -0800 Subject: [PATCH 6/6] arm64: dts: qcom: sm8750: Add ICE nodes Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <20250113-sm8750_crypto_master-v1-6-d8e265729848@quicinc.com> References: <20250113-sm8750_crypto_master-v1-0-d8e265729848@quicinc.com> In-Reply-To: <20250113-sm8750_crypto_master-v1-0-d8e265729848@quicinc.com> To: Thara Gopinath , Herbert Xu , "David S. Miller" , "Rob Herring" , Krzysztof Kozlowski , "Conor Dooley" , Bjorn Andersson , "Konrad Dybcio" , Vinod Koul , "Satya Durga Srinivasu Prabhala" , Trilok Soni CC: , , , , Melody Olvera , Gaurav Kashyap X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736802990; l=1020; i=quic_molvera@quicinc.com; s=20241204; h=from:subject:message-id; bh=kYx1ne3b8juDuVcobYdCJj2Z5nQv/iZNrM6rP7xtAUU=; b=TQ5b0w/llxvDHVQnd9VvocaFvjCSbeU0CzLPOvFtmcP95z4DB1CeWzOoyizfvzPGtm00WuxXx aW4VHdWrM0FA7KRB/WQoYsyE0Mmhxe5PlATUxkSA7DeI8FjGmgomf3o X-Developer-Key: i=quic_molvera@quicinc.com; a=ed25519; pk=1DGLp3zVYsHAWipMaNZZTHR321e8xK52C9vuAoeca5c= X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: Dslp47vCZZtcnVAoejdMzPxvCxUZ523f X-Proofpoint-ORIG-GUID: Dslp47vCZZtcnVAoejdMzPxvCxUZ523f 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 priorityscore=1501 malwarescore=0 phishscore=0 spamscore=0 impostorscore=0 bulkscore=0 clxscore=1015 lowpriorityscore=0 adultscore=0 suspectscore=0 mlxscore=0 mlxlogscore=756 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2501130169 From: Gaurav Kashyap Add the SM8750 nodes for the UFS Inline Crypto Engine (ICE). Signed-off-by: Gaurav Kashyap Signed-off-by: Melody Olvera --- arch/arm64/boot/dts/qcom/sm8750.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi index 9b2ac8c30013b02ca78140eb4144b4530aba5d6a..63231f4d72e2ca2a109efff00ab7a21c7475888a 100644 --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi @@ -1944,6 +1944,14 @@ mmss_noc: interconnect@1780000 { #interconnect-cells = <2>; }; + ice: crypto@1d88000 { + compatible = "qcom,sm8750-inline-crypto-engine", + "qcom,inline-crypto-engine"; + reg = <0x0 0x01d88000 0x0 0x18000>; + + clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>; + }; + cryptobam: dma-controller@1dc4000 { compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; reg = <0x0 0x01dc4000 0x0 0x28000>;