linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: Suman Anna <s-anna@ti.com>
Cc: devicetree@vger.kernel.org, Vignesh Raghavendra <vigneshr@ti.com>,
	Arnd Bergmann <arnd@arndb.de>, Dave Gerlach <d-gerlach@ti.com>,
	Tony Lindgren <tony@atomide.com>, Sekhar Nori <nsekhar@ti.com>,
	Kishon Vijay Abraham <kishon@ti.com>,
	Lokesh Vutla <lokeshvutla@ti.com>,
	Rob Herring <robh+dt@kernel.org>,
	Aswath Govindraju <a-govindraju@ti.com>,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v3 3/5] arm64: dts: ti: Add support for AM642 SoC
Date: Thu, 21 Jan 2021 15:18:51 -0600	[thread overview]
Message-ID: <20210121211851.muqqyhkmwhhz3mlm@password> (raw)
In-Reply-To: <13be7980-1ce8-bf7f-a6cf-7de6469a1b9b@ti.com>

On 14:42-20210121, Suman Anna wrote:
> On 1/21/21 2:13 PM, Nishanth Menon wrote:
> > On 13:57-20210121, Suman Anna wrote:
> >> This is all moot when your own tree doesn't boot properly. In this case, you are
> >> adding MMC nodes, but yet for a boot test, you are saying use linux-next for the
> >> nodes that were added or you need additional driver patches (which is not how
> >> maintainer-level trees are verified).
> > 
> > Get your facts straight please.
> > 
> > What do you mean does'nt boot? It does boot with initramfs which is
> > the minimum qual i had set for any new platform (along with. - your
> > need is for a device node to work - which is both a combination of
> > defconfig + driver updates.
> 
> And please re-read my first email, and what I started out with. I am not sure "I
> will pick MMC nodes, but the entry criteria is only initramfs, and you need
> additional patches to get MMC boot to work" is right. Normal thing to do is to
> take in the next merge cycle.

Sigh.

As I stated, the reason I prefer not to do that is because the drivers
will bit-rot for a kernel window without users. Why is it just MMC?

Start off with uart:

compatible = "ti,am64-uart", "ti,am654-uart";

That is not in v5.11-rc1 - it only works because driver is falling back
on the backward compatible nature of the device. The binding and driver
fixes are already on next.

MMC by itself wont boot unless the defconfig changes were merged in
upstream - and that was a painful choice to make to prevent the common Image
file from bloating too much..

I mean, is there a real concern that
https://lore.kernel.org/linux-devicetree/20201029065318.2437-1-vigneshr@ti.com/
or
https://lore.kernel.org/linux-devicetree/20210115193218.5809-1-grygorii.strashko@ti.com/
or ....

will be dropped, in which case, we should'nt introduce in the next
kernel version, so that also means that those drivers will remain as is
without users for a complete kernel cycle.

I am not saying there are'nt instances where things have happened..
these changes have been in next for sufficiently long cycles for that
NOT to happen. Without users, they can unfortunately break and no one
will be the wiser till we enable the nodes again.. That would be a waste
of everyone's time.


> >>
> >> Arnd,
> >> Can you please guide us here as to what is expected in general, given that the
> >> pull-request from Nishanth goes through you, and if there is some pre-existing
> >> norms around this?
> >>
> >> Tony,
> >> Appreciate your input as well since you probably have dealt with these kinda of
> >> dependencies on OMAP.
> > 
> > I am more than happy to drop this entire SoC off my queue (I am yet to
> > pick it up), which is probably what I will do.
> > 
> 
> You are the maintainer, do what feels right to you. You can as well wait for the
> MMC driver changes to be in, and then pick up the series next merge window. Or
> you can accept the versions without taking in pieces that have external
> dependencies.


Sure, I explained the rationale, you are adamant on not being convinced,
without a counter reason - what is the breakage here that you can see
when merged through to rc1 target OR to linux-next?

And maybe doing some thing like this will help on (say on arm-soc PR in
5.11?)

 for f in `git diff v5.10-rc3..|diffstat|cut -d '|' -f1 |tr -d ' '|grep dts$|sed -e "s/^b/./g"`; do ./scripts/checkpatch.pl -f $f |grep compatible; done


At all points in time, nodes are just inactive if the driver is
disabled for some reason (either the driver is not enabled or the
binding changes are not in) - they are never broken, Boot is not
broken (a function is broken when that function support exists in
Image file AND dts node for some reason results in that function
not working) - yes, someone can claim NFS boot is broken or WIFI is
brokken when NFS boot or WIFI is not even introduced. etc.

If I go by the strictest rules, then I cannot even introduce a bugfix
which involves dts via arm-soc dts pull request since the dependencies
of erratum and property enabling the erratum all should come from the
subsystem trees.

Drivers being broken is not in anyone's interest. They tend to get
broken if there are no active users.. let us release often and test
often.. and I believe there is plenty of precedence in doing this
already - if there is a risky property, OK fine, lets discuss about it.

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2021-01-21 21:20 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-20 20:25 [PATCH v3 0/5] arm64: Initial support for Texas Instruments AM642 Platform Dave Gerlach
2021-01-20 20:25 ` [PATCH v3 1/5] dt-bindings: arm: ti: Add bindings for AM642 SoC Dave Gerlach
2021-01-20 20:25 ` [PATCH v3 2/5] dt-bindings: pinctrl: k3: Introduce pinmux definitions for AM64 Dave Gerlach
2021-01-20 20:50   ` Suman Anna
2021-01-25 14:39   ` Nishanth Menon
2021-02-09  2:34   ` Rob Herring
2021-01-20 20:25 ` [PATCH v3 3/5] arm64: dts: ti: Add support for AM642 SoC Dave Gerlach
2021-01-20 22:04   ` Nishanth Menon
2021-01-21 17:25   ` Suman Anna
2021-01-21 17:46     ` Nishanth Menon
2021-01-21 18:13       ` Suman Anna
2021-01-21 18:39         ` Nishanth Menon
2021-01-21 19:57           ` Suman Anna
2021-01-21 20:13             ` Nishanth Menon
2021-01-21 20:42               ` Suman Anna
2021-01-21 21:18                 ` Nishanth Menon [this message]
2021-01-21 22:57                   ` Suman Anna
2021-01-22 11:23             ` Arnd Bergmann
2021-01-22 13:00               ` Tony Lindgren
2021-01-25 14:16                 ` Nishanth Menon
2021-01-25 22:48   ` Suman Anna
2021-01-25 23:02     ` Suman Anna
2021-01-20 20:25 ` [PATCH v3 4/5] arm64: dts: ti: k3-am64-main: Enable DMA support Dave Gerlach
2021-01-20 20:25 ` [PATCH v3 5/5] arm64: dts: ti: Add support for AM642 EVM Dave Gerlach
2021-01-25 16:44   ` Suman Anna

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210121211851.muqqyhkmwhhz3mlm@password \
    --to=nm@ti.com \
    --cc=a-govindraju@ti.com \
    --cc=arnd@arndb.de \
    --cc=d-gerlach@ti.com \
    --cc=devicetree@vger.kernel.org \
    --cc=kishon@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=lokeshvutla@ti.com \
    --cc=nsekhar@ti.com \
    --cc=robh+dt@kernel.org \
    --cc=s-anna@ti.com \
    --cc=tony@atomide.com \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).