All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kishon Vijay Abraham I <kishon@ti.com>
To: Paul Walmsley <paul@pwsan.com>,
	"Grygorii.Strashko@linaro.org" <grygorii.strashko@linaro.org>
Cc: Tony Lindgren <tony@atomide.com>,
	Grygorii Strashko <grygorii.strashko@ti.com>,
	nsekhar@ti.com, linux-omap@vger.kernel.org,
	sumit.semwal@linaro.org, linux-arm-kernel@lists.infradead.org,
	nm@ti.com, t-kristo@ti.com
Subject: Re: [PATCH 2/2] ARM: dts: dra7: remove ti,hwmod property from pcie phy
Date: Thu, 26 Mar 2015 04:23:19 +0530	[thread overview]
Message-ID: <55133C5F.6060702@ti.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1503191647150.9480@utopia.booyaka.com>

Hi,

On Thursday 19 March 2015 10:19 PM, Paul Walmsley wrote:
> On Thu, 19 Mar 2015, Grygorii.Strashko@linaro.org wrote:
> 
>> On 03/19/2015 05:45 PM, Paul Walmsley wrote:
>>> On Thu, 19 Mar 2015, Grygorii.Strashko@linaro.org wrote:
>>>
>>>> On 03/19/2015 04:55 PM, Paul Walmsley wrote:
>>>>> On Wed, 18 Mar 2015, Grygorii.Strashko@linaro.org wrote:
>>>>>
>>>>>> On 03/18/2015 06:57 PM, Tony Lindgren wrote:
>>>>>>> * Grygorii Strashko <grygorii.strashko@ti.com> [150318 09:37]:
>>>>>>>> As I can see Patch 1 from this series was merged in 4.0-rc4,
>>>>>>>> but this patch wasn't. As result, I can see below warning all the time
>>>>>>>> during boot now:
>>>>>>>>
>>>>>>>> [    0.594591] platform 4a094000.pciephy: Cannot lookup hwmod
>>>>>>>> 'pcie1-phy'
>>>>>>>
>>>>>>> OK. Is this needed as a fix for the v4.0-rc series, or can this wait
>>>>>>> for v4.1?
>>>>>>
>>>>>> I think, Yes. These two patches should go all together, because they are
>>>>>> interrelated.
>>>>>
>>>>> Does the warning result in a functional problem, or is it just a warning?
>>>>>
>>>>
>>>> PCE1 PHY device is not registered any more.
>>>
>>> How does the second patch fix that?
>>
>> I've re-checked it - sorry for disinfo.
>>
>> PHY devices are created, but omap_device_fail_pm_domain is assigned to them.
>> As result Runtime PM is not working any more.
>>
>>
>> [    0.592501] platform 4a094000.pciephy: Cannot lookup hwmod 'pcie1-phy'
>> [    0.597510] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124
>> [    0.602794] ti-pipe3 4a094000.pciephy: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info
>>
>> When ti,hwmods is not present PCI PHY will be added as regular Platform device
>> and Runtime PM will work again.
> 
> OK then it should definitely go up as a fix.  
> 
> Kishon, for future references, those two patches should have been combined 
> into a single patch.  As it stands now, if someone bisects down to that 
> first patch, it sounds like PM will be at least partially broken.  Too bad 
> I don't have a DRA7xx board where things like this can be tested before 
> being sent upstream.

huh.. was under the assumption that patches for device tree and the kernel
patches should be separate. And PCIE for DRA7xx was broken in mainline for
quite sometime now because of reset framework support not added for DRA7xx.

Thanks
Kishon

WARNING: multiple messages have this Message-ID (diff)
From: kishon@ti.com (Kishon Vijay Abraham I)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: dts: dra7: remove ti,hwmod property from pcie phy
Date: Thu, 26 Mar 2015 04:23:19 +0530	[thread overview]
Message-ID: <55133C5F.6060702@ti.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1503191647150.9480@utopia.booyaka.com>

Hi,

