| To: | Kevin Cernekee <cernekee@gmail.com> |
|---|---|
| Subject: | Re: [PATCH v2 8/9] MIPS: Honor L2 bypass bit |
| From: | Ralf Baechle <ralf@linux-mips.org> |
| Date: | Thu, 21 Oct 2010 13:58:09 +0100 |
| Cc: | linux-mips@linux-mips.org, linux-kernel@vger.kernel.org |
| In-reply-to: | <74b5d3ba9506b2e6d885546bd6dcdaec@localhost> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <74b5d3ba9506b2e6d885546bd6dcdaec@localhost> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
On Wed, Oct 20, 2010 at 08:05:42PM -0700, Kevin Cernekee wrote: > On many of the newer MIPS32 cores, CP0 CONFIG2 bit 12 (L2B) indicates > that the L2 cache is disabled and therefore Linux should not attempt > to use it. I did a bit of research in the meantime. Turns out that some MIPS customers are using their own L2 cache controller. That means a simple check by the CPU PrID is not sufficient and we will need some sort of platform-specific probe, sigh. I've moved all the code your patch adds to a separate function and added a comment so at least people working on platforms with different L2 conntrollers will have a small chance of figuring out what mine blew up under their feet. Ralf |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH resend 5/9] MIPS: sync after cacheflush, Gleb O. Raiko |
|---|---|
| Next by Date: | Re: [PATCH resend 9/9] MIPS: Allow UserLocal on MIPS_R1 processors, Ralf Baechle |
| Previous by Thread: | [PATCH v2 8/9] MIPS: Honor L2 bypass bit, Kevin Cernekee |
| Next by Thread: | Re: [PATCH v2 8/9] MIPS: Honor L2 bypass bit, Kevin Cernekee |
| Indexes: | [Date] [Thread] [Top] [All Lists] |