| To: | Linux-MIPS <linux-mips@linux-mips.org> |
|---|---|
| Subject: | [PATCH] MIPS: DB1200: Set Config_OD for improved stability. |
| From: | Manuel Lauss <manuel.lauss@googlemail.com> |
| Date: | Thu, 10 Feb 2011 15:17:08 +0100 |
| Cc: | Manuel Lauss <manuel.lauss@googlemail.com> |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=8gk8PV5Q2SillZvZ8W98zFlyBu0r1L9d5dUB+Y/tWmk=; b=A5Jy8uI2WKO4OtFy0nn3mJh4a5zwPaensWWGWqwPw50GMW11FISmGDmnq/u/m73CV3 suok6QB49X8R4i/HrgTMI7oR0W1QVmcsNP5lv+DVyfc1LJnCAZ786Kss4EMSg/fmkiLF 5IvKxA5VLWCCj8BpEZ37NFPxoKVQfhUHoL9s0= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=LJrGOa6nkLK5Lw3A0ExNCVYrA5YHGMmI/D/Fk02seqycPMZjjn7WuJsF8wPMupep/2 KyBWUwSN7bnwdZoFm77ZMQoNvWETTmxwphkA6CZSZ6z7j4/fKDttFA03Ve5ihHrcn95x CV4PfN0b6qhLeSlkVeLCypTjnJWjxLnAbqukE= |
| In-reply-to: | <1297347429-18215-1-git-send-email-manuel.lauss@googlemail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1297347429-18215-1-git-send-email-manuel.lauss@googlemail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
Setting Config_OD gets rid of a _LOT_ of spurious CPLD interrupts,
but also decreases overall performance a bit.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
---
arch/mips/alchemy/devboards/db1200/setup.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/arch/mips/alchemy/devboards/db1200/setup.c
b/arch/mips/alchemy/devboards/db1200/setup.c
index 8876195..a3729c9 100644
--- a/arch/mips/alchemy/devboards/db1200/setup.c
+++ b/arch/mips/alchemy/devboards/db1200/setup.c
@@ -23,6 +23,13 @@ void __init board_setup(void)
unsigned long freq0, clksrc, div, pfc;
unsigned short whoami;
+ /* Set Config_OD (disable overlapping bus transaction):
+ * This gets rid of a _lot_ of spurious interrupts (especially
+ * wrt. IDE); but incurs ~10% performance hit in some
+ * cpu-bound applications.
+ */
+ set_c0_config(1 << 19);
+
bcsr_init(DB1200_BCSR_PHYS_ADDR,
DB1200_BCSR_PHYS_ADDR + DB1200_BCSR_HEXLED_OFS);
--
1.7.4
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH RESEND] MIPS: Alchemy: update inlinable GPIO API, Manuel Lauss |
|---|---|
| Next by Date: | [PATCH] Alchemy: irq: replace au_readl/writel accessors., Manuel Lauss |
| Previous by Thread: | [PATCH RESEND] MIPS: Alchemy: update inlinable GPIO API, Manuel Lauss |
| Next by Thread: | Re: [PATCH] MIPS: DB1200: Set Config_OD for improved stability., Sergei Shtylyov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |