All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pramod <pramod.gurav@ti.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: Ming Lei <tom.leiming@gmail.com>,
	Kevin Hilman <khilman@deeprootsystems.com>,
	Govindraj <govindraj.ti@gmail.com>,
	"Premi, Sanjeev" <premi@ti.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: beagle hangs in uart3 disabling clocks
Date: Tue, 5 Oct 2010 16:39:51 +0530	[thread overview]
Message-ID: <4CAB077F.5020806@ti.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1010050400210.13816@utopia.booyaka.com>

On Tuesday 05 October 2010 03:33 PM, Paul Walmsley wrote:
> On Tue, 5 Oct 2010, Pramod wrote:
>
>> On Tuesday 05 October 2010 03:17 PM, Paul Walmsley wrote:
>>> On Tue, 5 Oct 2010, Pramod wrote:
>>>
>>>> On Tuesday 05 October 2010 12:49 PM, Paul Walmsley wrote:
>>>>> On Tue, 5 Oct 2010, Pramod wrote:
>>>>>
>>>>>> I applied this patch on my kernel which is based on android-2.6.32
>>>>>> enabling
>>>>>> dynamic printks. I still see the console hang after enabling the logs
>>>>>> in
>>>>>> hwmod.
>>>>>>
>>>>>> I am using zoom3 board. Can you please let me know which defconfig
>>>>>> from lo
>>>>>> master branch can be used to test on zoom3? I would like to test this
>>>>>> patch
>>>>>> with lo master branch and zoom3.
>>>>>
>>>>> Could you please paste your boot log messages here?
>>>>>
>>>>>
>>>>> - Paul
>>>>
>>>> Hi paul,
>>>> These are the boot log messages.
>>>
>>> Is that with the patch applied or without it?  If without, please post the
>>> log messages from a boot after you apply the patch.
>>>
>>> - Paul
>>
>> These logs are with the patch shared by you.
>
> Looks to me like it boots fine.  If you had hwmod debugging enabled, your
> kernel should have crashed after
>
> omap-hsuart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
> omap-hsuart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
> omap-hsuart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
>
> ... but it didn't crash there.  I'm not seeing any hwmod debug messages
> though, so you probably don't have DEBUG defined in omap_hwmod.c.
>
> So, I suspect whatever problem you're seeing is unrelated to the problem
> that the patch was intended to solve.
>
>
> - Paul

The hwmod debug messages will be seen when I enable them on the go with:
echo -n 'file omap_hwmod.c +p' > /debug/dynamic_debug/control

This will show lots of logs as below ending with UART3 clock disabling 
and a hang.

omap_hwmod:omap_hwmod: uart1: idling
omap_hwmod:omap_hwmod: uart1: disabling clocks
omap_hwmod:omap_hwmod: uart2: idling
omap_hwmod:omap_hwmod: uart2: disabling clocks
omap_hwmod:omap_hwmod: uart1: enabling
omap_hwmod:omap_hwmod: uart1: enabling clocks
omap_hwmod:omap_hwmod: uart2: enabling
omap_hwmod:omap_hwmod: uart2: enabling clocks
omap_hwmod:omap_hwmod: uart3: idling
omap_hwmod:omap_hwmod: uart3: disabling clock



-
Pramod

  reply	other threads:[~2010-10-05 11:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-03  9:04 beagle hangs in uart3 disabling clocks Ming Lei
2010-10-03 17:27 ` Premi, Sanjeev
2010-10-04 12:13   ` Ming Lei
2010-10-04 12:17   ` Pramod
2010-10-04 12:38     ` Govindraj
2010-10-04 15:18       ` Ming Lei
2010-10-04 15:44         ` Kevin Hilman
2010-10-04 16:17           ` Ming Lei
2010-10-04 18:54             ` Kevin Hilman
2010-10-05  5:36               ` Ming Lei
2010-10-05  6:14                 ` Paul Walmsley
2010-10-05  6:47                   ` Ming Lei
2010-10-05  7:13                   ` Pramod
2010-10-05  7:19                     ` Paul Walmsley
2010-10-05  9:34                       ` Pramod
2010-10-05  9:47                         ` Paul Walmsley
2010-10-05  9:58                           ` Pramod
2010-10-05 10:03                             ` Paul Walmsley
2010-10-05 11:09                               ` Pramod [this message]
2010-10-05 17:26                                 ` Paul Walmsley
2010-10-05 17:33                                   ` Kevin Hilman
2010-10-04 15:25 ` Kevin Hilman

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=4CAB077F.5020806@ti.com \
    --to=pramod.gurav@ti.com \
    --cc=govindraj.ti@gmail.com \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=premi@ti.com \
    --cc=tom.leiming@gmail.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.