linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * Re: [RFC][PATCH 0/14] Convert remaining arches to read/update_persistent_clock
           [not found] <1261540762.3508.61.camel@localhost.localdomain>
           [not found] ` <1261540826.3508.62.camel@localhost.localdomain>
    @ 2009-12-23  5:08 ` Paul Mundt
      2009-12-23 10:08   ` [RFC][PATCH 0/14] Convert remaining arches to Geert Uytterhoeven
                         ` (2 more replies)
      1 sibling, 3 replies; 7+ messages in thread
    From: Paul Mundt @ 2009-12-23  5:08 UTC (permalink / raw)
      To: john stultz
      Cc: lkml, Richard Henderson, linux-alpha, linux-sh, Russell King,
    	Haavard Skinnemoen, Mike Frysinger, Mikael Starvik, David Howells,
    	Yoshinori Sato, Tony Luck, Hirokazu Takata, Geert Uytterhoeven,
    	Koichi Yasutake, Kyle McMartin, David S. Miller
    
    On Tue, Dec 22, 2009 at 07:59:22PM -0800, john stultz wrote:
    > In this case the generic read_persistent_clock() and
    > update_persistent_clock() methods have been provided to allow the
    > generic timekeeping code to initialize xtime and set the persistent
    > clock when NTP is synced. However many arches haven't converted, so the
    > generic code has to handle the case where the arch is doing this
    > management itself.
    > 
    > This patch series tries to convert the following 14 architectures over
    > to use read_persistent_clock() and update_persistent_clock() as
    > applicable, killing off about 200 lines of arch specific code.
    > 
    While I think that this is a good goal, many of the underlying
    architectures have veered pretty far away from having meaningful
    persistent clock interfaces after having moved entirely to generic
    timekeeping and the RTC subsystem.
    
    In the case of SH at least that interface along with the generic CMOS
    stuff is largely a stop-gap for antiquated platforms that don't have
    proper RTC drivers and likely never will, while the default for all of
    the rest of the platforms effectively returns a fixed dummy value. I
    copied this approach from MIPS originally, so there are at least a few
    architectures that this will apply to.
    
    In any event, I wonder if it might make more sense to take something like
    the SPARC implementation that is simply a wrapper around the RTC, move
    that out in to a more generic place, and permit architectures to select
    an RTC class backed persistent clock instead (it seems to be only
    platforms that haven't caught up yet in terms of generic time and RTC
    migration that would want to define this interface on their own at all at
    this point)?
    
    ^ permalink raw reply	[flat|nested] 7+ messages in thread

  • end of thread, other threads:[~2009-12-24  5:10 UTC | newest]
    
    Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1261540762.3508.61.camel@localhost.localdomain>
         [not found] ` <1261540826.3508.62.camel@localhost.localdomain>
         [not found]   ` <1261540902.3508.63.camel@localhost.localdomain>
         [not found]     ` <1261540988.3508.64.camel@localhost.localdomain>
         [not found]       ` <1261541054.3508.65.camel@localhost.localdomain>
         [not found]         ` <1261541130.3508.66.camel@localhost.localdomain>
         [not found]           ` <1261541188.3508.67.camel@localhost.localdomain>
         [not found]             ` <1261541286.3508.69.camel@localhost.localdomain>
         [not found]               ` <1261541342.3508.70.camel@localhost.localdomain>
         [not found]                 ` <1261541415.3508.71.camel@localhost.localdomain>
         [not found]                   ` <1261541491.3508.72.camel@localhost.localdomain>
         [not found]                     ` <1261541567.3508.73.camel@localhost.localdomain>
         [not found]                       ` <1261541643.3508.74.camel@localhost.localdomain>
    2009-12-23  4:15                         ` [RFC][PATCH 13/14] Convert sh to read/update_persistent_clock john stultz
    2009-12-23  5:08 ` [RFC][PATCH 0/14] Convert remaining arches " Paul Mundt
    2009-12-23 10:08   ` [RFC][PATCH 0/14] Convert remaining arches to Geert Uytterhoeven
    2009-12-23 22:04   ` john stultz
    2009-12-24  0:27     ` [RFC][PATCH 0/14] Convert remaining arches to read/update_persistent_clock Dialup Jon Norstog
    2009-12-24  4:54   ` [RFC][PATCH 0/14] Convert remaining arches to David Miller
    2009-12-24  5:10     ` [RFC][PATCH 0/14] Convert remaining arches to read/update_persistent_clock Paul Mundt
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).