[Cbe-oss-dev] [PATCH 1/2]MARS/core: Tick counter api

Kazunori Asayama asayama at sm.sony.co.jp
Wed Nov 26 13:26:08 EST 2008


Arnd Bergmann wrote:
> IIRC, that is sufficient. The problem in 64-bit mode only shows up
> because we try to read both halves at the same time. In 32-bit mode
> they are read in order, so the logic covers both problems.

Ahhh, probably I got it. The sequence of mftb and low throughput of mftb
hide the problem in the 32bit version...

> Right. Note that the two are not synchronized though, and you have to
> manually check the offset between the SPU decrementer (in each task)
> and the PPU system wide timebase.

Indeed, that is the key part of my patch :-)

Thanks,
-- 
(ASAYAMA Kazunori
  (asayama at sm.sony.co.jp))
t



More information about the cbe-oss-dev mailing list