Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp830279rdb; Fri, 22 Dec 2023 06:26:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFzY6Q1BRx0iRfTlIPdKJMQowlKHSrAEwG3WVALJF2EZLspmWPF2x6W0kZOzjofml+S0NlN X-Received: by 2002:a05:6358:7248:b0:172:fe9a:44d9 with SMTP id i8-20020a056358724800b00172fe9a44d9mr1400260rwa.33.1703255184383; Fri, 22 Dec 2023 06:26:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703255184; cv=none; d=google.com; s=arc-20160816; b=UUGwxo07n+9RFvoem4iKXblXOKPy7bx/7KnLFoEUooKdIbIXpcn4wlWPwAPY6A/Ah+ ONX33UQFkZdcbWQscUGzN6BHfTr1moFiwFGo7QmLeHfPpLmoclDjH3lV5hXogshzEn/W NyNQP5bVQ+BF7znCqwPJqSSkZ6hhNNX1FFr8mPzUvO80QESZASsUyp0WymTeHEox1x3e NDOFap6SSz3b2EQmOp/nC+J78wlwtu06kJPS4N3p7WeXSf676Nh9NtcWpiFVd9V8xE3T 47/dUQG6K31htsddtLumaTkfFzO9y/iIK6o3vF+y4+BRwV9GvLuiRoBeW9vLB9e0ARHg WcNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=/WcW7kl3eKiFx2yQXtYtkkJpmLb6u8OiRxqotQfMNeU=; fh=nMg1pm5Dik0YDFDLCFF3o/ohiWP6LE9ydNX1OZSsOhU=; b=bqwjBmcH4mMQGp9yUjU8BNtj5Fbt7hnf5eJFWw49jC06plen5JdzJPA3aRlSCgwMi/ tyfhYdapgnRvfnzTRzY/7i6Goqi7VRwjzFNXHrLpDr449OMvLIcrDkUSj+7wRkQ6sZBq i1dK2YR7+F84EEwvD+qnAEjmKnP6E4UjTeX0hJF7OltwzLIZ++XyIhdHWw3Ncly7FNLO 9vTILinqACS9hDgD+ufqvHmhpwTrFKp6rPy7SV7qiUzZICV3Cma7/2ESriLoTMAG8b8n iZWmWE12Icy5j3p9VWOPbadqoxl8fXrsdfReq61VAnEo8HaFe0R9vauRGBCmhoV9LPil ubkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PxaPrVTr; spf=pass (google.com: domain of linux-kernel+bounces-9778-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9778-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id bd15-20020a056a00278f00b006d92fd3b0bfsi3318170pfb.78.2023.12.22.06.26.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 06:26:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9778-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PxaPrVTr; spf=pass (google.com: domain of linux-kernel+bounces-9778-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9778-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0A9792840D2 for ; Fri, 22 Dec 2023 14:26:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9BD681D53B; Fri, 22 Dec 2023 14:26:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PxaPrVTr" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) (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 8794E1CF92 for ; Fri, 22 Dec 2023 14:26:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-5e730eb1770so18183157b3.1 for ; Fri, 22 Dec 2023 06:26:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703255172; x=1703859972; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/WcW7kl3eKiFx2yQXtYtkkJpmLb6u8OiRxqotQfMNeU=; b=PxaPrVTrqhGotIJ43C9XJvk6A7q+ONc/W5Q8EoKEv98ZLNQP1GweTFQ1TpxviTVY+v R8DKwPMdMaoj6dOnX4vU8XIGrI9GbRzSKx5XX1l1kCBkjBktGsoZzlsYiUiL1/ItiBjS oRxxjNV8JySjFoykCvjId4D08dcYlqTn0ei1T0wKM0VS3cOmg71sYOjIBgcRYpa+uKT4 /sEynVHFM3Glw+MZWJY2E1MiEILMK3GsBB6EFaQIT9YOIETOUPhShKAZE1qAWBKKiYIt pdUUKjycSQOlauoI5fGSlj1Lxn79r5XjxTufZWqrJU/BQUwon5SJO3dJLmeuFt8M1N51 vOWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703255172; x=1703859972; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/WcW7kl3eKiFx2yQXtYtkkJpmLb6u8OiRxqotQfMNeU=; b=PbiFG3U/RkNHiqp11OvRrFHUEs1n3M/W5cNhx0HENLeW+WDGQRYpKWuSzCfSmDpxpL QZFMfwOovGw9TMsOxc5KfvbUmbOcdL2VjJANIbbdd6MUSTXe//ipgKm5iM54Q127dCwo ganAUFtVejaFEu3jgO6xlkuRNfTToLAR+nV0cLV2p1iz+dFj+QItRbhLKTDDdmRz8gG/ 3JXVP51H73W1RzafbAyXWJbqTS2KJnR9sxhwemccm/9w7M5aHnSjjhQH5tuQajhmLdwq X7vN63CLuLrqacdINKb6ZsoCOtdZr4bUlIw4l5TAdfmn0YT+CcAejh9RDN/l/dT9tSt7 LtWQ== X-Gm-Message-State: AOJu0YzvKndEgWQF0D79jMDycDeii5H2wBREQ6j63IYuRw/7gZ2wWyJj mv0McMoyikefLEbQi6ttTPk65xMgpU7ujlqaRnjEP31YUVw/Kg== X-Received: by 2002:a0d:ed82:0:b0:5d7:1940:7d6c with SMTP id w124-20020a0ded82000000b005d719407d6cmr1298125ywe.67.1703255172509; Fri, 22 Dec 2023 06:26:12 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231220114225.26567-1-quic_kbajaj@quicinc.com> <20231220114225.26567-2-quic_kbajaj@quicinc.com> <519138d9-2434-4357-abec-f400b87755c6@linaro.org> In-Reply-To: From: Dmitry Baryshkov Date: Fri, 22 Dec 2023 16:26:02 +0200 Message-ID: Subject: Re: [PATCH 1/2] arm64: dts: qcom: qcm6490-idp: Enable various remoteprocs To: Komal Bajaj Cc: Konrad Dybcio , Krzysztof Kozlowski , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Fri, 22 Dec 2023 at 15:25, Komal Bajaj wrote: > > > > On 12/20/2023 6:04 PM, Dmitry Baryshkov wrote: > > On Wed, 20 Dec 2023 at 14:29, Konrad Dybcio wrote: > >> > >> On 20.12.2023 13:18, Dmitry Baryshkov wrote: > >>> On Wed, 20 Dec 2023 at 13:46, Krzysztof Kozlowski > >>> wrote: > >>>> > >>>> On 20/12/2023 12:42, Komal Bajaj wrote: > >>>>> Enable the ADSP, CDSP, MPSS and WPSS that are found on the SoC. > >>>>> > >>>>> Signed-off-by: Komal Bajaj > >>>>> --- > >>>>> arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 20 ++++++++++++++++++++ > >>>>> 1 file changed, 20 insertions(+) > >>>>> > >>>>> diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts > >>>>> index 03e97e27d16d..ad78efa9197d 100644 > >>>>> --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts > >>>>> +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts > >>>>> @@ -419,6 +419,26 @@ &qupv3_id_0 { > >>>>> status = "okay"; > >>>>> }; > >>>>> > >>>>> +&remoteproc_adsp { > >>>>> + firmware-name = "qcom/qcm6490/adsp.mdt"; > >>>> > >>>> Why MDT not MBN? > >>> > >>> I agree here. NAK until this is .mbn. Please follow the example of > >>> other boards when you write patches. > >>> > >>>> > >>>> I don't see these files in linux-firmware and your cover letter did not > >>>> explain anything around their submission. What's the status on that part? > >>> > >>> This isn't usually required, is it? I mean, the firmware can come from > >>> linux-firmware, from the device partition or in any other way. With > >>> the FW_LOADER_USER_HELPER this becomes just the key string used to > >>> identify firmware to be loaded. > >> I think Krzysztof referenced the fact that the Qualcomm-made boards > >> usually came with redistributable firmware. > >> > >> As far as my 5 cents go, not submitting the files to linux-firmware.git > >> only harms the user experience, so I'd always advocate for it, whenever > >> that is actually possible. > > > > Me too. I think this is work in progress on the Qualcomm side, see the > > discussion at https://github.com/Linaro/meta-qcom/pull/551 . > > > > I was searching for MBN files pushed for SM8550 at > https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/, > but could not find it. Am I missing something? Nobody handed out the files for sm8550 yet. So we could push only the audio topology files. > Are we maintaining it somewhere else asking just out of curiosity and > learning and do similar for QCM/QCS6490. That repo contains existing firmware for older platforms. The firmware signed with the test keys goes to the SoC directory, vendor-signed firmware goes to the subdir. See qcom/sm8250 (RB5), qcom/sdm845 (RB3 aka db845c), qcom/qrb4210 (RB2), qcom/qcm2290 (RB1), qcom/apq8096 (db820c) and qcom/apq8016 (db410c). For X13s there is a vendor-signed firmware at qcom/sc8280xp/LENOVO/21BX/ Venus / VPU firmware, being chip agnostic, goes to qcom/venus-* and qcom/vpu-* Vendor-signed venus firmware should go to the same subdir as all other device-specific files. Generic Adreno firmware (SQE, GMU, GPMU, etc.) goes to qcom/ directly. Signed ZAP shaders go to the qcom/SOC or device subdirs. WiFI firmware goes to ath10k, ath11k or ath12k dirs. But please coordinate with Kalle Valo, he maintains those subdirs. BT firmware is piled up in qca subdir. All mentioned files except the WiFi have migrated to .mbn format. All licences are documented in the WHENCE file. -- With best wishes Dmitry