| To: | Ralf Baechle <ralf@linux-mips.org> |
|---|---|
| Subject: | [PATCH v4 3/4] Loongson-2F: Flush the branch target history in BTB and RAS (cont.) |
| From: | Wu Zhangjin <wuzhangjin@gmail.com> |
| Date: | Wed, 7 Apr 2010 21:11:53 +0800 |
| Cc: | linux-mips@linux-mips.org, Wu Zhangjin <wuzhangjin@gmail.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:in-reply-to:references; bh=uZWwT2a0zCcz5+9PmRR/o5+evszG5Dxs04VVpLfjHKc=; b=M3LZdhPN0Iaxi8iYfFFCSXys2tTXOJcD/sZgR41VAndpvHypgegKUt0+SILaCWcDn+ PqMnD5RxKomXJF2Pt3kM1T3UdGYaiGRZNBByAswkIf0s4U6AYl/6FQ8r9Boy5oeEg29X Ew+NqRhNnqlCuxhnJMAtj3/x/0v5lmwUTPOs8= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=K4rBBPuI01Zs9KjhpmvN/6olaph+7XUctZd4e5TjUkCVthDdzr2igLlsqUSLa8EByr axJoEa+CfJpDUbFhHIvDMaH9qu00sVIWoUewF8nkuvdksgRQ4cgxmoaw5Fi8UHG6tEJD VCLzVr2Wubr9MCoFfRRPkqtwqsRZlgHNn9vr4= |
| In-reply-to: | <cover.1270645413.git.wuzhangjin@gmail.com> |
| In-reply-to: | <cover.1270645413.git.wuzhangjin@gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <cover.1270645413.git.wuzhangjin@gmail.com> |
| References: | <cover.1270645413.git.wuzhangjin@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
From: Wu Zhangjin <wuzhangjin@gmail.com>
This patch uses the new option CONFIG_CPU_JUMP_WORKAROUNDS introduced
from "Loongson: Add CPU_LOONGSON2F_WORKAROUNDS" to enable the
workarounds for the necessary loongson series(2F01/02).
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
arch/mips/include/asm/stackframe.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/mips/include/asm/stackframe.h
b/arch/mips/include/asm/stackframe.h
index c841912..58730c5 100644
--- a/arch/mips/include/asm/stackframe.h
+++ b/arch/mips/include/asm/stackframe.h
@@ -121,7 +121,7 @@
.endm
#else
.macro get_saved_sp /* Uniprocessor variation */
-#ifdef CONFIG_CPU_LOONGSON2F
+#ifdef CONFIG_CPU_JUMP_WORKAROUNDS
/*
* Clear BTB (branch target buffer), forbid RAS (return address
* stack) to workaround the Out-of-order Issue in Loongson2F
--
1.7.0.1
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH v4 2/4] Loongson-2F: Enable fixups of the latest binutils, Wu Zhangjin |
|---|---|
| Next by Date: | [PATCH v4 4/4] Loongson-2F: Fixup of problems introduced by -mfix-loongson2f-jump, Wu Zhangjin |
| Previous by Thread: | Re: [PATCH v4 2/4] Loongson-2F: Enable fixups of the latest binutils, Wu Zhangjin |
| Next by Thread: | [PATCH v4 4/4] Loongson-2F: Fixup of problems introduced by -mfix-loongson2f-jump, Wu Zhangjin |
| Indexes: | [Date] [Thread] [Top] [All Lists] |