On Thursday 19 March 2015 10:19 PM, Paul Walmsley wrote:
> On Thu, 19 Mar 2015, Grygorii.Strashko at linaro.org wrote:
> 
>> On 03/19/2015 05:45 PM, Paul Walmsley wrote:
>>> On Thu, 19 Mar 2015, Grygorii.Strashko at linaro.org wrote:
>>>
>>>> On 03/19/2015 04:55 PM, Paul Walmsley wrote:
>>>>> On Wed, 18 Mar 2015, Grygorii.Strashko at linaro.org wrote:
>>>>>
>>>>>> On 03/18/2015 06:57 PM, Tony Lindgren wrote:
>>>>>>> * Grygorii Strashko <grygorii.strashko@ti.com> [150318 09:37]:
>>>>>>>> As I can see Patch 1 from this series was merged in 4.0-rc4,
>>>>>>>> but this patch wasn't. As result, I can see below warning all the time
>>>>>>>> during boot now:
>>>>>>>>
>>>>>>>> [    0.594591] platform 4a094000.pciephy: Cannot lookup hwmod
>>>>>>>> 'pcie1-phy'
>>>>>>>
>>>>>>> OK. Is this needed as a fix for the v4.0-rc series, or can this wait
>>>>>>> for v4.1?
>>>>>>
>>>>>> I think, Yes. These two patches should go all together, because they are
>>>>>> interrelated.
>>>>>
>>>>> Does the warning result in a functional problem, or is it just a warning?
>>>>>
>>>>
>>>> PCE1 PHY device is not registered any more.
>>>
>>> How does the second patch fix that?
>>
>> I've re-checked it - sorry for disinfo.
>>
>> PHY devices are created, but omap_device_fail_pm_domain is assigned to them.
>> As result Runtime PM is not working any more.
>>
>>
>> [    0.592501] platform 4a094000.pciephy: Cannot lookup hwmod 'pcie1-phy'
>> [    0.597510] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124
>> [    0.602794] ti-pipe3 4a094000.pciephy: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info
>>
>> When ti,hwmods is not present PCI PHY will be added as regular Platform device
>> and Runtime PM will work again.
> 
> OK then it should definitely go up as a fix.  
> 
> Kishon, for future references, those two patches should have been combined 
> into a single patch.  As it stands now, if someone bisects down to that 
> first patch, it sounds like PM will be at least partially broken.  Too bad 
> I don't have a DRA7xx board where things like this can be tested before 
> being sent upstream.

huh.. was under the assumption that patches for device tree and the kernel
patches should be separate. And PCIE for DRA7xx was broken in mainline for
quite sometime now because of reset framework support not added for DRA7xx.

Thanks
Kishon

  reply	other threads:[~2015-03-25 22:53 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-20  8:51 [PATCH 1/2] ARM: DRA7: hwmod_data: Fix hwmod data for pcie Kishon Vijay Abraham I
2015-02-20  8:51 ` Kishon Vijay Abraham I
2015-02-20  8:51 ` [PATCH 2/2] ARM: dts: dra7: remove ti,hwmod property from pcie phy Kishon Vijay Abraham I
2015-02-20  8:51   ` Kishon Vijay Abraham I
2015-03-18 16:36   ` Grygorii Strashko
2015-03-18 16:36     ` Grygorii Strashko
2015-03-18 16:57     ` Tony Lindgren
2015-03-18 16:57       ` Tony Lindgren
2015-03-18 19:36       ` Grygorii.Strashko@linaro.org
2015-03-18 19:36         ` Grygorii.Strashko@linaro.org
2015-03-18 20:23         ` Tony Lindgren
2015-03-18 20:23           ` Tony Lindgren
2015-03-19 14:55         ` Paul Walmsley
2015-03-19 14:55           ` Paul Walmsley
2015-03-19 15:39           ` Grygorii.Strashko@linaro.org
2015-03-19 15:39             ` Grygorii.Strashko@linaro.org
2015-03-19 15:45             ` Paul Walmsley
2015-03-19 15:45               ` Paul Walmsley
2015-03-19 16:03               ` Tony Lindgren
2015-03-19 16:03                 ` Tony Lindgren
2015-03-19 16:36                 ` Paul Walmsley
2015-03-19 16:36                   ` Paul Walmsley
2015-03-19 16:21               ` Grygorii.Strashko@linaro.org
2015-03-19 16:21                 ` Grygorii.Strashko@linaro.org
2015-03-19 16:49                 ` Paul Walmsley
2015-03-19 16:49                   ` Paul Walmsley
2015-03-25 22:53                   ` Kishon Vijay Abraham I [this message]
2015-03-25 22:53                     ` Kishon Vijay Abraham I
2015-03-26  7:29                     ` Paul Walmsley
2015-03-26  7:29                       ` Paul Walmsley
2015-03-02  4:05 ` [PATCH 1/2] ARM: DRA7: hwmod_data: Fix hwmod data for pcie Paul Walmsley
2015-03-02  4:05   ` Paul Walmsley

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=55133C5F.6060702@ti.com \
    --to=kishon@ti.com \
    --cc=grygorii.strashko@linaro.org \
    --cc=grygorii.strashko@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=nsekhar@ti.com \
    --cc=paul@pwsan.com \
    --cc=sumit.semwal@linaro.org \
    --cc=t-kristo@ti.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.