public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: Processor states and USB
@ 2002-11-22 17:48 Grover, Andrew
  0 siblings, 0 replies; 2+ messages in thread
From: Grover, Andrew @ 2002-11-22 17:48 UTC (permalink / raw)
  To: 'Jan Rychter',
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> From: Jan Rychter [mailto:jan-JAsPCFd0eodBDgjK7y7TUQ@public.gmane.org] 
>    *C3:                  promotion[--] demotion[C2] 
> latency[100] usage[12803374]
> 
> Now, whenever the usb-uhci module is loaded, C3 never gets
> used. C2 is the only state that my CPU is in. If I unload 
> usb-uhci, the
> machine starts using C3.
> 
> Somebody explained to me that this is because the usb-uhci driver uses
> DMA transfers to talk to the hardware and poll it for new devices. Is
> there a patch available that changes this behavior? Anybody found any
> solutions to this?

This is a big problem with USB in general that has no easy solutions. It is
fundamental to the way USB host controllers work that they do busmaster
activity every 1ms to check their in-memory tasklist. However, since the CPU
cannot snoop these accesses in C3, it can only go into C2.

The answer used to be "just don't use USB" but obviously this is becoming
less and less realistic.

One more thing: if you use the other USB HC driver, it has support for USB
Global Suspend. This means that you will be able to have the driver loaded
and enter C3, but as soon as you insert a device, the same problem will
occur.

Regards -- Andy




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-26 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <m2el9eqb51.fsf@tnuctip.rychter.com>
     [not found] ` <m2el9eqb51.fsf-dTJq59+VGzkkCw8IV3R6h0EOCMrvLtNR@public.gmane.org>
2002-11-26 13:59   ` Processor states and USB Pavel Machek
2002-11-22 17:48 Grover, Andrew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox