Re: Periodic RTC interrupt

From: Jan-Benedict Glaw (jbglaw@lug-owl.de)
Date: Sun Feb 20 2000 - 06:00:23 EST


On Sun, Feb 20, 2000 at 03:29:12AM +0100, Andrea Arcangeli wrote:
> On Sat, 19 Feb 2000, Jeff Garzik wrote:
>
> >RTC interrupt on Alpha platform? You might as well disable the entire
> >driver at that point IMHO...
>
> You are right, I am the one who changed the rtc device.
>
> RTC is the official alpha timer clock. It's a very special irq on alpha
> delivered throught a special pin and a special case in the irq code. We
> have to use it as irq clock on alpha SMP. In 2.2.x we are now forced to
> use an unofficial rtc-light patch to make alpha-SMP to work correctly.
>
> The reason the rtc device still make lots of sense on alpha even if
> doesn't own the rtc interrupt is that it allows hwclock to play with the
> RTC time settings.

And this seems to be a problem... I've got an one-processor Alpha system
(NoName) and building RTC as a module makes it unuseable: timer (normally
on IRQ0) is set to IRQ8 then. But with an used IRQ8, the RTC module
refuses to load;( For now, I'm patching each 2.3.x build in
./include/asm/hw_irq.h to leave timer on IRQ0 and RTC on IRQ8 _because_
w/o loaded RTC module the machins starts up in 205[0-9];( I think on
UP machines the old IRQ scheme shouldn't be touched. On SMP Alphas, you
may reorder everything;)

MfG, JBG

-- 
Fehler eingestehen, Größe zeigen: Nehmt die Rechtschreibreform zurück!!!
keyID=0x8399E1BB fingerprint=250D 3BCF 7127 0D8C A444 A961 1DBD 5E75 8399 E1BB


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:25 EST