From: Sam Ravnborg Date: Wed, 05 Jan 2011 10:48:03 +0000 Subject: Re: LEON SMP Message-Id: <20110105104803.GA23349@merkur.ravnborg.org> List-Id: References: <4CC714EC.2050001@gaisler.com> In-Reply-To: <4CC714EC.2050001@gaisler.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sparclinux@vger.kernel.org > > I have started working on this timer patch again... > > I tried looking a sun4d and sun4m to get an example of how to implement > this in a better way, however they seem to implement the per-cpu ticker > using hardcoded IRQ number 14 and a custom trap handler for the per-cpu > timer ticker (see bottom of kernel/sun4m_irq.c: sun4m_init_timers()). I am slowly looking into introducing generic IRQ support for SPARC. If I succeed then we will shift to a more dynamic numbering of interrupts - like sparc64 does. Right now I am in a situation where I try to analyse SPARC, existing codebase and genirq in the kernel. So it will take a while before I get anywhere with this. Sam