From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.43 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792902100; b=AfiKaq6hyorlvBZIgYsXuv/btXtHlXAqyFRp38hWctBtkvM4IOiYVphMBJwA37msosEF iAHibZFulXM0xu2lbsUpGxxtspPqH83FPvlTwl2tonh0JqAdqaB6lFSh7LoPu5FfHRRwM 9C8/li7HlkXauO761TeulUjYr3Y76wmJrmCR9q9yxhZ17KbqFnL3kJzBYtZ/VUEmiVG26 oj8UiZlym+Ul6L3lZf6QtcK3QzU4mHl5Pjb8X6EQ2CnOCD/aXp/F9UCcESVJgSXBP/nXY WQlVuF/YDM4m0morfsWnKzEb8OWI0CkJcbaQC0gpdQ+7NDultkU4BG9WyZUP3seH0KA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792902100; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding; bh=sQpV73Kcs4GI5xDw4C4m9SV0di9xYR8vy4GAZW0RqrE=; b=5H8tRY8WygACgRNNb0CNw/Rn/xpUsYDPaYYZWtL2xz7G59+OGT22ECSuZ32X7aDFfAEt pHslgMSLpAV2ahQLkLbhp88WHwixhWkeUlfug1zVOF4p2UdpRb8q5T2L/KwFItob5iQd3 wWbDm6AGDvLvV2gFUeXsqdpiV+cAu//I1gDzR34cOE35M6oRHzVmM7zHk0MDa2up7XLVY neV9qmg3qLzcCXhCIIVBC8p4fpP4TwikPq8uwEnAiTcttXI4tD3kAk9IhGfyjT98TucU5 RrbKXaCjd6a1S6fMuY8owTP5beAGKsUDWa3r8ROMhsdFSJwlrN4fqyDk4V2QXZ4fxDg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=BbAJ2kgg; arc=none smtp.remote-ip=74.125.82.43 Received: from mail-dl1-f43.google.com (mail-dl1-f43.google.com [74.125.82.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 349E3606A31D for ; Sun, 25 Oct 2026 04:21:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 349E3606A31D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=BbAJ2kgg Received: by mail-dl1-f43.google.com with SMTP id a92af1059eb24-157fe9d771bso2452479c88.0 for ; Sat, 24 Oct 2026 21:21:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792902099; x=1793506899; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=sQpV73Kcs4GI5xDw4C4m9SV0di9xYR8vy4GAZW0RqrE=; b=BbAJ2kggBXisKSYtQNvdmndB54XQ0cgBU3M8e5krx9TxDZ1vw2AH8FlDfRs3kQMra6 4YOVd4xYXK6+NJ/apZB6S0E4yeta0IAt6Kq/DZuAdlXxgg81KTNBtX3TMT66zTYtRqat O3JoLVsmVMj3TJGPes5NDcUJ5P8MZbS4BTxhYVbLkK5d16WCE4F418uF2SbXdHQLmtfT 8Vwt4ChIRw24QRz7eEjQXw4AV/1fUlkD2tdd+3KeShqjcFdPHz4G+SvkQpQwWvCnA+O6 Vchh8ZgbXj+Hsc56Pq7rs1qkISVA8N2kisRuR06d29gFbMiq5J4BtE2KjAcCJKVq9FH4 1fyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792902099; x=1793506899; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=sQpV73Kcs4GI5xDw4C4m9SV0di9xYR8vy4GAZW0RqrE=; b=T25uj2W6fcVDhFGycRhl/fRd4RUoNC62d5MmhkAM5/K0vF6Ept4x8t4RnsaEUeC0XB iMiA+rqrSuV3TRSWfHxTyC+WxZlOI/8jYLr0vM0UoLLrybJ3nMjPsnebhBw8fBmNzgDZ M8L6BuP2iSi4WscwJflCk5sbasYEpyRWh1gA1iM5KKBpj1ovzqakvy1eXIdK8sR6Y4fn NEqHs5EIEAVrlM8dCUl3bb1zgyi9xmIS45RyqJZibuItiaH2LWV9mjgPndKK5Tsd+7gZ WFf9tdKtOYTWeoxZF1Wgxibi/jn2r89fYKsqxUncD/bneC12o9FMEeejtyQEC0rysJj+ S+vg== X-Forwarded-Encrypted: i=1; AKwUvBzGjKQPQnIGeqli6yO5QhY2cAi8CYKrLwO9ngFxIIftMJfNBbd4cfDKDRaUIKbkoDnC3GpOTm95O6ua@vger.kernel.org X-Gm-Message-State: AFq9FYJTwGXFp5ND3aeI/pfdrBMF7oXji1LBNtopUa7r2H9Vre1jKTn+ n0g1AbYxzpArOViUq/qCSUCoGkZe42UxZ25A2Zb/zFp1ZDSLhb3xqlVw X-Gm-Gg: AYBFou0o2TlI+EhTqhE4EV/JwZPHeomswWo1C9VSyhd7s2FCU6aIOsh6Nma3OEx22g8 czU3aCRljvtKu/emhbvFyDADIpmxlm001BFI5xB7oYW7kjX4JFuUn25ZHFUUhswzNeihlEBH/uN MCe9/KmwlrkQMvMZtQNLdTm3q9cMdja5CejPlKlg6Zkuw8AYlBEIZuN6pscn9xBZdRsrXk8qX21 fSclWFGMoqMT7xYtYXgdl8XXttZuDBzLzVhwLlTIKFwWDPK8RYvaJIlk6fJC5B6YdtYlDvBZKKe AaT58fjKHrcO+GRHDW8dqT84Y6VvPc3FljsJg2A+jspsCXEAAh2s2QPcyB1h9ifPJTdkZIrOKvo L6nMr6USw7bXf4wcjA8LjjDFZ4xrv04XnP5zgUkF9U47Ox24+tDLuI0AmNqrjZz9BWf9lKOHX08 klgc+22CFn75OVcFBFUdhI2K+syOenh/9h7hAsi8Dc3UNXZHlKdKbUWBOA0bZfCDnff/9Aoqzm0 tBl/TcFnh0lbls8D8PMREiY+FbgTFkJOQ83swA07U2hO5LCi7pNUfKvVXK3PTpGNf6XvCvjyELz YMtLtC4ho/mUrl6UmnG7Qg== X-Received: by 2002:a05:7022:1e13:b0:143:271a:308 with SMTP id a92af1059eb24-1993f6d7a1bmr4400139c88.46.1792902099202; Sat, 24 Oct 2026 21:21:39 -0700 (PDT) Received: from ZephyrLabServer.internal ([165.162.64.148]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-198a0f81ea9sm14037825c88.11.2026.10.24.21.21.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Oct 2026 21:21:38 -0700 (PDT) From: John Macias To: andersson@kernel.org, mathieu.poirier@linaro.org Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, manikanta.mylavarapu@oss.qualcomm.com, varadarajan.narayanan@oss.qualcomm.com, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH RFC 0/2] remoteproc: qcom: wcss-sec: add IPQ8074 with a separate M3 image Date: Sat, 24 Oct 2026 21:20:58 -0700 Message-ID: <20261025042100.1356088-1-dencity7@gmail.com> X-Mailer: git-send-email 2.47.3 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This adds IPQ8074 to the WCSS secure PIL driver, on top of v14 of "Add new driver for WCSS secure PIL loading": https://lore.kernel.org/all/20260803-rproc-v14-0-a1f87b0b0ad2@oss.qualcomm.com/ IPQ8074 needs the PRNG AHB clock, and its firmware ships the M3 image separately from Q6 with its own load address. On the board I have, the M3 image goes into its own reserved region with board data between the two. Patch 1 lets IPQ8074 name its regions "q6" and "m3" and give a second firmware name; patch 2 loads M3 into that region before the authenticated Q6 image. Without memory-region-names nothing changes for any compatible. Testing: - dt_binding_check (dtschema 2026.9) passes; the schema also rejects named regions on other compatibles and a named IPQ8074 node with only one region or one firmware name. - arm64 W=1 build of the driver as a module, no warnings. - Not booted in this form. The equivalent change on OpenWrt's earlier copy of this driver has run on every boot of a Netgear RAX120 v1 (IPQ8074 hw1.0, WLAN.HK.2.0-01792-QCAHKSWPL_SILICONZ-1). Varadarajan, would you rather fold this into your series, or should I resend it once v14 is merged? I am happy to test either way on that board. This work was developed with AI assistance (Assisted-by tags on each patch). John Macias (2): dt-bindings: remoteproc: qcom: wcss-sec: add IPQ8074 remoteproc: qcom: wcss-sec: add IPQ8074 support .../remoteproc/qcom,ipq5018-wcss-sec-pil.yaml | 96 ++++++++++++++++-- drivers/remoteproc/qcom_q6v5_wcss_sec.c | 97 ++++++++++++++++++- 2 files changed, 184 insertions(+), 9 deletions(-) -- 2.47.3