[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Linux hang in restore_context (PetaLinux v0.30-rc1, kernel 2.6.20-uc0)



Hi Falk,

Brettschneider Falk wrote:

> Hi,
> 
> with my high-IRQ-load user program, I get Linux (latest PetaLinux (v0.30-rc1), kernel 2.6.20-uc0) hangs after a few minutes.
> There seems to be a bad time window that raises a bug in entry.S of arch/microblaze.
> 
> Below is what I see with the xmd tool and in the linker .map file. Obviously, Linux infinitely loops in restore_context. Do you have an idea how that can be fixed?

A couple of things - first of all, make sure you try the MicroBlaze
"tactical" patches from Xilinx that fix a HW error in IRQ triggering
behaviour.  It has been discussed a few times lately.

Secondly, there was a patch posted late 2007/early 2008 that also fixes
an issue that was found in the high IRQ load scenario.   Check the
archives, I'll have a dig tomorrow to find it.  It's committed
internally, but hasn't been pushed out in a public release yet.

Regards,

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/