From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793801030; b=jO0dCjasvrHDrH48UCAH3nrFDG8DoIQnRdxMedPBY8d/arXcLp3zIpHruFXe+1UPZjer LT3dT9z1slhMXz3Jx0Ngr3k6SfegKkgeoRaPq906cRGvKKdIFKxH7leUAQj7H7Wrt1Mx0 /SRUMWeHZRvQnkv3G1VvY5UZWuDNK82Sgp7pwF630+hx023uiZ3au0EJlDRllHKsnXFOQ kFZpm9dFj88g1Dosb4F7vOuQ/572i+KxCwKpHmOuIIlj2sq1AsyzGUDHwUJ1c7P9HHh6h emxDa/mlKt8oMG7ujhiTMiBAIDv7Yy8fEGTrls68AHSWttFBAdUqGWczpzXrn8Tt/tw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793801030; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:Date: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Authority-Analysis: X-Proofpoint-ORIG-GUID:X-Proofpoint-Spam-Info: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-GUID: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details; bh=0zCBgm6ZXPjAvHIIdvGuEOlxxCQAFX1FznH+2XnoNhc=; b=P2K4Uq+SZEsXCP6ruPTJ9mi+pLhn0aMwuONxIjt6xY83OhYUF74la3CMHWH/NorWt2GD zPcVUYtK4PNIrYY1DfI94OhUVIq3OLHjNf7e6buf1d1jAXJ2LjN6ReWFGGcOTZ31ofWPT XLGr6s0rcczgxrnj/2fof0qfxLsQ4K5gTHSWUsQapQOKS/SIoV/pSgqlm+FF8v4IHo5N4 XOoaLenSGX5+PSRZrEUQCTS8ZlDf1VS8/RySwgdppXRlAqbrDFLsM9NLudLYwOr9nl8fx 63dVXcj0hW7+bNXs1wFhGdM6m+oWPi10EAQHkAud9YiVK6mWTfWeNmkfAnY/fCjjBuw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=oNINtf+A; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=kk7jzkrT; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4001606A31B for ; Wed, 4 Nov 2026 14:03:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D4001606A31B Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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, unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=oNINtf+A; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=kk7jzkrT Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6A4BaMEL2729160 for ; Wed, 4 Nov 2026 14:03:49 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= 0zCBgm6ZXPjAvHIIdvGuEOlxxCQAFX1FznH+2XnoNhc=; b=oNINtf+A+usx6+bN JotwXt0lFfw2lXT9PK7AoaqTgXexbUk9AqIcMSIMvbf0PzHbhdxyIBIpMQJFjMv6 +V0dbn+COKQZG01jfYb5grh4mrdXTATeixj+TO5oSsf7zKDyGWs3VvWSD1Sp80KU 6jtOKa8SkipHtbv/yKDyfQZOvg9jG8Og+NPBCd3FfzyCAi7Qph4g0Hruif+vmjJl DEQ5SE9kIHvFUB46QY0r3l5HAK+lIQEC+c1SfRXs/mu7Xy0XvIt/8GsU2cCUeln0 xnPV4KCO9+/UIZ7JSnUpxp9aUqZFtl0oVP2ZVTLXNDmkO5jDyEE3RLLaDTDRcaKt HG5MIQ== Received: from mail-dy1-f199.google.com (mail-dy1-f199.google.com [74.125.82.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hqpuvbpex-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 04 Nov 2026 14:03:49 +0000 (GMT) Received: by mail-dy1-f199.google.com with SMTP id 5a478bee46e88-33713e5e6daso821282eec.0 for ; Wed, 04 Nov 2026 06:03:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1793801029; x=1794405829; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=0zCBgm6ZXPjAvHIIdvGuEOlxxCQAFX1FznH+2XnoNhc=; b=kk7jzkrTd++x+fLkULDXLNommMNG1KC41lWH+JJwsrgxP5AygywGU0hAS9K/nWlu9S dCnbXWsoLZJlsMsXik5jq9uG6OV2D9yIzPltwOZJ23D2+H0sLXTimwtGVCvQwlS0UTYn Lg3ECEb4cnpZfcevYyY4pD+0haBjOhuWMSp2kquEYEKFyVBq640thNOr4Adcpb3aKaMN WfgvQQkDd0HPtIMQYggs5IBsUf8uHmxIIbVyiLZ+nv649tBkMqG+LrSsQpiiNse3bO57 HuK6xYUWET9/U2v43IppWUeuftjFvfdNkoSIs9sQwOyZpDlFy1zeUfl9QJE3dooI24Z3 FKuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1793801029; x=1794405829; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=0zCBgm6ZXPjAvHIIdvGuEOlxxCQAFX1FznH+2XnoNhc=; b=N2f+bhIMpYTlHTGZDBjvUJKP32a1XDIajyh4izHIHpdcHUQCj3XPpWrc3oEccjhPe5 gmZS4Fm43qLrhMLVIhAFo55Vg31iXbGwLt+jVmw87BEvV4/nAe2vYkc2nwP45+bcpYUk xc5hhwONKgBZSitgvgKHJ8aaPZUqKo0X/3hb5aZB7V36aGVVN4wMiBPBZut+6nTRAKI1 gpTiyXZtUceqF+U9PCQ7L/xifqIRNdA89KPJ6L1nlDs6rVOG2/ZBQ+NjbJZN4P9TEUbY P4elHJvam1XKHSI84GNPeSLQjOdCF3hGWJ6lQCL/xXMAJPz03Xq6IZbvX6yCo96qBzho MJnw== X-Forwarded-Encrypted: i=1; AKwUvByvQneVy1YqHS6HkBhP5HhC0/O9CIz4ctOdmtT8xINjMOj0pPxWMIu0OJm7tzTXy9WIepwS84plWl4PC4w=@vger.kernel.org X-Gm-Message-State: APuU4Z+MZnQ7C3LlUvrPGpke59pQVqJQkmUMErh0tUQ4PscSLIz8F4UF 62kawHdxSMslt7mllCPy7aeE1DKAcBoJyHsqpwU9UpE4wf4JTtshXJq0AuZ5YWb8RlA8QAeQ1+y z2jsKiK2eabeJiTwFdXLyCBY7nsKZ0wBgC8ctV4MpZlB8Le/hunL1qvSazNDUWYyd5qM= X-Gm-Gg: AYBFou16sumx/ousLorUGcBiAUauj+IMdcD3YSxn1nd++zeFzfmdyr8XxmP+kToBbBE QgCHLc/KUEaDeOad+PNWGHwoGEH9Jo1oY3w09Px6ELCUQ/+ibPXuqCpnF6W+Ks+hfvtelfSMXjj vdmyuYILehTgqMxxPqarQYDQfmbPKxk3RCqboEQzVT0/cvmRWz/6kK3zEK/g97iL+0XdHDl4L/o gWA9yA7/jjiytT86kr+4lXQbyPsy69kQrxIH946muIHV8CsoRZNQE7YPExZEMvX6w8BSNQQKE4Z PEvxy11Dlim26Cgy1iIMYKn/QEU0/2EqhpBRq8bHYOcbTp0sFL4bq3lY+tTCTpMkTBscr/EKGyJ TewEGO7WTlGxqi6Vo0wp4z0B0i8NGZiYcd8cxmkQzbwN1CIcVyJQHRioZOKMwFHwe X-Received: by 2002:a05:7022:158a:b0:1ac:d029:70cb with SMTP id a92af1059eb24-1acd02973dcmr25494820c88.30.1793801028347; Wed, 04 Nov 2026 06:03:48 -0800 (PST) X-Received: by 2002:a05:7022:158a:b0:1ac:d029:70cb with SMTP id a92af1059eb24-1acd02973dcmr25494776c88.30.1793801027525; Wed, 04 Nov 2026 06:03:47 -0800 (PST) Received: from [10.213.101.118] ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1b245c4706bsm10195570c88.15.2026.11.04.06.03.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2026 06:03:47 -0800 (PST) From: Komal Bajaj Date: Wed, 04 Nov 2026 19:33:30 +0530 Subject: [PATCH v4 1/3] dt-bindings: remoteproc: Move iommus constraint to SoC-specific bindings X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261104-shikra-el2-v4-1-97e7019debff@oss.qualcomm.com> References: <20261104-shikra-el2-v4-0-97e7019debff@oss.qualcomm.com> In-Reply-To: <20261104-shikra-el2-v4-0-97e7019debff@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Abel Vesa , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mathieu Poirier , Manivannan Sadhasivam , Bartosz Golaszewski , Kumar Patro Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, Komal Bajaj X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1793801016; l=4025; i=komal.bajaj@oss.qualcomm.com; s=20250710; h=from:subject:message-id; bh=Mkvg2QZy1nYHDBab5egxAvVxkkQ0+7XNBqgQC5oUCvA=; b=lM2sld5KcyNQU574qia1sJkhnHXnY+gJ7wwH2m2geLN+Y9EQwC6NJI391Hq9wrjjxn4pgTmbG 1r+h9l0XmQDC7WoJ/1J2PEmaOQYgDWdWVI7mrMzSg2DIDLDOW7ApfR0 X-Developer-Key: i=komal.bajaj@oss.qualcomm.com; a=ed25519; pk=wKh8mgDh+ePUZ4IIvpBhQOqf16/KvuQHvSvHK20LXNU= X-Authority-Analysis: v=2.4 cv=O6SsLx9W c=1 sm=1 tr=0 ts=6aeb3b45 cx=c_pps a=cFYjgdjTJScbgFmBucgdfQ==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=EUspDBNiAAAA:8 a=hA1A6weoOJfvvjuqJi0A:9 a=QEXdDO2ut3YA:10 a=scEy_gLbYbu1JhEsrz4S:22 X-Proofpoint-ORIG-GUID: 2i7G0bTze7TgxdTbCsoRnix4EB9JYsDn X-Proofpoint-Spam-Info: AW1haW4tMjYxMTA0MDA1NSBTYWx0ZWRfX/TJZjlisbVOF N1+asod2GgitUUOfsTGZIaL4SRkmi89Q+dDxisYgwAgDzaxHGsiBQyaDeXdURCjjPw1AbeGufUn BUN8iwNyrXmXVh0lxXY5jZC5EvWNZeo= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTA0MDA1NSBTYWx0ZWRfXzvw4by3tcMRp XmpUiOZ1uxyYwxpgpn0/hC/aUfhEC5EVViNsdOGSpp/xFmJ8P3lQ08cREhD8rM4Dv2Nx1eyl/LX GtRkgVWfVGM/oVWyVE+3X9LUT6fZbZB8EvMu/sLA6qoUBxpZhM9FgdKSRoZCOatpNdtEP0B820o CxJCuE6om4jJrmobS90T0PHsLFYLO9PNKSodbT7dcHKLsgk/ZbJJnnF73rd2CfnNllVpxpi8p+u Kq9kOGI4EnIgQtyEwuGbR3UukKevBpZ+tiL4XNvSk/tlgyvMoC/pUKtJ+e3amyT2P0IlcAGU+e0 rLSzPxLUwgkFTsxBETSb2djTRwIMMacaiBvbnfRpp77U5UdxzUuN/OPDSYtBb2nKPnruxbmBfYA FX3dl1I0+aq8E89CfC4akqXZImL9C2rVnS7cahTYwH2iQtFIEipxBTjNG4o0L6/5u76tEcWB3ro iRaJ9cjiivod6tnYvfA== X-Proofpoint-GUID: 2i7G0bTze7TgxdTbCsoRnix4EB9JYsDn X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-04_04,2026-11-03_04,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 impostorscore=0 clxscore=1015 spamscore=0 suspectscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610300000 definitions=main-2611040055 The `iommus` property constraint in qcom,pas-common.yaml is too restrictive with `maxItems: 1`, preventing SoCs that require multiple IOMMU entries from being properly described. Remove `iommus` constraint from qcom,pas-common.yaml and add it to SoC-specific binding files that have EL2 support and require IOMMU configuration: - qcom,sa8775p-pas.yaml: Add `iommus: maxItems: 1` for all sa8775p and qcs8300 remoteproc compatibles (lemans-el2, monaco-el2) - qcom,sm8150-pas.yaml: Add `iommus: maxItems: 1` for qcs615 remoteproc compatibles (talos-el2) - qcom,sm8550-pas.yaml: Add `iommus: maxItems: 1` for x1e80100 remoteproc compatibles (x1-el2) This allows each SoC to define its own IOMMU requirements while maintaining backward compatibility. Signed-off-by: Komal Bajaj --- .../devicetree/bindings/remoteproc/qcom,pas-common.yaml | 3 --- .../devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml | 6 ++++++ .../devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml | 12 ++++++++++++ .../devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml | 12 ++++++++++++ 4 files changed, 30 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml index f75cab6b4ed9..4662fe4cff62 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,pas-common.yaml @@ -32,9 +32,6 @@ properties: minItems: 5 maxItems: 6 - iommus: - maxItems: 1 - power-domains: minItems: 1 maxItems: 3 diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml index dda2d144b720..711c2f723b17 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sa8775p-pas.yaml @@ -106,6 +106,8 @@ allOf: items: - const: lcx - const: lmx + iommus: + maxItems: 1 - if: properties: @@ -126,6 +128,8 @@ allOf: - const: cx - const: mxc - const: nsp + iommus: + maxItems: 1 - if: properties: @@ -144,6 +148,8 @@ allOf: items: - const: cx - const: mxc + iommus: + maxItems: 1 unevaluatedProperties: false diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml index 5a7c5f8c92d1..e643e44a4739 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8150-pas.yaml @@ -178,6 +178,18 @@ allOf: - const: lcx - const: lmx + - if: + properties: + compatible: + contains: + enum: + - qcom,qcs615-adsp-pas + - qcom,qcs615-cdsp-pas + then: + properties: + iommus: + maxItems: 1 + unevaluatedProperties: false examples: diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml index 99e9aeeb4f62..dd81ecdb8dc4 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,sm8550-pas.yaml @@ -317,6 +317,18 @@ allOf: - const: mx - const: nsp + - if: + properties: + compatible: + contains: + enum: + - qcom,x1e80100-adsp-pas + - qcom,x1e80100-cdsp-pas + then: + properties: + iommus: + maxItems: 1 + unevaluatedProperties: false examples: -- 2.34.1