[Top] [All Lists]

Resetting a Broadcom in software

Subject: Resetting a Broadcom in software
From: Jonathan Day <>
Date: Wed, 6 Sep 2006 14:41:36 -0700 (PDT)
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024;; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4hWps08PpcZiUxBC8xmMCJ7tkf1LW39Ly1pAwSddZbB5apRZj9tzTjWjchF5iBnVoC6y4X3qf59ijHuaId4ayXGZy5gVUFOYUepB6jtv1iJcO89CgJcMfdqpMj5umoaTEJUm5NFuWhwXt3Wk4vv0MFLuWgr1O0UAHCSIq69b9v8= ;
Original-recipient: rfc822;

A co-worker wrote the following test of the Broadcom's
maths abilities and discovered that it reboots some
(but not all) MIPS processors it has been tested on.
It'll reboot the Sentosa, for example, but NOT the

(Apologies for the ugly coding, btw.)

You just make the first file, the ATL_ file gets
included into it. The compiler flags I'm using are:

-march=sb1 -mabi=64 -fomit-frame-pointer -O3 -mips64

The program doesn't link to anything and no linker
flags are needed.

This begs three questions:

1) What is happening to cause the CPU to reset? (It's
not a kernel bug, it's an actual CPU reset)

2) What is NOT happening on the Swarm, allowing it to
work fine?

3) Is the problem in the category of "preventable in
hardware", "preventable in the kernel", or
"preventable by slowly roasting those coders who write
like this"?

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

Attachment: reboot.c
Description: 2267489636-reboot.c

Attachment: ATL_dmm12x1x12_mips.c
Description: 173074032-ATL_dmm12x1x12_mips.c

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