From: Ralf Baechle <ralf@linux-mips.org>
To: Jonathan Day <imipak@yahoo.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Resetting a Broadcom in software
Date: Thu, 7 Sep 2006 00:32:24 +0200 [thread overview]
Message-ID: <20060906223224.GA12175@linux-mips.org> (raw)
In-Reply-To: <20060906214136.54752.qmail@web31504.mail.mud.yahoo.com>
On Wed, Sep 06, 2006 at 02:41:36PM -0700, Jonathan Day wrote:
> Date: Wed, 6 Sep 2006 14:41:36 -0700 (PDT)
> From: Jonathan Day <imipak@yahoo.com>
> Subject: Resetting a Broadcom in software
> To: linux-mips@linux-mips.org
> Content-Type: multipart/mixed; boundary="0-1897457798-1157578896=:54718"
>
> Hi,
>
> 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
> Swarm.
>
> (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
> -mfused-madd
>
> 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"?
This is not a problem I know of but given your description it sounds very
much like a hardware issue. Can you find about the exact versions of the
1250 on the various board? With the FPU being on chip I would expect
some correlation between the chip revision and this issue.
Ralf
next prev parent reply other threads:[~2006-09-06 22:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-06 21:41 Resetting a Broadcom in software Jonathan Day
2006-09-06 22:32 ` Ralf Baechle [this message]
2006-09-06 22:59 ` Jonathan Day
2006-09-07 1:03 ` Ralf Baechle
2006-09-07 18:28 ` Jonathan Day
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060906223224.GA12175@linux-mips.org \
--to=ralf@linux-mips.org \
--cc=imipak@yahoo.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.