All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: venki kaps <venkiece2005@gmail.com>
Cc: omar.ramirez@ti.com, h-kanigeri2@ti.com, ameya.palande@nokia.com,
	fernando.lugo@ti.com, x0hebbar@ti.com, ernesto@ti.com,
	felipe.contreras@gmail.com, s-anna@ti.com, grgupta@ti.com,
	ivan.gomez@ti.com, ext-andriy.shevchenko@nokia.com,
	x0095078@ti.com, deepak.chitriki@ti.com, nm@ti.com,
	ext-phil.2.carmody@nokia.com, ohad@wizery.com,
	devel@linuxdriverproject.org, linux-omap@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: OMAP3 DSP MMU fault + off mode issue
Date: Wed, 15 Sep 2010 07:32:21 -0700	[thread overview]
Message-ID: <87mxrjgjre.fsf@deeprootsystems.com> (raw)
In-Reply-To: <AANLkTimO1UK+WA8Mc3Myi3gWBpD=D7tXDOX104a8NMKW@mail.gmail.com> (venki kaps's message of "Wed, 15 Sep 2010 19:25:56 +0530")

venki kaps <venkiece2005@gmail.com> writes:

> On Tue, Sep 14, 2010 at 8:54 PM, venki kaps <venkiece2005@gmail.com> wrote:
>> On Tue, Sep 14, 2010 at 1:28 AM, venki kaps <venkiece2005@gmail.com> wrote:
>>> Dear all,
>>>
>>> I have been facing an issue with OMAP3 PM with DSP MMU Fault (Kernel 2.6.32).
>>>
>>> The issue is describing as below mentioned way,
>>>        1). The Device is getting DSP MMU Fault when playing MP4 video clip.
>>>
>>> The system is not hitting off mode in the below scenario,
>>>        2). System boot ->play mp4 clip ->DSP MMU Fault -> allow off
>>> mode -----------> Never hits off mode
>>>
>>> But surprisingly the system is hitting off mode in the below scenario,
>>>       3). System boot ->allow off mode ->play mp4 clip ->DSP MMU
>>> Fault -> allow off mode -----------> perfectly works
>>>
>>>
>>>  - Could you please describe the root cause about the above issues 1 & 2?
>>>  - How could solve the above issues?
>>
>> I have found the issue with UART3.
>> In System configuration register (SYSC),-
>>             IDLEMODE  - Smart idle -------> working scenario  ------>
>> system hits off mode.
>>             IDLEMODE  - No idle -------> Non working scenario
>> ------> system never hits off mode.
>>
>> Could you please explain why UART3 is not able to hit smart idle after
>> DSP MMU fault ( System boot ->play mp4 clip ->DSP MMU Fault -> allow
>> off -----------> Never hits off mode).,
>
> My problem is resolved.GPtimer7 was not reset during the MMU FAULT
> occurrence before the first power cycle.
> So this pending interrupt is preventing the system sleep entry.
> Now it works fine after resetting Gptimer7 in pm suspend path.

Sounds like a patch is needed for DSPBridge who manages that timer.

Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Kevin Hilman <khilman@deeprootsystems.com>
To: venki kaps <venkiece2005@gmail.com>
Cc: omar.ramirez@ti.com, h-kanigeri2@ti.com, ameya.palande@nokia.com,
	fernando.lugo@ti.com, x0hebbar@ti.com, ernesto@ti.com,
	felipe.contreras@gmail.com, s-anna@ti.com, grgupta@ti.com,
	ivan.gomez@ti.com, ext-andriy.shevchenko@nokia.com,
	x0095078@ti.com, deepak.chitriki@ti.com, nm@ti.com,
	ext-phil.2.carmody@nokia.com, ohad@wizery.com,
	devel@driverdev.osuosl.org, linux-omap@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: OMAP3 DSP MMU fault + off mode issue
