[Top] [All Lists]

Re: SMTC support status in latest git head.

To: "Anoop P.A." <>
Subject: Re: SMTC support status in latest git head.
From: Ralf Baechle <>
Date: Thu, 9 Dec 2010 17:07:48 +0000
Cc:, "Kevin D. Kissell" <>
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.5.21 (2010-09-15)
On Wed, Dec 08, 2010 at 05:48:48AM -0800, Anoop P.A. wrote:

> Any body is aware of SMTC support status in latest git sources?. I have tried 
> testing SMTC kernel for malta in qemu / OVP without any success ( emulators 
> not working for 34k). 

Correct.  MTI's MIPSsim is the only simulator that supports multithreading

SMTC is not terribly popular so doesn't receive the regular testing it should
because it's also a complex beast.

> I am trying to bring up SMTC Linux support for an mips34K based soc ( MSP71xx 
> family).
> While booting , kernel getting hung on calibrate loop delay. I am getting 
> only one interrupt from timer. With similar smtc platform support file (  
> changed to map smp_ops structure)  2.6.24-stable branch kernel ( where latest 
> timer structure introduced) boots fine. 

Timer interrupts work differently in SMTC.  Each CPU needs a clock event
device, that is an interrupt timer but the CPU core is restricted to just
one per VPE so in typical SMTC setup multiple CPUs aka TCs will have to
share an interrupt timer.  The way this works is that one of the TCs
associated with a VPE will take the timer interrupt and forward it to
the other TCs associated with the same VPE (if any) through a software
IPI mechanism.  The race conditions that need to handled to make this
work are ...  interesting.  Your problem seems to be simpler as you only
get a single timer interrupt.


<Prev in Thread] Current Thread [Next in Thread>