iop: convert to generic time

Started by Mikael Pettersson on Aug 22, 2009

DORMANTno replies SUPERSEDED

Status: Superseded by v3 (posted 2009-10-16). [go to v3]

Revision rfc (3 revisions archived).

Revisions (3)
  1. rfc current
  2. v2 [diff against previous]
  3. v3 [diff against previous]

open the first message on its own page

Message details and related content
This series of patches converts the ARM kernel's XScale IOP
platform to use the kernel's generic clocksource, clockevent,
and time-keeping code. My goal with this is in part to align
the IOP code with current kernel practices, but ultimately I
want to enable NOHZ mode.

This is my first attempt to write clocksource/clockevent code,
so I'd appreciate if those with experience in that area could
review this. I'm especially uncertain about what to put in the
`.shift' fields in the clocksource and clockevent structures.

Runtime tested on a Thecus n2100 (iop32x). Survives both heavy
CPU load (gcc recompile) and idle conditions without hickups or
lost time. However, I can't seem to get the kernel to actually
engage NOHZ mode, so something is still missing.

Compile-tested for all iop13xx/iop32x/iop33x platforms.

/Mikael
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help