Date: Wed, 15 Sep 2010 07:32:21 -0700	[thread overview]
Message-ID: <87mxrjgjre.fsf@deeprootsystems.com> (raw)
In-Reply-To: <AANLkTimO1UK+WA8Mc3Myi3gWBpD=D7tXDOX104a8NMKW@mail.gmail.com> (venki kaps's message of "Wed, 15 Sep 2010 19:25:56 +0530")

venki kaps <venkiece2005@gmail.com> writes:

> On Tue, Sep 14, 2010 at 8:54 PM, venki kaps <venkiece2005@gmail.com> wrote:
>> On Tue, Sep 14, 2010 at 1:28 AM, venki kaps <venkiece2005@gmail.com> wrote:
>>> Dear all,
>>>
>>> I have been facing an issue with OMAP3 PM with DSP MMU Fault (Kernel 2.6.32).
>>>
>>> The issue is describing as below mentioned way,
>>>        1). The Device is getting DSP MMU Fault when playing MP4 video clip.
>>>
>>> The system is not hitting off mode in the below scenario,
>>>        2). System boot ->play mp4 clip ->DSP MMU Fault -> allow off
>>> mode -----------> Never hits off mode
>>>
>>> But surprisingly the system is hitting off mode in the below scenario,
>>>       3). System boot ->allow off mode ->play mp4 clip ->DSP MMU
>>> Fault -> allow off mode -----------> perfectly works
>>>
>>>
>>>  - Could you please describe the root cause about the above issues 1 & 2?
>>>  - How could solve the above issues?
>>
>> I have found the issue with UART3.
>> In System configuration register (SYSC),-
>>             IDLEMODE  - Smart idle -------> working scenario  ------>
>> system hits off mode.
>>             IDLEMODE  - No idle -------> Non working scenario
>> ------> system never hits off mode.
>>
>> Could you please explain why UART3 is not able to hit smart idle after
>> DSP MMU fault ( System boot ->play mp4 clip ->DSP MMU Fault -> allow
>> off -----------> Never hits off mode).,
>
> My problem is resolved.GPtimer7 was not reset during the MMU FAULT
> occurrence before the first power cycle.
> So this pending interrupt is preventing the system sleep entry.
> Now it works fine after resetting Gptimer7 in pm suspend path.

Sounds like a patch is needed for DSPBridge who manages that timer.

Kevin

  reply	other threads:[~2010-09-15 14:32 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13 19:58 OMAP3 DSP MMU fault + off mode issue venki kaps
2010-09-14 15:24 ` venki kaps
2010-09-14 15:24 ` venki kaps
2010-09-15 13:55   ` venki kaps
2010-09-15 13:55   ` venki kaps
2010-09-15 14:32     ` Kevin Hilman [this message]
2010-09-15 14:32       ` Kevin Hilman
2010-09-15 15:42       ` venki kaps
2010-09-15 15:42         ` venki kaps
2010-09-15 16:03         ` venki kaps
2010-09-15 16:03           ` venki kaps
2010-09-15 22:34           ` Felipe Contreras
2010-09-15 22:34             ` Felipe Contreras
2010-09-16  2:59             ` venki kaps
2010-09-16  2:59               ` venki kaps
2010-09-15 15:39     ` Ramirez Luna, Omar
2010-09-15 15:39     ` Ramirez Luna, Omar
  -- strict thread matches above, loose matches on Subject: below --
2010-09-13 19:58 venki kaps

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=87mxrjgjre.fsf@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=ameya.palande@nokia.com \
    --cc=deepak.chitriki@ti.com \
    --cc=devel@linuxdriverproject.org \
    --cc=ernesto@ti.com \
    --cc=ext-andriy.shevchenko@nokia.com \
    --cc=ext-phil.2.carmody@nokia.com \
    --cc=felipe.contreras@gmail.com \
    --cc=fernando.lugo@ti.com \
    --cc=grgupta@ti.com \
    --cc=h-kanigeri2@ti.com \
    --cc=ivan.gomez@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=ohad@wizery.com \
    --cc=omar.ramirez@ti.com \
    --cc=s-anna@ti.com \
    --cc=venkiece2005@gmail.com \
    --cc=x0095078@ti.com \
    --cc=x0hebbar@ti.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.