| To: | Thiemo Seufer <ths@networkno.de> |
|---|---|
| Subject: | Re: [PATCH] malta4kec hang in calibrate_delay fix |
| From: | Nigel Stephens <nigel@mips.com> |
| Date: | Tue, 04 Sep 2007 13:04:09 +0100 |
| Cc: | "Kevin D. Kissell" <kevink@mips.com>, yshi <yang.shi@windriver.com>, linux-mips@linux-mips.org |
| In-reply-to: | <20070904115527.GA848@networkno.de> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <46DD1CD1.5040306@windriver.com> <006901c7eeda$d8049a50$10eca8c0@grendel> <1188901951.4106.16.camel@yshi.CORP> <006f01c7eee5$bbe77c60$10eca8c0@grendel> <20070904115527.GA848@networkno.de> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | IceDove 1.5.0.12 (X11/20070607) |
Thiemo Seufer wrote: Kevin D. Kissell wrote:??? 2007-09-04?????? 12:03 +0200???Kevin D. Kissell?????????The 4KEc is a MIPS32 Release 2 processor, for which the implementation of the Cause.TI bit (bit 30) is required. You may have a defective board or a bad FPGA bitfile. Please work with your support contacts at MIPS to verify that this is not the case. It may also be that there's something more subtle going on in the interrupt processing, such that the Cause.TI bit is being cleared before it can be sampled by the code you've changed. But while the patch below presumably solves the symptoms of your problem, I really don't think that a kernel hack based on detecting CoreFPA3 is an appropriate solution. I work every day with Malta/CoreFPGA3 bitfiles and have not seen Cause.TI fail to function in any of the Release 2 core bitfiles I've used.My board's core is Release 1 core. So Cause.TI bit always is zero. Maybe I need update this patch to reflect this, i.e add #ifdef to distinguish Release 1 and Release 2. Thanks.In that case, your core is a 4Kc and not a 4KEc. Maybe the probing code should read the ISA revision level from the AR bits (12:10) of the Config0 register to figure out which revision of the ISA is implemented. Nigel |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] malta4kec hang in calibrate_delay fix, Thiemo Seufer |
|---|---|
| Next by Date: | Re: [PATCH] malta4kec hang in calibrate_delay fix, Kevin D. Kissell |
| Previous by Thread: | Re: [PATCH] malta4kec hang in calibrate_delay fix, Thiemo Seufer |
| Next by Thread: | Re: [PATCH] malta4kec hang in calibrate_delay fix, Kevin D. Kissell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |