mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
To: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Olof Johansson <olof@lixom.net>, Arnd Bergmann <arnd@arndb.de>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Emilio Lopez <emilio@elopez.com.ar>,
	Russell King - ARM Linux <linux@arm.linux.org.uk>
Subject: Re: [PATCH 0/2] ARM: sunxi: Convert DTSI to new CPU bindings
Date: Sat, 29 Jun 2013 20:03:06 +0100	[thread overview]
Message-ID: <20130629190306.GA7533@e102568-lin.cambridge.arm.com> (raw)
In-Reply-To: <20130629180730.GI2593@lukather>

On Sat, Jun 29, 2013 at 07:07:30PM +0100, Maxime Ripard wrote:
> On Fri, Jun 28, 2013 at 10:45:12PM +0100, Lorenzo Pieralisi wrote:
> > On Fri, Jun 28, 2013 at 09:05:42PM +0100, Olof Johansson wrote:
> > > On Fri, Jun 28, 2013 at 1:03 PM, Maxime Ripard
> > > <maxime.ripard@free-electrons.com> wrote:
> > > > On Fri, Jun 28, 2013 at 06:15:32PM +0100, Lorenzo Pieralisi wrote:
> > > >> On Fri, Jun 28, 2013 at 05:44:02PM +0100, Maxime Ripard wrote:
> > > >> > Hi Arnd, Olof,
> > > >> >
> > > >> > Sorry for steping in so late, but these two patches fixes a warning
> > > >> > introduced by the commit 1ba9bf0a (ARM: 7762/1: kernel: fix
> > > >> > arm_dt_init_cpu_maps() to skip non-cpu nodes) after 3.10-rc7.
> > > >> >
> > > >> > These two patches solve the situation for sunxi. The first one by
> > > >> > Lorenzo is to be applied for 3.10 if it's still possible, and the
> > > >> > second one on top of arm-soc/for-next. Tell me if you prefer a more
> > > >> > formal pull request for these patches
> > > >> >
> > > >> > Thanks!
> > > >> > Maxime
> > > >> >
> > > >> > Lorenzo Pieralisi (1):
> > > >> >   ARM: dts: sunxi: cpus/cpu nodes dts updates
> > > >>
> > > >> The patch above should already be queued in next/dt right ?
> > > >
> > > > Indeed.
> > > >
> > > > Then why the latest patch of your patchset got in 3.10, while the
> > > > patches actually fixing the DT it would have impacted were delayed to
> > > > 3.11?
> > > >
> > > > (And why was it merged so late in the development cycle?)
> > > 
> > > This. So now we have to scramble because some device trees will
> > > produce warnings at boot.
> > > 
> > > Russell, the alternative is to revert Lorenzo's patch for 3.10 (and
> > > re-introduce it for 3.11). Do you have a preference?
> > 
> > Ok, sorry about this guys. Technically speaking the DT bindings updates
> > (cpu/cpus nodes), dts updates and the ARM 7762/1 merged through Russell's
> > tree all are fixes, but probably we should not get them in as such.
> > 
> > ARM: 7762/1 was implemented to fix the warnings caused by new dts with
> > topology nodes (cpu-map node), and should go to stable kernels as well
> > since we want those kernels to boot with new DTs.
> > 
> > I should have prevented it from getting in as a fix, I really apologize.
> > I should also ask to drop the patch from the stable kernel queues, since this
> > would cause further issues (basically we should send all dts updates to
> > stable kernels as well, and unfortunately that's something we will have
> > to do anyway, when it has to be decided, if 7762/1 goes in 3.11 or later with
> > CC'ed stable we should send the dts updates to stable as well at the same
> > time).
> > 
> > I think the best solution is to revert ARM 7762/1 now and re-introduce it as
> > a fix after 3.11, when the dust has settled, I will drop it from stable
> > kernels queue as well if we all agree.
> > 
> > If we drop ARM 7762/1, 7764/1 needs rebasing since those patches order
> > unfortunately matters.
> 
> Ok, so you're saying we need to revert 1ba9bf0a and 7764/1. I couldn't
> find a commit corresponding to this one, however there is a commit
> labelled 7763/1 from you that touch the same area (18d7f152). Are these
> the commits that need to be reverted (and then reapplied for 3.11) ?

7764/1 is in Russell's patch system and has not been applied yet.
7763/1 can stay in since it is a fix that cleans-up cpu_logical_map
initialization.

1ba9bf0a (7762/1) is the patch that should be reverted (or we merge all
dts updates, since as I said, after all dts updates are fixes as well,
the warning is caused by the check for /cpu device_type to be == "cpu".
Those dts in the kernel are non-compliant, and have never been).

If 7762/1 is reverted, 7764/1 in Russell's patch system does not apply
cleanly anymore. Hence, if 7762/1 is reverted, we also have to drop 7764/1
from the patch system and I have to update it.

I asked to remove 7762/1 from stable kernels queues, the question is
still open if we want to backport all dts updates to stable kernels or
not. I would say no for now, hence 7762/1 can just be dropped (it was
meant to deal with the cpus node having children that are != /cpu. This
can happen with the new topology bindings, but let me say we will cross
that bridge when we come to it, 7762/1 has already caused too much
trouble for what it is worth).

On top of that there are bindings updates that I asked Grant to get them
merged for 3.11.

I am really really sorry for taking your time for this, but it has not been
easy to clean all dts up and define a proper standard, it is a necessary
evil.

Thanks a lot guys, please let me know how I can help, apologies.
Lorenzo


  reply	other threads:[~2013-06-29 19:03 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-28 16:44 Maxime Ripard
2013-06-28 16:44 ` [PATCH 1/2] ARM: dts: sunxi: cpus/cpu nodes dts updates Maxime Ripard
2013-06-28 16:44 ` [PATCH 2/2] sunxi: a10s: dtsi: Convert cpu node to the new cpu bindings Maxime Ripard
2013-06-28 17:15 ` [PATCH 0/2] ARM: sunxi: Convert DTSI to new CPU bindings Lorenzo Pieralisi
2013-06-28 20:03   ` Maxime Ripard
2013-06-28 20:05     ` Olof Johansson
2013-06-28 21:45       ` Lorenzo Pieralisi
2013-06-29 18:07         ` Maxime Ripard
2013-06-29 19:03           ` Lorenzo Pieralisi [this message]
2013-06-29 19:38       ` Russell King - ARM Linux
2013-06-29 20:11         ` Lorenzo Pieralisi
2013-06-29 22:54         ` Olof Johansson
2013-06-29 23:14           ` Russell King - ARM Linux
2013-06-29 23:20             ` Olof Johansson
2013-06-30  9:48         ` Lorenzo Pieralisi
2013-07-05 10:19           ` Lorenzo Pieralisi
2013-07-12  9:37             ` Maxime Ripard
2013-07-02 12:12 ` Nicolas Ferre
2013-07-02 12:56   ` Lorenzo Pieralisi

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=20130629190306.GA7533@e102568-lin.cambridge.arm.com \
    --to=lorenzo.pieralisi@arm.com \
    --cc=arnd@arndb.de \
    --cc=emilio@elopez.com.ar \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=maxime.ripard@free-electrons.com \
    --cc=olof@lixom.net \
    /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

all inboxes | Powered by JetHome®