[PATCH v4 REPOST] ARM: vexpress/TC2: Implement MCPM power_down_finish()

Dave P Martin Dave.Martin at arm.com
Mon Nov 25 13:59:25 EST 2013


On Mon, Nov 25, 2013 at 06:26:46PM +0000, Olof Johansson wrote:
> On Mon, Nov 25, 2013 at 10:02 AM, Nicolas Pitre
> <nicolas.pitre at linaro.org> wrote:
> > On Mon, 25 Nov 2013, Olof Johansson wrote:
> >
> >> Hi,
> >>
> >> > Since v3.13-rc1, mcpm backends must implement an additional method which
> >> > the vexpress TC2 implementation doesn't have upstream, resulting in an
> >> > ugly WARN_ON() during hotplug and kexec operations
> >>
> >> Please be more specific here. Which change in the 3.13 merge window caused this?
> >
> > Commit 0de0d6467525.
> >
> > The corresponding change to tc2-pm.c was initially posted at about the
> > same time i.e. before the merge window, but it somehow fell into a
> > crack.
> 
> Thanks, I'll add that reference to the patch description when I apply.

The issue here was that the two patches were developed together and to
some extent validate each other, but one is an arch change and the other
is not.  Expecting Russell to accept random board changes through his
tree seemed a bit cheeky at this point, but I was slow sorting this out
before the merge window opened.

Is there a good way to accelerate synchronisation of dependent patches
that must be merged through different trees?  It seemed most reliable to
wait for the mcpm patch to appear in Russell's public tree before posting
the dependent TC2 patch for merging -- the intent was to avoid grief for
maintainers, but this can backfire by causing delays.

If you can handle patches with a dependency that is in-flight via another
maintainer, then I'm happy to send such patches earlier in future, before
the dependency lands (with details about where to watch for it,
obviously).

> Looks like the MCPM-side patch was posted already back in Oct 1. I'm
> not going to flame anyone over this, but it'd be nice if we could find
> out about these things sooner, ideally when breakage hits -next. Dave,
> next time I think I'd prefer to hear about it even if it is during the
> merge window. :-)

OK, noted.  Different people's opinions differ on that sometimes, but
I'll make sure you get the heads-up if a similar situation arises in
the future.

> Anyway, obviously it's needed and I'll apply it.

Thanks.  The kernel "works" without it in practice, though theoretically
it's not 100% safe, and I want to set the right example.

I'll try harder to avoid this kind of huccup another time.

Cheers
---Dave



More information about the linux-arm-kernel mailing list