All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>
To: Kevin Hilman <khilman-l0cyMroinI0@public.gmane.org>
Cc: balbi-l0cyMroinI0@public.gmane.org, "Munegowda,
	Keshava" <keshava_mgowda-l0cyMroinI0@public.gmane.org>,
	linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org,
	notasas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	Paul Walmsley <paul-DWxLp4Yu+b8AvxtiuMwx3w@public.gmane.org>
Subject: Re: [PATCH] OMAP: USB : Fix the EHCI enumeration and core retention issue
Date: Fri, 22 Jun 2012 23:36:46 +0300	[thread overview]
Message-ID: <20120622203645.GD29290@arwen.pp.htv.fi> (raw)
In-Reply-To: <87ehp71liv.fsf-l0cyMroinI0@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 3333 bytes --]

Hi,

On Fri, Jun 22, 2012 at 07:14:32AM -0700, Kevin Hilman wrote:
> Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org> writes:
> 
> > Hi,
> >
> > On Fri, Jun 22, 2012 at 01:00:39PM +0530, Munegowda, Keshava wrote:
> >> On Fri, Jun 22, 2012 at 12:32 AM, Kevin Hilman <khilman-l0cyMroinI0@public.gmane.org> wrote:
> >> > "Munegowda, Keshava" <keshava_mgowda-l0cyMroinI0@public.gmane.org> writes:
> >> >
> >> >> On Thu, Jun 21, 2012 at 7:12 PM, Keshava Munegowda
> >> >> <keshava_mgowda-l0cyMroinI0@public.gmane.org> wrote:
> >> >>> This commit 354ab8567ae3107a8cbe7228c3181990ba598aac titled
> >> >>> "Fix OMAP EHCI suspend/resume failure (i693)" is causing
> >> >>> the usb hub and device detection fails in beagle XM
> >> >>> causeing NFS not functional. This affects the core retention too.
> >> >>> The same commit logic needs to be revisted adhering to hwmod and
> >> >>> device tree framework.
> >> >>> for now, this commit id 354ab8567ae3107a8cbe7228c3181990ba598aac
> >> >>> titled "Fix OMAP EHCI suspend/resume failure (i693)" reverted.
> >> >>>
> >> >>> This patch is validated on BeagleXM with NFS support over
> >> >>> usb ethernet and USB mass storage and other device detection.
> >> >>>
> >> >>> Signed-off-by: Keshava Munegowda <keshava_mgowda-l0cyMroinI0@public.gmane.org>
> >> >
> >> > [...]
> >> >
> >> >>
> >> >> hi kevin
> >> >>
> >> >> here is pm count log on beagle XM with the above patch:
> >> >
> >> > What are you meaning to show by this log?
> >> >
> >> > This dump shows that neither PER or CORE are hitting retention in idle.
> >> > Which sounds to me like you have not enabled UART runtime suspend:
> >> >
> >> > echo 3000 > /sys/devices/platform/omap_uart.0/power/autosuspend_delay_ms
> >> > echo 3000 > /sys/devices/platform/omap_uart.1/power/autosuspend_delay_ms
> >> > echo 3000 > /sys/devices/platform/omap_uart.2/power/autosuspend_delay_ms
> >> > echo 3000 > /sys/devices/platform/omap_uart.3/power/autosuspend_delay_ms
> >> >
> >> > My test with your patch shows that it fixes the oops during boot, and
> >> > doesn't hang during suspend, but that USB host is still preventing CORE
> >> > retention during idle (after UART runtime suspend is enabled.)
> >> >
> >> > This happens on 3530/Overo, 3630/Beagle-xM and 3730/Overo
> >> >
> >> > Setting CONFIG_MFD_OMAP_USB_HOST=n allows CORE to hit retention again.
> >> >
> >> > Kevin
> >> 
> >> 
> >> 
> >> Hi kevin
> >>        It woks. only the log was wrong. I was using no_console_suspend
> >> in boot args.
> >> i removed it. now I can see the core retention hits with USB host in Beagle XM.
> >> below is the log:
> >
> > the fact is that we can't really survive without that workaround. Kevin,
> 
> I don't know what workaround you're talking about.    Are you talking
> about the revert proposed in $SUBJECT patch?
> 
> I don't have a problem with that revert.  The problem I have is that it
> does not fix the problem I initially reported: USB host prevents CORE
> retention in *idle*.

