Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-15 Thread Thiemo Seufer
Ralf Baechle wrote: > On Mon, Oct 15, 2007 at 04:05:14PM +0100, Thiemo Seufer wrote: > > > I found Qemu/MIPS locks up in the emulated kernel's calibrate_delay > > function. Switching the kernel option off works around the problem. > > I still haven't patched up the issue which was causing the pro

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-15 Thread Ralf Baechle
On Mon, Oct 15, 2007 at 04:05:14PM +0100, Thiemo Seufer wrote: > I found Qemu/MIPS locks up in the emulated kernel's calibrate_delay > function. Switching the kernel option off works around the problem. I still haven't patched up the issue which was causing the problem for Aurel. Is the slow exe

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-15 Thread Thiemo Seufer
Aurelien Jarno wrote: > Hi, > > As announced by Ralf Baechle, dyntick is now available on MIPS. I gave a > try on QEMU/MIPS, and unfortunately it doesn't work correctly. > > In some cases the kernel schedules an event very near in the future, > which means the timer is scheduled a few cycles onl

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-15 Thread Dor Laor
Paul Brook wrote: There seem to have specific problems when using dynticks in Qemu. What I can see is that it makes the PowerPC emulation quite unusable, at least on my PC, which is an amd64 (with a fix CPU frequency), no matter if I run 32 or 64 bits mode. I'd expect to see the same probl

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-14 Thread Paul Brook
> There seem to have specific problems when using dynticks in Qemu. What I > can see is that it makes the PowerPC emulation quite unusable, at least > on my PC, which is an amd64 (with a fix CPU frequency), no matter if I > run 32 or 64 bits mode. I'd expect to see the same problems running a non-

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-04 Thread Daniel Jacobowitz
On Thu, Oct 04, 2007 at 03:59:42AM +0200, J. Mayer wrote: > > As announced by Ralf Baechle, dyntick is now available on MIPS. I gave a > > try on QEMU/MIPS, and unfortunately it doesn't work correctly. Aurelien is talking about a kernel option... > I tried to disactivate dynticks, just commenting

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-03 Thread J. Mayer
On Tue, 2007-10-02 at 22:06 +0200, Aurelien Jarno wrote: > Hi, Hi, > As announced by Ralf Baechle, dyntick is now available on MIPS. I gave a > try on QEMU/MIPS, and unfortunately it doesn't work correctly. > > In some cases the kernel schedules an event very near in the future, > which means t

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-02 Thread Ralf Baechle
On Tue, Oct 02, 2007 at 10:57:24PM +0200, Aurelien Jarno wrote: > From: Aurelien Jarno <[EMAIL PROTECTED]> > Date: Tue, 02 Oct 2007 22:57:24 +0200 > To: Alan Cox <[EMAIL PROTECTED]> > CC: qemu-devel@nongnu.org, [EMAIL PROTECTED] > Subject: Re: [Qemu-devel] QEMU/MIPS &

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-02 Thread Alan Cox
> Well on real hardware, the instruction rate and the timer are linked: > the timer run at half the speed of the CPU. As the corresponding > assembly code is very small, only uses registers and is run in kernel > mode, you know for sure that 48 cycles is more than enough. What happens on NMI or if

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-02 Thread Aurelien Jarno
Alan Cox a écrit : >> Well on real hardware, the instruction rate and the timer are linked: >> the timer run at half the speed of the CPU. As the corresponding >> assembly code is very small, only uses registers and is run in kernel >> mode, you know for sure that 48 cycles is more than enough. >

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-02 Thread Aurelien Jarno
Avi Kivity a écrit : > Aurelien Jarno wrote: >> Hi, >> >> As announced by Ralf Baechle, dyntick is now available on MIPS. I gave a >> try on QEMU/MIPS, and unfortunately it doesn't work correctly. >> >> In some cases the kernel schedules an event very near in the future, >> which means the timer i

Re: [Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-02 Thread Avi Kivity
Aurelien Jarno wrote: Hi, As announced by Ralf Baechle, dyntick is now available on MIPS. I gave a try on QEMU/MIPS, and unfortunately it doesn't work correctly. In some cases the kernel schedules an event very near in the future, which means the timer is scheduled a few cycles only from its c

[Qemu-devel] QEMU/MIPS & dyntick kernel

2007-10-02 Thread Aurelien Jarno
Hi, As announced by Ralf Baechle, dyntick is now available on MIPS. I gave a try on QEMU/MIPS, and unfortunately it doesn't work correctly. In some cases the kernel schedules an event very near in the future, which means the timer is scheduled a few cycles only from its current value. Unfortunat