Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2766936rdh; Mon, 30 Oct 2023 07:11:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE6ljGfoqAPG+vZXstWV6CrZPyunumUBrEWDYl/e+hbPMWtMMCXOO+769NNtwTfSX54Lsog X-Received: by 2002:a05:6359:3415:b0:168:e599:cfee with SMTP id ul21-20020a056359341500b00168e599cfeemr7623476rwb.9.1698675110611; Mon, 30 Oct 2023 07:11:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698675110; cv=none; d=google.com; s=arc-20160816; b=yJcE6q856SKSWOpk2A8qkgrTjdZGZvGapMme/f2dxI3kGEdBVH/85QeB4KaZeNrv/y 7GO1NlPSpo2IQUNOKSBsw0yNmePeTeZCHKnlH7xEp82fNMePdpoEzCnQJ7Zb8/bV7PsE ggCFQmBebv8O7/7EfhxF9ae6zQ5WXhdW5V1/8ta7ToO4whK5cBO8etwGrLyUaYKXhvKg UjiQtykVHzCI7jEZ5G+hcUI7JMtJy/iqTW8goOoMGj+68rgXiWhrZqOsF7rU1DZDjiSg iUusPGIR5hJfxIa/99Y+z8subaAJqyKaN1nUQJ1zLhBPlDIYPM2G9CAXCuWK5HtwCKSS WEqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=E4pKFRQbiSaL9ZKbrNbTowWU8USbI5fmQxi6InoyZho=; fh=eLFpCbMi6xEuPqo8zUIBKmaxV5YGZ8Zs7VL7qSnxTTA=; b=w6Rd6gUJZsObNIaCezpdOPW6MtTT6LDRuXkYeLbcPcCywHYVF2qcQrIbD5w1HmHnvb DUt9J9H94+HIy1UFVmzNLqUq7l984N2xt+XxDl4P1OJwV63udTchuwDqQsHBU5ujSBBo S5op/wL/OyMBT1CYVIxQwBnE5bboI2jiSHI5G7WKsoxf4ln8A3e2Sb0zZanEXM3cfnWe zInIvJL0rt3GsNwzn+3If/c5VR1KoA/q5DbW5Q20HJOvAqBY/NEssD2JdCrK0b2+T1Ne XxFoVxmqStTFqClHOJWxr1x4hrl0suMBZysTHNx0oVx5kg3JUuAd1OtHCebhpyOxcPJ2 grpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IOSC0IIb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id b22-20020a656696000000b005b92a7d88e6si4883130pgw.823.2023.10.30.07.11.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 07:11:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IOSC0IIb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id C58AD80ACFC5; Mon, 30 Oct 2023 07:11:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231577AbjJ3OLi (ORCPT + 99 others); Mon, 30 Oct 2023 10:11:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231598AbjJ3OLd (ORCPT ); Mon, 30 Oct 2023 10:11:33 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 076CAD6 for ; Mon, 30 Oct 2023 07:11:31 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5401bab7525so7637209a12.2 for ; Mon, 30 Oct 2023 07:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1698675088; x=1699279888; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=E4pKFRQbiSaL9ZKbrNbTowWU8USbI5fmQxi6InoyZho=; b=IOSC0IIb0Tx/CSpf3tkeq9dQF+Mf+x2f5rrIxPWMbvSe5eBLGwDUYOHv31G0Fu+Mai eNuQlhEKDVKYbSnYZtSjLOP+uah0Dy+VQfaaTFEUIQ/30YYxU3FrLBiorVTgYVkq09rp HM0Nz3C98QU8jN+qTub8OZ2GCE9dLMYVPjla0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698675088; x=1699279888; h=content-transfer-encoding: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=E4pKFRQbiSaL9ZKbrNbTowWU8USbI5fmQxi6InoyZho=; b=vuKkzdP8Jz+4c1EgLA+c8chtd8Y3VmL10eHxYQOxIJMbQeip3YfVSW3HBtBsSSbVQ4 4AU9oybNqV8R+TNMiwWFA1oB3+bHRdFZF5iRddTn+CPMphohKRW2bPHkImtyZYHErgFn Hk1VnerUrPK8rMRZC17J+NeN2OLhSKYZragLoh/9n8dnMaaUSCbB7XhpVD7Px9RhncJd Wv9ljNZBZEnlv0SeH5cdhR73t2QQ3UuEQnbeiERBWrr2FHl4+1T2iUjv8iY1+zBjyzia LRR3W7EX93ipWjW2h7ra7smYrLud2K0paP70JSLJSt6Ekl1BKKHT4ZV4H1zBr2Si72bI LX/Q== X-Gm-Message-State: AOJu0Yzoyn10yRPu3I+okdQeAduMYYraXZu7UXU7kkwihesTvAdCgXR9 sc2vnnk1fZvYFuuWE86lwkB6xny9SautwoLnj66XiQ== X-Received: by 2002:a05:6402:3588:b0:540:12fc:ed32 with SMTP id y8-20020a056402358800b0054012fced32mr9687840edc.14.1698675088369; Mon, 30 Oct 2023 07:11:28 -0700 (PDT) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com. [209.85.128.45]) by smtp.gmail.com with ESMTPSA id f18-20020a50a6d2000000b00540e894609dsm6224960edc.17.2023.10.30.07.11.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Oct 2023 07:11:27 -0700 (PDT) Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-408c6ec1fd1so93135e9.1 for ; Mon, 30 Oct 2023 07:11:27 -0700 (PDT) X-Received: by 2002:a05:600c:5128:b0:3f7:3e85:36a with SMTP id o40-20020a05600c512800b003f73e85036amr116810wms.7.1698675087168; Mon, 30 Oct 2023 07:11:27 -0700 (PDT) MIME-Version: 1.0 References: <20231027-sc7280-remoteprocs-v1-0-05ce95d9315a@fairphone.com> <20231027-sc7280-remoteprocs-v1-7-05ce95d9315a@fairphone.com> <7934a36a-9438-719a-2ed0-4a78757b044b@quicinc.com> In-Reply-To: From: Doug Anderson Date: Mon, 30 Oct 2023 07:11:07 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 7/9] arm64: dts: qcom: sc7280: Add CDSP node To: Luca Weiss Cc: Mukesh Ojha , Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , cros-qcom-dts-watchers@chromium.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , =?UTF-8?Q?Matti_Lehtim=C3=A4ki?= , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Mon, 30 Oct 2023 07:11:47 -0700 (PDT) Hi, On Mon, Oct 30, 2023 at 2:12=E2=80=AFAM Luca Weiss wrote: > > On Mon Oct 30, 2023 at 10:04 AM CET, Mukesh Ojha wrote: > > > > > > On 10/27/2023 7:50 PM, Luca Weiss wrote: > > > Add the node for the ADSP found on the SC7280 SoC, using standard > > > Qualcomm firmware. > > > > > > The memory region for sc7280-chrome-common.dtsi is taken from msm-5.4 > > > yupik.dtsi since the other areas also seem to match that file there, > > > though I cannot be sure there. > > > > > > Signed-off-by: Luca Weiss > > > --- > > > arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi | 5 + > > > arch/arm64/boot/dts/qcom/sc7280.dtsi | 138 ++++++++++= +++++++++++ > > > 2 files changed, 143 insertions(+) > > > > > > diff --git a/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi b/arc= h/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi > > > index eb55616e0892..6e5a9d4c1fda 100644 > > > --- a/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi > > > +++ b/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi > > > @@ -29,6 +29,11 @@ adsp_mem: memory@86700000 { > > > no-map; > > > }; > > > > > > + cdsp_mem: memory@88f00000 { > > > + reg =3D <0x0 0x88f00000 0x0 0x1e00000>; > > > + no-map; > > > + }; > > > + > > > > Just a question, why to do it here, if chrome does not use this ? > > Other memory regions in sc7280.dtsi also get referenced but not actually > defined in that file, like mpss_mem and wpss_mem. Alternatively we can > also try and solve this differently, but then we should probably also > adjust mpss and wpss to be consistent. > > Apart from either declaring cdsp_mem in sc7280.dtsi or > "/delete-property/ memory-region;" for CDSP I don't really have better > ideas though. > > I also imagine these ChromeOS devices will want to enable cdsp at some > point but I don't know any plans there. Given that "remoteproc_cdsp" has status "disabled" in the dtsi, it feels like the dtsi shouldn't be reserving memory. I guess maybe memory regions can't be status "disabled"? -Doug