| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | Re: [PATCH] MIPS: Define __arch_swab64 for all mips r2 cpus (v2). |
| From: | "Maciej W. Rozycki" <macro@linux-mips.org> |
| Date: | Wed, 1 Jul 2009 01:37:04 +0100 (BST) |
| Cc: | David Daney <ddaney@caviumnetworks.com>, linux-mips@linux-mips.org |
| In-reply-to: | <20090629193454.GA23430@linux-mips.org> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1246294455-26866-1-git-send-email-ddaney@caviumnetworks.com> <20090629193454.GA23430@linux-mips.org> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Alpine 2.00 (LFD 1167 2008-08-23) |
On Mon, 29 Jun 2009, Ralf Baechle wrote: > > Some CPUs implement mipsr2, but because they are a super-set of > > mips64r2 do not define CONFIG_CPU_MIPS64_R2. Cavium OCTEON falls into > > this category. We would still like to use the optimized > > implementation, so since we have already checked for > > CONFIG_CPU_MIPSR2, checking for CONFIG_64BIT instead of > > CONFIG_CPU_MIPS64_R2 is sufficient. > > > > Change from v1: Add comments about why the change is safe. > > Thanks, applied. Though this sort of patch make me thing that maybe we > rather should have treated the cnMIPS cores differently. This is a pure code generation option and it asks for "select CPU_MIPS64_R2" under CPU_OCTEON (or whatever option is used for that chip). Or something like "select ISA_MIPS64_R2" actually, as we want to keep CPU_foo as the -march=, etc. designator. IOW it looks like we lack ISA supersetting along the lines of how tools handle it. Maciej |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [BUG] MIPS: Hibernation in the latest linux-mips:master branch not work, yanhua |
|---|---|
| Next by Date: | Re: [BUG] MIPS: Hibernation in the latest linux-mips:master branch not work, Wu Zhangjin |
| Previous by Thread: | Re: [BUG] MIPS: Hibernation in the latest linux-mips:master branch not work, yanhua |
| Next by Thread: | Re: [PATCH] MIPS: Define __arch_swab64 for all mips r2 cpus (v2)., David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |