Re: svn commit: r227541 - head/sys/dev/usb/controller

2011-11-18 Thread Bruce Evans
On Tue, 15 Nov 2011, Hans Petter Selasky wrote: On Tuesday 15 November 2011 21:54:28 m...@freebsd.org wrote: On Tue, Nov 15, 2011 at 12:48 PM, Hans Petter Selasky wrote: Log: Some brands of XHCI controllers needs more time to reset. ... and since there's no guarantee that hz is 1000 or

Re: svn commit: r227541 - head/sys/dev/usb/controller

2011-11-15 Thread Hans Petter Selasky
In response to this thread I've updated: http://wiki.freebsd.org/TuningPowerConsumption --HPS ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@fre

Re: svn commit: r227541 - head/sys/dev/usb/controller

2011-11-15 Thread mdf
On Tue, Nov 15, 2011 at 1:22 PM, Hans Petter Selasky wrote: > On Tuesday 15 November 2011 22:20:18 m...@freebsd.org wrote: >> On Tue, Nov 15, 2011 at 1:02 PM, Hans Petter Selasky > wrote: >> > For USB compliant operation, the USB stack requires hz to be greater or >> > equal to 250 hz, to put it

Re: svn commit: r227541 - head/sys/dev/usb/controller

2011-11-15 Thread mdf
On Tue, Nov 15, 2011 at 1:22 PM, Hans Petter Selasky wrote: > On Tuesday 15 November 2011 22:20:18 m...@freebsd.org wrote: >> On Tue, Nov 15, 2011 at 1:02 PM, Hans Petter Selasky > wrote: >> > For USB compliant operation, the USB stack requires hz to be greater or >> > equal to 250 hz, to put it

Re: svn commit: r227541 - head/sys/dev/usb/controller

2011-11-15 Thread Garrett Cooper
On Nov 15, 2011, at 1:24 PM, Hans Petter Selasky wrote: >> >> ... and I also just remembered that I have seen recommendations that, >> when FreeBSD is used as a virtual machine, hz should be set to 100 so >> that the virtual interrupt overhead is reduced. Those two >> recommendations are at odds

Re: svn commit: r227541 - head/sys/dev/usb/controller

2011-11-15 Thread Hans Petter Selasky
On Tuesday 15 November 2011 22:21:31 m...@freebsd.org wrote: > On Tue, Nov 15, 2011 at 1:20 PM, wrote: > > On Tue, Nov 15, 2011 at 1:02 PM, Hans Petter Selasky wrote: > >> For USB compliant operation, the USB stack requires hz to be greater or > >> equal to 250 hz, to put it like that. Mostly a

Re: svn commit: r227541 - head/sys/dev/usb/controller

2011-11-15 Thread Hans Petter Selasky
On Tuesday 15 November 2011 22:20:18 m...@freebsd.org wrote: > On Tue, Nov 15, 2011 at 1:02 PM, Hans Petter Selasky wrote: > > For USB compliant operation, the USB stack requires hz to be greater or > > equal to 250 hz, to put it like that. Mostly a requirement in USB > > gadget/device mode. > >

Re: svn commit: r227541 - head/sys/dev/usb/controller

2011-11-15 Thread mdf
On Tue, Nov 15, 2011 at 1:20 PM, wrote: > On Tue, Nov 15, 2011 at 1:02 PM, Hans Petter Selasky wrote: >> For USB compliant operation, the USB stack requires hz to be greater or equal >> to 250 hz, to put it like that. Mostly a requirement in USB gadget/device >> mode. > > Really?  That's news to

Re: svn commit: r227541 - head/sys/dev/usb/controller

2011-11-15 Thread mdf
On Tue, Nov 15, 2011 at 1:02 PM, Hans Petter Selasky wrote: > For USB compliant operation, the USB stack requires hz to be greater or equal > to 250 hz, to put it like that. Mostly a requirement in USB gadget/device > mode. Really? That's news to me. Is that documented somewhere? I know we sti

Re: svn commit: r227541 - head/sys/dev/usb/controller

2011-11-15 Thread Hans Petter Selasky
On Tuesday 15 November 2011 21:54:28 m...@freebsd.org wrote: > Is there some reason these functions aren't asking for a delay in > terms of milli- or microseconds, and converting to hz internally? There is no strong reason for this except, that when everything is computed in system ticks, there i

Re: svn commit: r227541 - head/sys/dev/usb/controller

2011-11-15 Thread Hans Petter Selasky
On Tuesday 15 November 2011 21:54:28 m...@freebsd.org wrote: > On Tue, Nov 15, 2011 at 12:48 PM, Hans Petter Selasky > > wrote: > > Author: hselasky > > Date: Tue Nov 15 20:48:57 2011 > > New Revision: 227541 > > URL: http://svn.freebsd.org/changeset/base/227541 > > > > Log: > > Some brands of

Re: svn commit: r227541 - head/sys/dev/usb/controller

2011-11-15 Thread mdf
On Tue, Nov 15, 2011 at 12:48 PM, Hans Petter Selasky wrote: > Author: hselasky > Date: Tue Nov 15 20:48:57 2011 > New Revision: 227541 > URL: http://svn.freebsd.org/changeset/base/227541 > > Log: >  Some brands of XHCI controllers needs more time to reset. ... and since there's no guarantee that

svn commit: r227541 - head/sys/dev/usb/controller

2011-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 15 20:48:57 2011 New Revision: 227541 URL: http://svn.freebsd.org/changeset/base/227541 Log: Some brands of XHCI controllers needs more time to reset. Reported by: Jan Henrik Sylvester MFC after:1 week Modified: head/sys/dev/usb/controller/xhci.c Mo