All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Walmsley <pwalmsley@nvidia.com>
To: Mike Turquette <mturquette@linaro.org>
Cc: Tony Lindgren <tony@atomide.com>,
	Stephen Boyd <sboyd@codeaurora.org>,
	Tomeu Vizoso <tomeu.vizoso@collabora.com>,
	linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Nishanth Menon <nm@ti.com>,
	khilman@linaro.org
Subject: Re: regression: Clock changes in next-20141205 break at least omap4
Date: Mon, 15 Dec 2014 17:21:22 -0700	[thread overview]
Message-ID: <548F7B02.1090009@nvidia.com> (raw)
In-Reply-To: <20141215220224.20398.98259@quantum>

On 12/15/2014 03:02 PM, Mike Turquette wrote:
> Quoting Paul Walmsley (2014-12-12 15:28:32)
>> On Fri, 12 Dec 2014, Mike Turquette wrote:
>>
>>> Quoting Tony Lindgren (2014-12-05 10:38:49)
>>>> * Stephen Boyd <sboyd@codeaurora.org> [141205 10:23]:
>>>>> On 12/05/2014 08:55 AM, Tony Lindgren wrote:
>>>>>> Hi,
>>>>>>
>>>>>> Looks like commit 646cafc6aa4d ("clk: Change clk_ops->determine_rate
>>>>>> to return a clk_hw as the best parent") breaks booting at least for
>>>>>> omap4.
>>>>> Do you get a compilation warning in arch/arm/mach-omap2/dpll3xxx.c ?
>>>> Yes so it seems.
>>>>
>>>>>  From what I can tell omap3_noncore_dpll_determine_rate() hasn't been
>>>>> updated to take a clk_hw pointer instead of clk pointer. It was there in
>>>>> the original patch and I'm not sure why Mike dropped that part while
>>>>> applying.
>>>> OK that makes sense, Mike should apply that part too. Note that also
>>>> include/linux/clk/ti.h needs changed accordingly for struct clk_hw,
>>>> which you probably had in your orignal patch too. Assuming that's there,
>>>> please feel free to add:
>>>>
>>>> Acked-by: Tony Lindgren <tony@atomide.com>
>>> I figured out what went wrong here. When I applied Tomeu's changes the
>>> OMAP stuff did not apply at all. In fact the .determine_rate callbacks
>>> did not exist in clk-next. Paul merged that stuff through his tree[0]. I
>>> don't know why I didn't follow up on that at the time.
>>>
>>> So we need to come up with a solution. Paul can take the OMAP portion of
>>> Tomeu's changes[1] for OMAP, but I believe compilation will be broken in
>>> his tree until it meets up with mine in linux-next. Or we could set up a
>>> shared immutable branch that provides the needed changes.
>>>
>>> I could either set up a shared branch that includes Tomeu's changes that
>>> Paul could merge (will require a rebase of the tip of my tree) or Paul
>>> could provide a shared branch of the changes to dpll3xxx.c and
>>> dpll4xxx.c that I could merge in.
>>>
>>> Or I could remove Tomeu's patches from my tree since we're right up
>>> against the merge window but I would rather not do that since he has
>>> worked tirelessly on this topic.
>>>
>>> [0] http://www.spinics.net/lists/arm-kernel/msg377288.html
>>> [1] https://lkml.org/lkml/2014/12/2/70
>> I don't think there's much that I can do at this point.  My tree is quite
>> topologically distant from Linus's tree (pjw/omap-pending ->
>> tmlind/linux-omap -> arm/arm-soc -> torvalds/linux).  So anything I do is
>> high-latency.  My pull request for Tero's patches was sent to Tony a month
>> ago.
> Paul,
>
> I identified the patch in your tree that is missing in mine and, with
> Tony's help, applied your for-v3.19/omap-a signed tag to my tree. With
> these 5 patches in place I have applied Tero's two patches from
> Friday[0].
>
> Paul & Tony, are you OK for me to take both of Tero's patches? I'm
> already taking stuff in late so it is no trouble for me to pick up "ARM:
> OMAP3: clock: fix boot breakage in legacy mode" while I'm at it.
>
> I'm going to let this get at least one cycle in linux-next before
> sending my PR late this week. Hopefully Kevin (Cc'd) can check on the
> omap boards in his autobuilder once my tree hits -next?
>
> Let me know if I missed anything. Thanks for the great teamwork, gang.
>
> [0] http://lkml.kernel.org/r/<1418390521-7541-1-git-send-email-t-kristo@ti.com>
>
> Regards,
> Mike

I think Tony's taking the second patch from Tero.

- Paul


WARNING: multiple messages have this Message-ID (diff)
From: pwalmsley@nvidia.com (Paul Walmsley)
To: linux-arm-kernel@lists.infradead.org
Subject: regression: Clock changes in next-20141205 break at least omap4
Date: Mon, 15 Dec 2014 17:21:22 -0700	[thread overview]
Message-ID: <548F7B02.1090009@nvidia.com> (raw)
In-Reply-To: <20141215220224.20398.98259@quantum>

On 12/15/2014 03:02 PM, Mike Turquette wrote:
> Quoting Paul Walmsley (2014-12-12 15:28:32)
>> On Fri, 12 Dec 2014, Mike Turquette wrote:
>>
>>> Quoting Tony Lindgren (2014-12-05 10:38:49)
>>>> * Stephen Boyd <sboyd@codeaurora.org> [141205 10:23]:
>>>>> On 12/05/2014 08:55 AM, Tony Lindgren wrote:
>>>>>> Hi,
>>>>>>
>>>>>> Looks like commit 646cafc6aa4d ("clk: Change clk_ops->determine_rate
>>>>>> to return a clk_hw as the best parent") breaks booting at least for
>>>>>> omap4.
>>>>> Do you get a compilation warning in arch/arm/mach-omap2/dpll3xxx.c ?
>>>> Yes so it seems.
>>>>
>>>>>  From what I can tell omap3_noncore_dpll_determine_rate() hasn't been
>>>>> updated to take a clk_hw pointer instead of clk pointer. It was there in
>>>>> the original patch and I'm not sure why Mike dropped that part while
>>>>> applying.
>>>> OK that makes sense, Mike should apply that part too. Note that also
>>>> include/linux/clk/ti.h needs changed accordingly for struct clk_hw,
>>>> which you probably had in your orignal patch too. Assuming that's there,
>>>> please feel free to add:
>>>>
>>>> Acked-by: Tony Lindgren <tony@atomide.com>
>>> I figured out what went wrong here. When I applied Tomeu's changes the
>>> OMAP stuff did not apply at all. In fact the .determine_rate callbacks
>>> did not exist in clk-next. Paul merged that stuff through his tree[0]. I
>>> don't know why I didn't follow up on that at the time.
>>>
>>> So we need to come up with a solution. Paul can take the OMAP portion of
>>> Tomeu's changes[1] for OMAP, but I believe compilation will be broken in
>>> his tree until it meets up with mine in linux-next. Or we could set up a
>>> shared immutable branch that provides the needed changes.
>>>
>>> I could either set up a shared branch that includes Tomeu's changes that
>>> Paul could merge (will require a rebase of the tip of my tree) or Paul
>>> could provide a shared branch of the changes to dpll3xxx.c and
>>> dpll4xxx.c that I could merge in.
>>>
>>> Or I could remove Tomeu's patches from my tree since we're right up
>>> against the merge window but I would rather not do that since he has
>>> worked tirelessly on this topic.
>>>
>>> [0] http://www.spinics.net/lists/arm-kernel/msg377288.html
>>> [1] https://lkml.org/lkml/2014/12/2/70
>> I don't think there's much that I can do at this point.  My tree is quite
>> topologically distant from Linus's tree (pjw/omap-pending ->
>> tmlind/linux-omap -> arm/arm-soc -> torvalds/linux).  So anything I do is
>> high-latency.  My pull request for Tero's patches was sent to Tony a month
>> ago.
> Paul,
>
> I identified the patch in your tree that is missing in mine and, with
> Tony's help, applied your for-v3.19/omap-a signed tag to my tree. With
> these 5 patches in place I have applied Tero's two patches from
> Friday[0].
>
> Paul & Tony, are you OK for me to take both of Tero's patches? I'm
> already taking stuff in late so it is no trouble for me to pick up "ARM:
> OMAP3: clock: fix boot breakage in legacy mode" while I'm at it.
>
> I'm going to let this get at least one cycle in linux-next before
> sending my PR late this week. Hopefully Kevin (Cc'd) can check on the
> omap boards in his autobuilder once my tree hits -next?
>
> Let me know if I missed anything. Thanks for the great teamwork, gang.
>
> [0] http://lkml.kernel.org/r/<1418390521-7541-1-git-send-email-t-kristo@ti.com>
>
> Regards,
> Mike

I think Tony's taking the second patch from Tero.

- Paul

  parent reply	other threads:[~2014-12-16  0:21 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-05 16:55 regression: Clock changes in next-20141205 break at least omap4 Tony Lindgren
2014-12-05 16:55 ` Tony Lindgren
2014-12-05 18:21 ` Stephen Boyd
2014-12-05 18:21   ` Stephen Boyd
2014-12-05 18:38   ` Tony Lindgren
2014-12-05 18:38     ` Tony Lindgren
     [not found]     ` <20141212194238.20398.33333@quantum>
     [not found]       ` <alpine.DEB.2.02.1412122310570.29716@utopia.booyaka.com>
     [not found]         ` <20141215220224.20398.98259@quantum>
2014-12-16  0:21           ` Paul Walmsley [this message]
2014-12-16  0:21             ` Paul Walmsley
2014-12-16  0:38             ` Tony Lindgren
2014-12-16  0:38               ` Tony Lindgren
2014-12-16  1:31               ` Paul Walmsley
2014-12-16  1:31                 ` Paul Walmsley
2014-12-16 19:01                 ` Stephen Boyd
2014-12-16 19:01                   ` Stephen Boyd
2014-12-16 20:01                   ` Paul Walmsley
2014-12-16 20:01                     ` Paul Walmsley
2014-12-16 20:23                     ` Russell King - ARM Linux
2014-12-16 20:23                       ` Russell King - ARM Linux
2014-12-16 20:45                       ` Paul Walmsley
2014-12-16 20:45                         ` Paul Walmsley
2014-12-16 20:57                         ` Russell King - ARM Linux
2014-12-16 20:57                           ` Russell King - ARM Linux
2014-12-16 22:25                           ` Paul Walmsley
2014-12-16 22:25                             ` Paul Walmsley
2014-12-17  9:52                             ` Lucas Stach
2014-12-17  9:52                               ` Lucas Stach
2014-12-17 11:59                               ` Tero Kristo
2014-12-17 11:59                                 ` Tero Kristo
2014-12-19 16:45                                 ` Paul Walmsley
2014-12-19 16:45                                   ` Paul Walmsley
2014-12-18 19:23                               ` Paul Walmsley
2014-12-18 19:23                                 ` Paul Walmsley
2014-12-18 23:37                                 ` Mike Turquette
2014-12-18 23:37                                   ` Mike Turquette
2014-12-19  2:15                                   ` Paul Walmsley
2014-12-19  2:15                                     ` Paul Walmsley
2014-12-20  0:23                                     ` Mike Turquette
2014-12-20  0:23                                       ` Mike Turquette

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=548F7B02.1090009@nvidia.com \
    --to=pwalmsley@nvidia.com \
    --cc=khilman@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mturquette@linaro.org \
    --cc=nm@ti.com \
    --cc=sboyd@codeaurora.org \
    --cc=tomeu.vizoso@collabora.com \
    --cc=tony@atomide.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.