# \[RFC/RFT 0/3\] iop: convert to generic time

- From: Mikael Pettersson \<hidden\>
- Date: 2009-08-22 12:04:29 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2009/08/8536053
- Thread: https://ratatoskr.run/linux-arm-kernel/2009/08/8536053/t.md

```text
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
```
