From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754097Ab0IOOcd (ORCPT ); Wed, 15 Sep 2010 10:32:33 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:44163 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752560Ab0IOOcb convert rfc822-to-8bit (ORCPT ); Wed, 15 Sep 2010 10:32:31 -0400 From: Kevin Hilman To: venki kaps 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 Organization: Deep Root Systems, LLC References: Date: Wed, 15 Sep 2010 07:32:21 -0700 In-Reply-To: (venki kaps's message of "Wed, 15 Sep 2010 19:25:56 +0530") Message-ID: <87mxrjgjre.fsf@deeprootsystems.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org venki kaps writes: > On Tue, Sep 14, 2010 at 8:54 PM, venki kaps wrote: >> On Tue, Sep 14, 2010 at 1:28 AM, venki kaps 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