Message ID | 20221122203635.v2.1.Ie05fd439d0b271b927acb25c2a6e41af7a927e90@changeid |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2178509wrr; Tue, 22 Nov 2022 04:47:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf7LYMPw8+hNX7KrNrmEI4Ei9tNRUUU6HL1b2prHLMAyLGVWm5dd7WYes0pr80n5S8e7ZCN5 X-Received: by 2002:a17:906:130b:b0:7ad:92c5:637a with SMTP id w11-20020a170906130b00b007ad92c5637amr19682365ejb.87.1669121226776; Tue, 22 Nov 2022 04:47:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669121226; cv=none; d=google.com; s=arc-20160816; b=x8civ4wFKB3fTQqu16GLYNEg9Di3Uc5irKmmv2pBX1wIP1FqRQoh0NQyXel9H9L/AP xU5kj5g1iK7XJ5q5WlL6JvM+ZM2sZjhIkhFf1S00+O5sNMQf3QimN1wyTp2PPquRqVcp cNpQcWrolPn05tvDvM7gtlCLFSrfSoBizV4KjXI40iIKwzbJt/rAWPkh90R/uqgJd7Wo CegjwlVuMFM3haD6nywy5Np9Nf02mtWOt/RK9trWEm7tt1TncJqzMW7ukx0tbfZc8iF2 MegpA744SH3ciFYRa1sj2bu5e0MQ/gD/OUSzvL9k1zI4tny1dzM0hQgXalY6VmPiodqS 6w7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=E8qg/emDfEgOySeeVTva6i4SFez57cE7nt0Z+zXTENo=; b=n0g78cQhP3fyMog6bj5jVjyDq2y/g6MLeXuLBajr1VuhknfgLiSZxP1Qh6MgREjeLq lC0MFOMk5temYBzyjK3Fsjt1f5CPrb4xw9/oBF9X5JnVssbHuzBNyR60Cs9YEpf7842I ZPx+Vuu5ClGH9+PXbue8/BCzwgIjyRTVyWItn+nNUMddat9WdW6jSUVZm9ZNJ6TSfQWQ J5KmJcOYpoT7BvwPUe2B6AZVoNNlQAfKelXg/mhHRa4gJmuSDbLQ3N9t4I3W9kcNAGYS q44jkMnZH9wGVB2jpH0jcTBj3GEXKfZdssWLWCqgn4YPJNw8qn+ZMO8WMvme2W400msT La4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZfN9ijY8; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k20-20020aa7d2d4000000b00461c43d1113si6931830edr.569.2022.11.22.04.46.43; Tue, 22 Nov 2022 04:47:06 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=ZfN9ijY8; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232816AbiKVMhU (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Tue, 22 Nov 2022 07:37:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232214AbiKVMhQ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 22 Nov 2022 07:37:16 -0500 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 363F35B5B4; Tue, 22 Nov 2022 04:37:15 -0800 (PST) Received: by mail-pl1-x62a.google.com with SMTP id d20so13477115plr.10; Tue, 22 Nov 2022 04:37:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=E8qg/emDfEgOySeeVTva6i4SFez57cE7nt0Z+zXTENo=; b=ZfN9ijY8CiymIyiytlLYgQc6qmX2hPUTX94btYZsDj9Yo2H/d2zLJHQYl6lavFfOFU Ptd9OCP1dC6+WH4dqskZdPkayXLtoxZ9UX9CjeDhLQt8eXUdJ7iLWdM27kgozSUTgIfL 2RihHRemghE8F/ND+bBl0csBa3wyymosHAWeyoYGRE9Y1p03Eu0yXuEFSdwvdfd9a1S/ 13uIFA/47iDFrwoHF1BMVyLh04dXbA8xb5m6jCkdtnI6TcP4zePyCJsmtCGbmyGeiTxx VnwaGzwB5b+4bwrUBa1bKffoRH7O8AwJPt0aYGd6QfYmwCn3+qHTfDFKraOvP/W8KrXe /LiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=E8qg/emDfEgOySeeVTva6i4SFez57cE7nt0Z+zXTENo=; b=33ciT0hABqnINE2fD/sOvYjQzwDNNINMmLUCeBAyqcFejYt4LJYfxJuknSApqdvxQk 6+0OEnFfeDUisPrOWCHQj+dAkyUUFHMgzc+5+iboxKQExLYDnEWKVBgihQ/wkxlldgHh kP5snnzfko9rtf2jl9JyxJpFUZ/FYhZ47ZqcLnbEVT4h5RTL2Ww1Dpzhmi9s0XwO17mo Xfkgtd+NtaTCrZn6OfrvVCBXi6AyiOOOB7WBNmUAdL2CnOAfg6paM1uzW2c7lvsAybGW jQy2wSBvqjx38SIAWqa9QMyNRFUFF+URMRD1Zygi6yfTu+4wKgEYsNTwAIYye8TUq0OD u1nw== X-Gm-Message-State: ANoB5plPm/yxSopCEY66/K6iyfkecxGfbjRPiQjQp5ZLETXSTsK6//dV YHXoW0CKuD6Tupwpei4UUZQqOPkj+9U= X-Received: by 2002:a17:902:f7cc:b0:188:d4ea:2568 with SMTP id h12-20020a170902f7cc00b00188d4ea2568mr3958840plw.14.1669120634299; Tue, 22 Nov 2022 04:37:14 -0800 (PST) Received: from localhost.localdomain (2001-b400-e2d2-0afd-2169-5d09-2570-7e89.emome-ip6.hinet.net. [2001:b400:e2d2:afd:2169:5d09:2570:7e89]) by smtp.gmail.com with ESMTPSA id z68-20020a623347000000b00573eb4a9a66sm1699948pfz.2.2022.11.22.04.37.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 04:37:13 -0800 (PST) From: Owen Yang <ecs.taipeikernel@gmail.com> To: LKML <linux-kernel@vger.kernel.org> Cc: Douglas Anderson <dianders@chromium.org>, Bob Moragues <moragues@chromium.org>, Harvey <hunge@google.com>, Stephen Boyd <swboyd@chromium.org>, Owen Yang <ecs.taipeikernel@gmail.com>, Andy Gross <agross@kernel.org>, Bjorn Andersson <bjorn.andersson@linaro.org>, Rob Herring <robh+dt@kernel.org>, Stephen Boyd <sboyd@codeaurora.org>, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: arm: qcom: Adding DT binding for zombie Date: Tue, 22 Nov 2022 20:37:02 +0800 Message-Id: <20221122203635.v2.1.Ie05fd439d0b271b927acb25c2a6e41af7a927e90@changeid> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750200459864933324?= X-GMAIL-MSGID: =?utf-8?q?1750200459864933324?= |
Series |
[v2,1/2] dt-bindings: arm: qcom: Adding DT binding for zombie
|
|
Commit Message
Owen Yang
Nov. 22, 2022, 12:37 p.m. UTC
Add an entry in the device tree binding for sc7280-zombie.
Documentation/devicetree/bindings/arm/qcom.yaml
Signed-off-by: Owen Yang <ecs.taipeikernel@gmail.com>
---
Changes in v2:
- Move binding item to Google series bottom.
- Modify DT file for zombie.
Documentation/devicetree/bindings/arm/qcom.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
Comments
On Tue, Nov 22, 2022 at 08:37:02PM +0800, Owen Yang wrote: > Add an entry in the device tree binding for sc7280-zombie. nit: s/an entry/entries/ (there are two of them) > > Documentation/devicetree/bindings/arm/qcom.yaml Drop this > > Signed-off-by: Owen Yang <ecs.taipeikernel@gmail.com> > --- > > Changes in v2: > - Move binding item to Google series bottom. > - Modify DT file for zombie. > > Documentation/devicetree/bindings/arm/qcom.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml > index c15a729a6852..f617923f7485 100644 > --- a/Documentation/devicetree/bindings/arm/qcom.yaml > +++ b/Documentation/devicetree/bindings/arm/qcom.yaml > @@ -538,6 +538,16 @@ properties: > - const: google,villager-sku512 > - const: qcom,sc7280 > > + - description: Google Zombie (newest rev) > + items: > + - const: google,zombie > + - const: qcom,sc7280 > + > + - description: Google Zombie with LTE (newest rev) > + items: > + - const: google,zombie-sku512 > + - const: qcom,sc7280 > + > - items: > - enum: > - xiaomi,lavender > -- > 2.17.1 >
On which tree is this series based? My earlier reply bounced for Bjorn's old Linaro e-mail address, which suggests that the series might be based on an older kernel tree (maybe downstream Chrome OS v5.15?). Please make sure to base patches to upstream lists on the corresponding maintainer tree/branch or a recent kernel version/rc. On Tue, Nov 22, 2022 at 08:37:02PM +0800, Owen Yang wrote: > Add an entry in the device tree binding for sc7280-zombie. > > Documentation/devicetree/bindings/arm/qcom.yaml > > Signed-off-by: Owen Yang <ecs.taipeikernel@gmail.com> > --- > > Changes in v2: > - Move binding item to Google series bottom. > - Modify DT file for zombie. > > Documentation/devicetree/bindings/arm/qcom.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml > index c15a729a6852..f617923f7485 100644 > --- a/Documentation/devicetree/bindings/arm/qcom.yaml > +++ b/Documentation/devicetree/bindings/arm/qcom.yaml > @@ -538,6 +538,16 @@ properties: > - const: google,villager-sku512 > - const: qcom,sc7280 > > + - description: Google Zombie (newest rev) > + items: > + - const: google,zombie > + - const: qcom,sc7280 > + > + - description: Google Zombie with LTE (newest rev) > + items: > + - const: google,zombie-sku512 > + - const: qcom,sc7280 > + > - items: > - enum: > - xiaomi,lavender > -- > 2.17.1 >
On Wed, Nov 23, 2022 at 02:02:38PM +0800, 楊宗翰 wrote: > Hi Matthias , > > When I run "patman" still get warning "<patch>:36: warning: added, moved or > deleted file(s), does MAINTAINERS need updating?" The warning is expected because you added new files. In this case you can ignore it as it isn't expected that you become the maintainer of the new zombie DT files. > And I screenshot my "git gui" as below(attachment "git_gui_screenshot.jpg"): > [image.png] > > The latest git log info as below: > --- > commit 4d2b529bce125b83c546aebbc36ecedf76dfc55e (linux_qcom/for-next) > Merge: 9abf2313adc1 c03fa428ac6e afcd946be11c aec5f36cf676 cea42b8d7966 > aa9f474014b1 37b5e8c48b9d cadaa773bcf1 > Author: Bjorn Andersson <andersson@kernel.org> > Date:  Tue Nov 15 11:45:55 2022 -0600 > >   Merge branches 'arm64-defconfig-for-6.2', 'arm64-for-6.2', 'clk-for-6.2', > 'defconfig-for-6.2', 'drivers-for-6.2', 'dts-for-6.2' and 'arm64-fixes-for-6.1' > into for-next > --- > > My checkout steps as below: > $ git remote add linux_qcom git://git.kernel.org/pub/scm/linux/kernel/git/ > qcom/linux.git > $ git fetch --no-tags linux_qcom > $ git checkout -b <MyLocalBranchName> linux_qcom/for-next > > Is my code base branch still worng? Am I missing something? My understanding is that it is best to base you changes on a branch like 'arm64-for-6.2' as the 'for-next' branch is re-created every time changes land in one of the '${area}-for-${version}' branches. No big issue in this case, just use the corresponding '${area}-for-${version}' branch for future patches/versions :) > The attachment is "0001-dt-bindings-arm-qcom-Adding-DT-binding-for- > zombie.patch" patch file, >  I have drop "Documentation/devicetree/bindings/arm/qcom.yaml" as your advice. > > Matthias Kaehlcke <mka@chromium.org> æ¼ 2022å¹´11æ22æ¥ é±äº æä¸10: > 28寫éï¼ > On which tree is this series based? My earlier reply bounced for > Bjorn's > old Linaro e-mail address, which suggests that the series might be > based > on an older kernel tree (maybe downstream Chrome OS v5.15?). Please > make > sure to base patches to upstream lists on the corresponding > maintainer > tree/branch or a recent kernel version/rc. > > On Tue, Nov 22, 2022 at 08:37:02PM +0800, Owen Yang wrote: > > Add an entry in the device tree binding for sc7280-zombie. > > > > Documentation/devicetree/bindings/arm/qcom.yaml > > > > Signed-off-by: Owen Yang <ecs.taipeikernel@gmail.com> > > --- > > > > Changes in v2: > > - Move binding item to Google series bottom. > > - Modify DT file for zombie. > > > > Documentation/devicetree/bindings/arm/qcom.yaml | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/ > Documentation/devicetree/bindings/arm/qcom.yaml > > index c15a729a6852..f617923f7485 100644 > > --- a/Documentation/devicetree/bindings/arm/qcom.yaml > > +++ b/Documentation/devicetree/bindings/arm/qcom.yaml > > @@ -538,6 +538,16 @@ properties: > >      - const: google,villager-sku512 > >      - const: qcom,sc7280 > > > > +   - description: Google Zombie (newest rev) > > +    items: > > +     - const: google,zombie > > +     - const: qcom,sc7280 > > + > > +   - description: Google Zombie with LTE (newest rev) > > +    items: > > +     - const: google,zombie-sku512 > > +     - const: qcom,sc7280 > > + > >    - items: > >      - enum: > >        - xiaomi,lavender > > -- > > 2.17.1 > >
Hi, On Wed, Nov 23, 2022 at 7:07 AM Matthias Kaehlcke <mka@chromium.org> wrote: > > > My checkout steps as below: > > $ git remote add linux_qcom git://git.kernel.org/pub/scm/linux/kernel/git/ > > qcom/linux.git > > $ git fetch --no-tags linux_qcom > > $ git checkout -b <MyLocalBranchName> linux_qcom/for-next > > > > Is my code base branch still worng? Am I missing something? > > My understanding is that it is best to base you changes on a branch like > 'arm64-for-6.2' as the 'for-next' branch is re-created every time changes > land in one of the '${area}-for-${version}' branches. > > No big issue in this case, just use the corresponding '${area}-for-${version}' > branch for future patches/versions :) FWIW, I usually just use Bjron's for-next branch for stuff like this. While the merge commits in the the Qualcomm "for-next" branch are re-created every time, because of the way "git" works the git hashes of the actual patches are the same as the git hashes of the patches in the separate branches. All the patches in "for-next" should be ones that are fine to base your patches on. -Doug
On Mon, Nov 28, 2022 at 08:20:36AM -0800, Doug Anderson wrote: > Hi, > > On Wed, Nov 23, 2022 at 7:07 AM Matthias Kaehlcke <mka@chromium.org> wrote: > > > > > My checkout steps as below: > > > $ git remote add linux_qcom git://git.kernel.org/pub/scm/linux/kernel/git/ > > > qcom/linux.git > > > $ git fetch --no-tags linux_qcom > > > $ git checkout -b <MyLocalBranchName> linux_qcom/for-next > > > > > > Is my code base branch still worng? Am I missing something? > > > > My understanding is that it is best to base you changes on a branch like > > 'arm64-for-6.2' as the 'for-next' branch is re-created every time changes > > land in one of the '${area}-for-${version}' branches. > > > > No big issue in this case, just use the corresponding '${area}-for-${version}' > > branch for future patches/versions :) > > FWIW, I usually just use Bjron's for-next branch for stuff like this. > While the merge commits in the the Qualcomm "for-next" branch are > re-created every time, because of the way "git" works the git hashes > of the actual patches are the same as the git hashes of the patches in > the separate branches. All the patches in "for-next" should be ones > that are fine to base your patches on. I had minor concerns that occasionally tools might get confused it they try to find the parent tree of a patch based on the unstable hash of the merge commit in "for-next". Not sure if it is much of an issue in practice.
Hi, On Mon, Nov 28, 2022 at 9:07 AM Matthias Kaehlcke <mka@chromium.org> wrote: > > On Mon, Nov 28, 2022 at 08:20:36AM -0800, Doug Anderson wrote: > > Hi, > > > > On Wed, Nov 23, 2022 at 7:07 AM Matthias Kaehlcke <mka@chromium.org> wrote: > > > > > > > My checkout steps as below: > > > > $ git remote add linux_qcom git://git.kernel.org/pub/scm/linux/kernel/git/ > > > > qcom/linux.git > > > > $ git fetch --no-tags linux_qcom > > > > $ git checkout -b <MyLocalBranchName> linux_qcom/for-next > > > > > > > > Is my code base branch still worng? Am I missing something? > > > > > > My understanding is that it is best to base you changes on a branch like > > > 'arm64-for-6.2' as the 'for-next' branch is re-created every time changes > > > land in one of the '${area}-for-${version}' branches. > > > > > > No big issue in this case, just use the corresponding '${area}-for-${version}' > > > branch for future patches/versions :) > > > > FWIW, I usually just use Bjron's for-next branch for stuff like this. > > While the merge commits in the the Qualcomm "for-next" branch are > > re-created every time, because of the way "git" works the git hashes > > of the actual patches are the same as the git hashes of the patches in > > the separate branches. All the patches in "for-next" should be ones > > that are fine to base your patches on. > > I had minor concerns that occasionally tools might get confused it they > try to find the parent tree of a patch based on the unstable hash of > the merge commit in "for-next". Not sure if it is much of an issue in > practice. It's a fair concern, but I don't _think_ it matters. I think git is smart enough to handle this in nearly all the cases and I think the cases where git can't handle it are cases where (perhaps) the for-next was the correct thing to use anyway. As a test: atop for-next: echo "foo" >> arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi git add -u git commit -m "add foo" git format-patch HEAD~ atop arm64-for-6.2: echo "foo" >> arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi git add -u git commit -m "add foo arm64" git format-patch HEAD~ If you diff the two patches created, you can see that they both contain "index" line. In my case: index 65601bea0797..b5c9f39737f6 100644 That appears to basically just show a hash of the affected file both before and after your patch. The merge commits and commits to other files don't affect this. Specifically, you can see this before making the change $ git hash-object -w arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi 65601bea07972e75cd1ac880bd43aa3dac62fb76 ...and after making the change: $ git hash-object -w arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi b5c9f39737f67e9ba0a115355ecf95df9a04dba7 So tl;dr is that as long as the files you're touching are identical in "for-next" and in a specific branch (like arm64-for-6.2) that the patch files created will actually be exactly the same because all they contain are the object hashes. You could also imagine the files being _not_ exactly the same. If two different branches touched the same file and were merged into "for-next" then it could make a difference. In that case, though, it would still at least be a plausible choice to post it against the "for-next" branch because that should represent the final state. -Doug
diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index c15a729a6852..f617923f7485 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -538,6 +538,16 @@ properties: - const: google,villager-sku512 - const: qcom,sc7280 + - description: Google Zombie (newest rev) + items: + - const: google,zombie + - const: qcom,sc7280 + + - description: Google Zombie with LTE (newest rev) + items: + - const: google,zombie-sku512 + - const: qcom,sc7280 + - items: - enum: - xiaomi,lavender