[lkml]   [2005]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: i386 HPET code
    > Basically I am thinking of something like this will be a good generic solution
    > in place of simple two writes.
    > for (i = 0 ; i <some number for max retries>; i++) {
    > hpet_writel(hpet_tick, HPET_T0_CMP);
    > if (hpet_tick == hpet_readl(hpet_tick, HPET_T0_CMP))
    > break;
    > }

    Makes sense. There were so many bugs in PIT timer access over time,
    it would be probably a miracle if the hardware engineers got all
    the HPET implementations right ;-)

    If you do a fix like this please change x86-64 too.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:10    [W:0.018 / U:4.272 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site