Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4779051rwl; Mon, 3 Apr 2023 09:26:11 -0700 (PDT) X-Google-Smtp-Source: AKy350Zjeeo/CIutauertqWvJ2QdmQZzqpTYtCTF7IEKQQGYCPLvojl5SasvPmW93ugSMCGIVOgn X-Received: by 2002:a17:902:ce92:b0:1a2:1042:cadc with SMTP id f18-20020a170902ce9200b001a21042cadcmr42549104plg.18.1680539171467; Mon, 03 Apr 2023 09:26:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680539171; cv=none; d=google.com; s=arc-20160816; b=AkXM8tEP/MZQ47csSzWCBh/Sl82RFEEX0tpbinApm2ieqbfB7E62YqfTA4/lNsS9rs ShnF25mkNWMyx6jI8JnGcVe19a4xATt7jKmPr/YCRPR2qY9wXJpvHZ8PkEb7xq+ltgRV 2YTqj/ZxvX75BflrecvWYU4K6JYRg+TI1z8YV1ZDcviRSCnJGc+7Ad0usmQnyTA8sRcW 7eZ1vzdm6Ot2mqf9Lm+HZ9zk1wynoWp0mPXxHgfDschBXcQ+Q0Nnxw/mFdPfwC9pHhIa Vms2zNWYruXjpPOmsOKZaDV7NiiGrk1XUoq7FUha7HjnjFUa2RMhqRZ+xn+1yuOKJbS4 jIcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=IqsGAlOKDgMXPJVdU76RuqgAlnJFlh/BsAIGdRjS90w=; b=qMAc1sf2JWjIT4ZhAGGfjdLof5rc/HH6UhU5csrOIaTLSBN8YcoSsUndhKUf/yYqW7 qmG9DWND2QoGgUfBZCbtAH19NBaGor6y0eqzsdbBCdrdCsOGU6aoY4BsMi1LSbvPapsX fBYweRO7LAFguceQbcz9oKVhn6INw3eNTYY43GbidrHWKgKThOH2megAP29SyrBjjreV tR5MKphl2eknyjjSIXYq+zhfbVh2Hb1N+Zrl9bHrHkMcV5a/8uA4vYo6hd/N1KE+y4TL k5XOvwRoGcYdYiao3DrhzSV25YKXC1M+Lwic+3vjeR+UqmaKdGYZS1ApjMwNxziXNuMN VtTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=ed3eIAsM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j12-20020a170902690c00b001a179347bf6si7783622plk.474.2023.04.03.09.25.58; Mon, 03 Apr 2023 09:26:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@dylanvanassche.be header.s=MBO0001 header.b=ed3eIAsM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=dylanvanassche.be Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231822AbjDCQWa (ORCPT + 99 others); Mon, 3 Apr 2023 12:22:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231626AbjDCQW3 (ORCPT ); Mon, 3 Apr 2023 12:22:29 -0400 Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [IPv6:2001:67c:2050:0:465::101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 031041FFE; Mon, 3 Apr 2023 09:22:28 -0700 (PDT) Received: from smtp2.mailbox.org (unknown [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4Pqx4c1Qtvz9sVx; Mon, 3 Apr 2023 18:22:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dylanvanassche.be; s=MBO0001; t=1680538944; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IqsGAlOKDgMXPJVdU76RuqgAlnJFlh/BsAIGdRjS90w=; b=ed3eIAsMaw7HSDsIraOG/6swtIGagh0B7aDeFpe0V+pjj2REcr18/V4lnKXa7TK3kmCUIw lZnFECbfEN9ZMbC1TrV00ameGHAjiJJ5FSM5rxCKJ659mWsFHenvwExwsIVLBnzBnOsKZL oxQ6x8SD/m47IWQiMOcZpEQOMP1NAlvWZGP8I20A/JaCJ7zgPFlOASVo57uZZ2za1yWz5+ 4yazb8Ixs52uSotRPZba17we9dHvgNLRBT3bKuVNgr7rhuFldZ/8N4jMhH4je3GNmKxtns LcwANuEyTX7BOJUjrpHNg5UINsqMR/5WNZSKgjF21/M8fBvt2f5+O0l57xWNmw== Message-ID: <744f2ddc80ba9d9216ecd90b97e08aa5bd5452cd.camel@dylanvanassche.be> Subject: Re: [PATCH v4 4/6] dts: qcom: arm64: qcom: sdm845: use defines for VMIDs From: Dylan Van Assche To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: Konrad Dybcio , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org Date: Mon, 03 Apr 2023 18:22:21 +0200 In-Reply-To: References: <20230401173523.15244-1-me@dylanvanassche.be> <20230401173523.15244-5-me@dylanvanassche.be> <2d9d001f14036caf4f6d47448d4d2fdb0b188101.camel@dylanvanassche.be> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, 2023-04-03 at 17:47 +0200, Krzysztof Kozlowski wrote: > On 03/04/2023 17:32, Dylan Van Assche wrote: > > Hi Krzysztof, > >=20 > > On Mon, 2023-04-03 at 11:20 +0200, Krzysztof Kozlowski wrote: > > > On 01/04/2023 19:35, Dylan Van Assche wrote: > > > > Use VMID defines for SLPI's FastRPC node in the Qualcomm SDM845 > > > > DTS > > > > instead of hardcoded magic values. > > > >=20 > > > > Signed-off-by: Dylan Van Assche > > > > --- > > > > =C2=A0arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 +++- > > > > =C2=A01 file changed, 3 insertions(+), 1 deletion(-) > > > >=20 > > > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi > > > > b/arch/arm64/boot/dts/qcom/sdm845.dtsi > > > > index 1f25a7f4e02b..dc4b553cbe2e 100644 > > > > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > > > > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > > > > @@ -13,6 +13,7 @@ > > > > =C2=A0#include > > > > =C2=A0#include > > > > =C2=A0#include > > > > +#include > > > > =C2=A0#include > > > > =C2=A0#include > > > > =C2=A0#include > > > > @@ -3372,7 +3373,8 @@ fastrpc { > > > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2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> > > 0x6>; > > >=20 > > > Didn't you just add it in previous patch? Don't add incorrect > > > code > > > which > > > you immediately change. > > >=20 > >=20 > > Both are similar, the code is in fact the same. I followed what > > Konrad > > suggested in v3 to make a patch on top: >=20 > I don't understand. Device nodes are similar, but they are different? > If > you add a line in patch X and change it in patch X+1, then something > is > wrong. Isn't this the case here or these are different device nodes? >=20 They are the same node. In the original patch the values are hex values, but Konrad asked to make a patch on top depending on the qcom scm header which has these magic hex values with defines. I can make the defines as default, no problem. Will do in v5. Kind regards, Dylan >=20 > Best regards, > Krzysztof >=20