| To: | linux-mips@linux-mips.org, ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH 2/3] MIPS: Remove execution hazard barriers for Octeon. |
| From: | David Daney <ddaney@caviumnetworks.com> |
| Date: | Tue, 12 May 2009 12:41:54 -0700 |
| Cc: | David Daney <ddaney@caviumnetworks.com> |
| In-reply-to: | <4A09D0B1.2030305@caviumnetworks.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <4A09D0B1.2030305@caviumnetworks.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
The Octeon has no execution hazards, so we can remove them and save an instruction per TLB handler invocation. Signed-off-by: David Daney <ddaney@caviumnetworks.com> --- .../asm/mach-cavium-octeon/cpu-feature-overrides.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h b/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h index 04ce6e6..bb291f4 100644 --- a/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h +++ b/arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h @@ -47,6 +47,7 @@ #define cpu_has_mips32r2 0 #define cpu_has_mips64r1 0 #define cpu_has_mips64r2 1 +#define cpu_has_mips_r2_exec_hazard 0 #define cpu_has_dsp 0 #define cpu_has_mipsmt 0 #define cpu_has_userlocal 0 -- 1.6.0.6 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 1/3] MIPS: Allow R2 CPUs to turn off generation of 'ehb' instructions., David Daney |
|---|---|
| Next by Date: | [PATCH 3/3] MIPS: Remove dead case label., David Daney |
| Previous by Thread: | [PATCH 1/3] MIPS: Allow R2 CPUs to turn off generation of 'ehb' instructions., David Daney |
| Next by Thread: | Re: [PATCH 2/3] MIPS: Remove execution hazard barriers for Octeon., David VomLehn |
| Indexes: | [Date] [Thread] [Top] [All Lists] |