atom feed56 messages in org.freebsd.freebsd-armRe: RFC: PCI SD host controller drive...
FromSent OnAttachments
Oleksandr TymoshenkoSep 27, 2008 2:25 pm 
Alexander MotinSep 27, 2008 2:42 pm 
Rui PauloSep 27, 2008 3:58 pm 
Carlos A. M. dos SantosSep 27, 2008 10:35 pm 
Carlos A. M. dos SantosSep 27, 2008 11:12 pm 
M. Warner LoshSep 28, 2008 2:29 am 
Alex KedaSep 28, 2008 3:29 am 
Alexander MotinSep 28, 2008 3:00 pm 
Zaphod BeeblebroxOct 5, 2008 10:25 pm 
Warner LoshOct 5, 2008 11:58 pm 
Thomas HurstOct 6, 2008 12:56 am 
Alexander MotinOct 6, 2008 2:12 am 
Thomas HurstOct 6, 2008 3:42 am 
Alexander MotinOct 6, 2008 3:49 am 
Bernd WalterOct 7, 2008 5:52 am 
Ilya BakulinOct 8, 2008 12:38 am 
Alexander MotinOct 8, 2008 12:54 am 
Ilya BakulinOct 8, 2008 1:57 am 
Alexander MotinOct 11, 2008 1:45 pm 
Ilya BakulinOct 12, 2008 6:11 am.diff
M. Warner LoshOct 13, 2008 10:02 am 
Alexander MotinOct 15, 2008 1:24 pm 
Stanislav SedovOct 15, 2008 1:45 pm 
Alexander MotinOct 16, 2008 3:05 am 
M. Warner LoshOct 16, 2008 7:16 am 
Alexander MotinOct 16, 2008 8:01 am 
M. Warner LoshOct 16, 2008 8:28 am 
Taku YAMAMOTOOct 16, 2008 9:39 am 
M. Warner LoshOct 16, 2008 9:49 am 
Alexander MotinOct 16, 2008 10:25 am 
Ilya BakulinOct 17, 2008 12:16 am 
Jacques FourieOct 18, 2008 1:02 am 
M. Warner LoshOct 18, 2008 8:56 am 
Jacques FourieOct 18, 2008 10:00 am 
Alexandre "Sunny" KovalenkoOct 27, 2008 2:48 pm 
Lars EngelsNov 6, 2008 6:30 am 
Alexander MotinNov 6, 2008 7:10 am 
Lars EngelsNov 6, 2008 7:37 am 
Alexander MotinNov 6, 2008 7:44 am 
Lars EngelsNov 6, 2008 8:24 am 
M. Warner LoshNov 6, 2008 9:10 am 
Lars EngelsNov 6, 2008 9:28 am 
M. Warner LoshNov 6, 2008 9:39 am 
Lars EngelsNov 6, 2008 10:05 am 
Alexander MotinNov 6, 2008 10:15 am 
M. Warner LoshNov 6, 2008 10:23 am 
Lars EngelsNov 6, 2008 10:39 am 
Alexander MotinNov 6, 2008 11:01 am 
Lars EngelsNov 6, 2008 11:04 am 
Alexander MotinNov 6, 2008 11:10 am 
Lars EngelsNov 6, 2008 11:23 am 
Lars EngelsNov 6, 2008 11:32 am 
Alexander MotinNov 6, 2008 12:02 pm 
Lars EngelsNov 6, 2008 1:05 pm 
Alexander MotinNov 6, 2008 2:12 pm 
Alexander MotinNov 6, 2008 2:47 pm 
Subject:Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements
From:Taku YAMAMOTO (ta@tackymt.homeip.net)
Date:Oct 16, 2008 9:39:23 am
List:org.freebsd.freebsd-arm

On Thu, 16 Oct 2008 09:28:44 -0600 (MDT) "M. Warner Losh" <im@bsdimp.com> wrote:

In message: <48F7@FreeBSD.org> Alexander Motin <ma@FreeBSD.org> writes: : No, it's opposite. With lower frequency I have proportionally smaller : delays (more loop iterations). I don't remember exact numbers now, but : general tendency was like: with 2400MHz - 10 iterations, with 1200MHz - : 20 iterations and with 100MHz - 240 iterations. But neither syslog, nor : my eyes saw any visible delay there.

You have more iterations. I'd have expected less. This doesn't say anything at all about DELAY, per se. If you are waiting for 1M cycles at 100MHz, it is only .01s, while at 10MHz it is .1s. Delay is implemented by reading a counter in the 8254 that's been calibrated. So unless the clock that's clocking it is running FASTER, delay won't be the source of additional iterations.

Hmmm, looking at the i386 delay code, it looks like it depends on tsc_frequency being right when tsc isn't broken. If that's set bogusly, that could cause DELAY to be slower...

I have a Core 2 Duo whose TSC ticks regardless of how EST is set. In conjunction of tsc_freq_changed() function defined in tsc.c, tsc_freq becomes lower than actual, thus shorter DELAY().

Maybe his machine has the same.

- A chicken is an egg's way of producing more eggs. -