linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
	Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
	Russell King <linux@arm.linux.org.uk>,
	Jason Cooper <jason@lakedaemon.net>,
	Olof Johansson <olof@lixom.net>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Gregory Clement <gregory.clement@free-electrons.com>,
	Sebastien Requiem <sebastien@kolios.dk>
Subject: Re: [PATCH 5/6] ARM: dove: Remove watchdog from DT
Date: Tue, 25 Sep 2012 11:20:53 +0000	[thread overview]
Message-ID: <201209251120.54255.arnd@arndb.de> (raw)
In-Reply-To: <20120925103141.GG27099@lunn.ch>

On Tuesday 25 September 2012, Andrew Lunn wrote:
> On Tue, Sep 25, 2012 at 12:14:39PM +0200, Thomas Petazzoni wrote:
> > On Tue, 25 Sep 2012 11:46:10 +0200, Andrew Lunn wrote:
> > 
> > > I principle, i agree. However, i'm not too sure about mach-orion5x &
> > > mach-mv78xx0. orion5x has probably been broken since -rc1 was released
> > > and nobody noticed. In the same time, we got around 5 people
> > > independently reporting kirkwood was broken. We have not received any
> > > new boards for orion5x in the time i've been looking at Orion
> > > platforms. mv78xx0 only has one board which is not a Marvell reference
> > > design. So im tempted to not spend any effort moving orion5x or
> > > mv78xx0 to DT unless these actually hinder the effort of moving the
> > > others to DT.  What may make sense is to flatten mv78xx0 and orion5x
> > > into plat-orion and then just watch the bit-rot happen.
> > 
> > I'll try to see if I can get people from LaCie to test mach-orion5x as
> > I have a few contacts there, and I'll contact Marvell to see if they can
> > still provide Orion-based platforms.
> 
> Marvell supplied my one one reference platform. So i can do some
> testing that the basic infrastructure works.
> 
> But the problem with converting to DT is that there is a lot of
> brainless monkey work needed per supported board, and its very easy to
> make a typo. So each board converted to DT needs testing. I don't know
> if we can find testers for all the boards. But should we throw out
> working boards just because we cannot find somebody to test the DT
> version?

We can throw them out in a staged process. I think the first step should
be ensuring that the platform support works on one (or better a few)
board reliably, and merge support for that into mach-mvebu but leave
the other ~20 board files in mach-orion5x without spending too much work
on them. Whether that means pinctrl support for mach-orion5x is a something
you need to figure out.

The next step would be to label mach-orion5x as deprecated in Kconfig for
a release and change the help text so it tells people to move to mach-mvebu
and submit dts files.

After that, we can leave mach-orion5x in the kernel for another release but
completely disable the option to enable it in Kconfig as a last warning.
This means anyone who is using it will have to move on or talk to us about
extending the transition period.

Finally, we remove mach-orion5x. Hopefully by that time, everyone who is
using it will have contributed a dts file for it.

> > Regarding mv78xx0, I agree that I'm not sure what to do. The number of
> > supported platforms is small. Should we simply mark mv78xx0 deprecated
> > now, wait a few release cycles to see if anyone shows up, and see what
> > to do at this point?

We should let Sebastien Requiem comment. He is the only person outside of
Marvell who has contributed a board file for mv78xx0. If he's interested in
keeping it alive, he's hopefully also able to find the time to test the
devicetree version of that platform in mach-mvebu. Similarly, if anyone
has the MASA reference design, that one could be moved over to mach-mvebu
first.

There is a much smaller user base for mv78xx0 than for orion5x, so as long
as we can keep the support working with DT, we can throw out the legacy
code much faster than for orion. If it doesn't get put into mach-mvebu
and you can't find anyone who has hardware to test on, you could also
stop maintaining it and leave it to bitrot, but I wouldn't just remove it
on a fast track then.

	Arnd

  reply	other threads:[~2012-09-25 11:21 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-25  0:02 [PATCH 0/6] Dove fixes for arm-soc/for-next Sebastian Hesselbarth
2012-09-25  0:02 ` [PATCH 1/6] ARM: dove: Add pcie clock support Sebastian Hesselbarth
2012-09-25  0:02 ` [PATCH 2/6] ARM: dove: Fix tauros2 device tree init Sebastian Hesselbarth
2012-09-25  1:22   ` Sebastian Hesselbarth
2012-09-25  5:19     ` Andrew Lunn
2012-09-25  8:56       ` Sebastian Hesselbarth
2012-09-25  0:02 ` [PATCH 3/6] ARM: dove: Fix clock names of sata and gbe Sebastian Hesselbarth
2012-09-25  0:02 ` [PATCH 4/6] ARM: dove: Restructure SoC device tree descriptor Sebastian Hesselbarth
2012-09-25  0:02 ` [PATCH 5/6] ARM: dove: Remove watchdog from DT Sebastian Hesselbarth
2012-09-25  5:35   ` Andrew Lunn
2012-09-25  9:11     ` Sebastian Hesselbarth
2012-09-25  9:18       ` Thomas Petazzoni
2012-09-25  9:46         ` Andrew Lunn
2012-09-25 10:14           ` Thomas Petazzoni
2012-09-25 10:31             ` Andrew Lunn
2012-09-25 11:20               ` Arnd Bergmann [this message]
2012-09-25 11:48                 ` Arnaud Patard
2012-09-25 12:28                   ` Arnd Bergmann
2012-09-25 12:33                 ` Arnd Bergmann
     [not found]                   ` <CABLWKA9NjX0+cQZGBOGus99fFkcpwjPxnhmsBuZBz50VbxXyvw@mail.gmail.com>
2012-09-25 20:02                     ` Arnd Bergmann
2012-09-25  0:02 ` [PATCH 6/6] ARM: dove: Add crypto engine to DT Sebastian Hesselbarth
2012-09-25  5:37 ` [PATCH 0/6] Dove fixes for arm-soc/for-next Andrew Lunn

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=201209251120.54255.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=andrew@lunn.ch \
    --cc=gregory.clement@free-electrons.com \
    --cc=jason@lakedaemon.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=olof@lixom.net \
    --cc=sebastian.hesselbarth@gmail.com \
    --cc=sebastien@kolios.dk \
    --cc=thomas.petazzoni@free-electrons.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).