From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f175.google.com (mail-oi1-f175.google.com [209.85.167.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5361C194AD7 for ; Wed, 14 Jan 2026 03:54:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768362846; cv=none; b=L1xx+8PkwKC5joYUQHx4yPytfDriWR1zdGKu8mge5I51SLlIyDWJ5hEHE3RdIeWpqBwWsLhJBSaWOBxIXcV7nz7Y7Roy/05hVQYYA2zA8IGo7shs6kTYUdf9p1J2fYfnzJ7zwn+gmkK52OBFI6SQ7g9jfIW4zh4NyD3dN1TTaH0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768362846; c=relaxed/simple; bh=49Agcpa3CyOrsrq3mxJxyGH0gvBgFmZs5flbI2qCHE4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=EJtK5WkQS+2dDEtuL1kPn6UpOISo3gXOoH3ZrfZUqziaG+zvyoo657TuKqD4L0BgP36TP1M4nsGkgcg0AGY4n8QOq8Wb2gvoenedKronlyPBlr3M/5DszM2q5w08xeIBw9Z+8h30z7jGG8hQ04y47TqJnuc56qBXD/kEPvZB07o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BHff7knx; arc=none smtp.client-ip=209.85.167.175 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) header.d=gmail.com header.i=@gmail.com header.b="BHff7knx" Received: by mail-oi1-f175.google.com with SMTP id 5614622812f47-45c7400259bso71781b6e.3 for ; Tue, 13 Jan 2026 19:54:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768362844; x=1768967644; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=os7psBao2TAcJgN/WPhuBCCHt5VJwqCGY+lkgH3GuIM=; b=BHff7knxIjXR9o3S5bPVLTTdCSxKsLlqepizM9GDtWS+Irqt86qwnMIS6dnFrobbz0 NdEgeFsncS1cz08u3mqtV/V0mwzaqcM1ieLj0KBi83FNarTGCQ26kh1gfb6oQQ3fNvjk uThReZYl10EdvAGhSYMXu7NB9TILMYJktuVNeO9y9a6P1iCwZBaHiC+H89Hqd2Rj03Ty SGfHjFYI/z9By6N0Kz5Gh7wYI4DGuBwmvX5sOBaa3UZp/y7DSwn2hjuN2ZGt0+91OfiF ZR6MxyfT3FNgXmxmHnXcFpLZLHQsvXXFK8zqq1ImRopO0lSkzuJlPdZJLRzlhIyQcODQ PNMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768362844; x=1768967644; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=os7psBao2TAcJgN/WPhuBCCHt5VJwqCGY+lkgH3GuIM=; b=Cg96FAsYRfzF5Z7Nv6on2/7UcgI52jISr177vzevyJrg7xBpOubohXCgMMZi9N19d0 wWeSqPoPXVK2fbmWlNxmUcpmykxM8YagjmxLF2VqrgNxwq8fd1oAWSJSUEgtSECs3W4l l6o/szcRqkZei0SdlSEfo/rGWQIYs+f3z40e0cl+siDzxfX1quqqraCdoeNIIfztyT6N AQWdvEMcNXmkkglK+AB45i5M7nrs1orzCHIZN+5qI/G3SRL+cMS4lHqBtVWmZAPYEVv5 UUYKEcfS4tDRrHdRyBLdwSE7pNze7d2HHggDE4fdipmh0L7yX5sI5KPw++HEuMN75p0M tjsw== X-Forwarded-Encrypted: i=1; AJvYcCWmqlPTMF92WeDknrtQdGS1CigYGZAALR21h+q0YAvQj04E6VB/MWecYkIGxbHODroCf3te2QqA+YZKJDI=@vger.kernel.org X-Gm-Message-State: AOJu0YwaZ9YUbU4PR0G5VOFUbMPqVAR++Pi9o2PbjL/NqjEwjrx5Uwon u11n88nQsHxdKrRWpLxlsVzXHSSLrqVb/uBmIrnLFVSnaQxN8wV3S9MgAYglpA== X-Gm-Gg: AY/fxX4Le8yWdQqS9TGUmc9Y+enLcIRdphPN5GZ1HtSlOrGPNsWgQnUROG6wEhgW0WY nT5IBEyHf8uXlCm13voeVnCXc4ZdkUUKg7YH0CC0PyUo/9fH2xQq6MFx2nQmFbPnSOprBnoe+wT hkGuIDm//AVw87jV5aRmCmGYyun4Wa0AL6h/4Kupuy+XZ03wJ7mPWzYRDD/qQDbrJzF4HbcK9NH JpCm0HOWq+6mlnkppFnjRUbeuFXQag8wBSfM7UyxnIFU/jBogpuWpjdmK6otxSTUQKDerWBhT4W 3erEtp45wC1Nn+Xn9x7RghhZbGazxjIQwkAcTT/EMBL03TXJHLlb0CfS0vY0UYErgxHN6AXY1+j 6kgQJfC7o31x6zOs6KcBGF31WHZuTsBZCX30FtWUvGJ07oT/NSRClXJqQMi+3ddAh+4X4TItutc QLhxq3FIABvp7sB1s0KzPQGE1CYdCs55zn0dbFC6yoBEFumcOutdjzs+m8z5ZBMabaCy7uxHOpB 7qSpbaSBO/ko/FXtpRhKQtqNJ2skJtf4W+fc8Bn8w== X-Received: by 2002:a05:6808:c14b:b0:455:d4ee:bb2a with SMTP id 5614622812f47-45c7142ffafmr1012777b6e.5.1768362844292; Tue, 13 Jan 2026 19:54:04 -0800 (PST) Received: from nukework.gtech (c-98-57-15-22.hsd1.tx.comcast.net. [98.57.15.22]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-3ffa50721a6sm15877468fac.10.2026.01.13.19.54.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jan 2026 19:54:02 -0800 (PST) From: "Alex G." To: andersson@kernel.org, krzk+dt@kernel.org, mturquette@baylibre.com, linux-remoteproc@vger.kernel.org, Konrad Dybcio Cc: mathieu.poirier@linaro.org, robh@kernel.org, conor+dt@kernel.org, konradybcio@kernel.org, sboyd@kernel.org, p.zabel@pengutronix.de, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH v2 0/9] remoteproc: qcom_q6v5_wcss: add native ipq9574 support Date: Tue, 13 Jan 2026 21:54:00 -0600 Message-ID: <4814455.tdWV9SEqCh@nukework.gtech> In-Reply-To: <14283f23-31cc-4bf8-9762-f0348c30618d@oss.qualcomm.com> References: <20260109043352.3072933-1-mr.nuke.me@gmail.com> <14283f23-31cc-4bf8-9762-f0348c30618d@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Tuesday, January 13, 2026 8:28:11 AM CST Konrad Dybcio wrote: > On 1/9/26 5:33 AM, Alexandru Gagniuc wrote: > > Support loading remoteproc firmware on IPQ9574 with the qcom_q6v5_wcss > > driver. This firmware is usually used to run ath11k firmware and enable > > wifi with chips such as QCN5024. > > > > When submitting v1, I learned that the firmware can also be loaded by > > the trustzone firmware. Since TZ is not shipped with the kernel, it > > makes sense to have the option of a native init sequence, as not all > > devices come with the latest TZ firmware. > > > > Qualcomm tries to assure us that the TZ firmware will always do the > > right thing (TM), but I am not fully convinced > > Why else do you think it's there in the firmware? :( A more relevant question is, why do some contributors sincerely believe that the TZ initialization of Q6 firmware is not a good idea for their use case? To answer your question, I think the TZ initialization is an afterthought of the SoC design. I think it was only after ther the design stage that it was brought up that a remoteproc on AHB has out-of-band access to system memory, which poses security concerns to some customers. I think authentication was implemented in TZ to address that. I also think that in order to prevent clock glitching from bypassing such verification, they had to move the initialization sequence in TZ as well. Alex