Re: [MIPS] Use generic NTP code for all MIPS platforms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 13 Aug 2007 20:51:39 +0200, Franck Bui-Huu <vagabon.xyz@xxxxxxxxx> wrote:
> Well a more general question could be how is the RTC class layer
> supposed to interact with the kernel ?
> 
> Should RTC class layer implement a general service to update/read the
> RTC, IOW should it implement {read,update}_persistent_clock() ?

Some difficulties are:

* timekeeping subsystem calls {read,update}_persistent_clock() with
  irq-disabled.  But most RTC class routines might sleep.

* RTC class can have multiple RTCs on the system.

* There are already some conflicting features in RTC class ---
  rtc_suspend and rtc_resume try to adjust the wall clock.

* IIRC Some people said "NTP sync can be done all in userland" ;-)


Does anybody know if there was "general consensus" on this topic?

---
Atsushi Nemoto


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux