mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: eric.piel@tremplin-utc.net
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Johannes Erdfelt <johannes@erdfelt.com>,
	Kernel development list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] Slight optimisation of the uhci-hcd init code
Date: Wed, 11 Feb 2004 11:40:08 +0100	[thread overview]
Message-ID: <1076496008.402a0688ad0aa@mailetu.utc.fr> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0402091657520.871-100000@ida.rowland.org>

Quoting Alan Stern <stern@rowland.harvard.edu>:

> It's a nice idea.  I was planning to alter the logic behind that nested
> "if" anyway, and I'll keep your recommendation in mind when I do it.
Great

> > PS: still, I'm not sure it's normal to see ffffffff as "bus master
> activity" in
> > /proc/acpi/processor/CPU0/power as soon as uhci-hcd is loaded. In
> particular, it
> > prevents the processor to go to C3 state. Could you give me your pint of
> view?
> 
> I'm not sure exactly what the ffffffff value means -- maximum utilization?
Yes, more exactly it means that the last 64 times the idle task was called the
bus master was detected as being used.


> Anyway, a UHCI host controller is a bus master and it can generate a lot
> of activity depending on what USB devices are plugged in.  If no USB
> devices are plugged, the controller will be suspended after 1 second.  
> Of course then it shouldn't be accessing the PCI bus at all.
> 
> There is one exception to this.  Some manufacturers try to disable unused
> USB ports on their motherboards by tying the overcurrent input permanently
> high.  (This seems to be particularly common among laptops.)  With some
> Intel controllers this strategy generates "device-connected" interrupts,
> so the driver doesn't try to suspend the controller.  There's a patch to
> fix this behavior currently being tested.
Well, my laptop seems fine. When I unplug the mouse the bus master activity goes
to 0000000. I've very little idea about how the bus master has to be used and
even less about the uhci host controller. However, at a first glance I thought
it was weird to see full bus master activity when all that is connected is a
mouse not being used. Do you think it's normal? 

Eric


  reply	other threads:[~2004-02-11 10:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-09 14:05 eric.piel
2004-02-09 22:07 ` Alan Stern
2004-02-11 10:40   ` eric.piel [this message]
2004-02-11 15:12     ` Alan Stern
2004-02-11 19:40 ` 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=1076496008.402a0688ad0aa@mailetu.utc.fr \
    --to=eric.piel@tremplin-utc.net \
    --cc=johannes@erdfelt.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®