Thread (38 messages) 38 messages, 5 authors, 2012-07-24
STALE5063d

[PATCH v2 2/2] ARM: delay: allow timer-based delay implementation to be selected

From: Will Deacon <hidden>
Date: 2012-07-05 12:56:22

On Thu, Jul 05, 2012 at 01:12:14PM +0100, Shinya Kuribayashi wrote:
Ok, I gave your patch a try (including above), and confirmed that:

* It works fine with non-arch_timer counter.  I'm using SH/R-Mobile
  devices, with a memory mapped I/O, 32-bit free-run up-counter
  running at 13MHz.

* Secondary CPU calibration gets skipped as expected.

* Your new timer-based delay works as before (loop-based one).  I've
  verified 10..1999-microsecond busy-wait with a reasonable accuracy
  (and confirmed that 2000+ usec gets rejected as intended).
Great, thanks! Can I add your tested-by please?
By the way,
quoted
+       return lpj_fine ?: 0;
Is there any difference with just

        return lpj_fine;
Of course, I'll make that change, cheers.

Stephen -- can I keep your reviewed-by with the additional function please?

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help