Keshava is reverting a fix for a HW errata. I can't accept it as it will
cause regressions. Granted, regression by regression, there's no change,
but I simply can't knowingly cause a regression to the driver just to
have PM working. We need a real fix for this issue.

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  parent reply	other threads:[~2012-06-22 20:36 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-21 13:42 [PATCH] OMAP: USB : Fix the EHCI enumeration and core retention issue Keshava Munegowda
     [not found] ` <1340286132-20634-1-git-send-email-keshava_mgowda-l0cyMroinI0@public.gmane.org>
2012-06-21 13:43   ` Munegowda, Keshava
2012-06-21 19:02     ` Kevin Hilman
     [not found]       ` <87fw9o32v2.fsf-l0cyMroinI0@public.gmane.org>
2012-06-22  7:30         ` Munegowda, Keshava
     [not found]           ` <CAP05o4KxWFjCCP05KzQgo4vWLdvOCeT=DWGXvEEnyWkomH1tXA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-06-22 10:30             ` Felipe Balbi
     [not found]               ` <20120622103050.GG28472-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2012-06-22 14:14                 ` Kevin Hilman
2012-06-22 15:03                   ` Russ Dill
     [not found]                     ` <CA+Bv8XY-_x+Vh+D8sec5tvL9MkOYFKnts1WBp_AsCck2y6QNZg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-06-22 15:11                       ` Munegowda, Keshava
     [not found]                   ` <87ehp71liv.fsf-l0cyMroinI0@public.gmane.org>
2012-06-22 20:36                     ` Felipe Balbi [this message]
2012-06-25 18:35                       ` Kevin Hilman
     [not found]                         ` <87d34nfdei.fsf-l0cyMroinI0@public.gmane.org>
2012-07-02 16:54                           ` Kevin Hilman
     [not found]                             ` <871uku85o8.fsf-l0cyMroinI0@public.gmane.org>
2012-07-02 17:05                               ` Russ Dill
     [not found]                                 ` <CA+Bv8XaC64NChdcinrxagRYLZyTG7c05nDYy2EbfH-gfZUxnuw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-07-02 17:55                                   ` Kevin Hilman
2012-07-02 18:15                                     ` Samuel Ortiz
2012-07-03  0:14                               ` Kevin Hilman
2012-07-03  6:45                                 ` Munegowda, Keshava
2012-07-03  6:47                               ` Munegowda, Keshava
     [not found]                                 ` <CAP05o4+hxt6zY0AxK5aNW7a3Hyiw0_krP9=XK_prN5=Uk2SxmA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-07-03  7:22                                   ` Munegowda, Keshava
2012-07-04 13:33                                     ` Kevin Hilman
2012-07-05 11:19                                       ` Samuel Ortiz
2012-07-06 10:00                                         ` Munegowda, Keshava
     [not found]                                           ` <CAP05o4JEx0uSCH+mZzLhoV479A00uUumvYY_-b8dQ9j_5Awumw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-07-06 11:59                                             ` Munegowda, Keshava
2012-07-11 10:29                                               ` Samuel Ortiz
2012-07-11 12:53                                                 ` Munegowda, Keshava
2012-07-11 14:23                                                   ` Kevin Hilman
     [not found]                                                     ` <874npenzq0.fsf-l0cyMroinI0@public.gmane.org>
2012-07-12  6:41                                                       ` Munegowda, Keshava
     [not found]                                                         ` <CAP05o4+hQh-weQ_hfFMxY-byEijwDF3e-D9U5gwh6yRD7C_=Zw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-07-19 10:17                                                           ` Munegowda, Keshava
2012-06-22 14:11             ` Kevin Hilman
2012-06-22 14:35               ` Alan Stern
     [not found]               ` <87vcij1loh.fsf-l0cyMroinI0@public.gmane.org>
2012-06-22 14:43                 ` Munegowda, Keshava
2012-06-22 18:49                   ` Kevin Hilman
2012-07-23  8:33                   ` Roger Quadros
     [not found]                     ` <500D0C42.8030508-l0cyMroinI0@public.gmane.org>
2012-07-23 11:27                       ` Munegowda, Keshava
2012-07-19 10:20 ` Felipe Balbi
     [not found]   ` <20120719102013.GJ14302-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>
2012-07-19 12:02     ` Munegowda, Keshava
2012-07-19 22:54     ` Greg KH
     [not found]       ` <20120719225405.GB32547-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2012-07-19 22:55         ` Greg KH
     [not found]           ` <20120719225523.GC32547-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2012-07-20  8:06             ` Munegowda, Keshava
2012-07-19 15:15   ` Alan Stern

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=20120622203645.GD29290@arwen.pp.htv.fi \
    --to=balbi-l0cymroini0@public.gmane.org \
    --cc=keshava_mgowda-l0cyMroinI0@public.gmane.org \
    --cc=khilman-l0cyMroinI0@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=notasas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=paul-DWxLp4Yu+b8AvxtiuMwx3w@public.gmane.org \
    --cc=sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
    /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.