Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Joshua Kinard <kumba@gentoo.org>
To: linux-mips@linux-mips.org
Subject: Re: [PATCH 1/2] RTC: rtc-cmos: drivers/char/rtc.c features for DECstation support
Date: Sat, 19 Apr 2014 19:22:44 -0400	[thread overview]
Message-ID: <53530544.3010308@gentoo.org> (raw)
In-Reply-To: <alpine.LFD.2.11.1404192224250.11598@eddie.linux-mips.org>

On 04/19/2014 18:58, Maciej W. Rozycki wrote:
> This brings in drivers/char/rtc.c functionality required for DECstation 
> and, should the maintainers decide to switch, Alpha systems to use 
> rtc-cmos.
> 
> Specifically these features are made available:
> 
[snip]
> * The ability to use the RTC periodic interrupt as a system clock device,
>   which is implemented by arch/mips/kernel/cevt-ds1287.c for DECstation 
>   systems and takes the RTC interrupt away from the RTC driver.  
>   Eventually hooking back to the clock device's interrupt handler should 
>   be possible for the purpose of the alarm clock and possibly also 
>   update-in-progress interrupt, but this is not done by this change.

I had this implemented myself in the DS1685 driver I've still yet to send in
(for SGI IP32).  But the upper-level RTC code for periodic and update
interrupts was removed sometime between 2.6.39 and 3.0 and uses the kernel's
hrtimers to replace it.  No idea if they'll ever re-add that code for RTC
drivers that can use the hardware implementation instead.

-- 
Joshua Kinard
Gentoo/MIPS
kumba@gentoo.org
4096R/D25D95E3 2011-03-28

"The past tempts us, the present confuses us, the future frightens us.  And
our lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic

  parent reply	other threads:[~2014-04-19 23:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-19 22:58 [PATCH 1/2] RTC: rtc-cmos: drivers/char/rtc.c features for DECstation support Maciej W. Rozycki
2014-04-19 22:59 ` [PATCH 2/2] DEC: Switch DECstation systems to rtc-cmos Maciej W. Rozycki
2014-04-19 23:22 ` Joshua Kinard [this message]
2014-05-06  9:54 ` [rtc-linux] [PATCH 1/2] RTC: rtc-cmos: drivers/char/rtc.c features for DECstation support Alessandro Zummo
2014-05-06 22:05   ` Maciej W. Rozycki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53530544.3010308@gentoo.org \
    --to=kumba@gentoo.org \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox