From: dwalker@codeaurora.org (Daniel Walker)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 06/12] arm: msm: set L2CR1 to enable prefetch and burst on Scorpion.
Date: Thu, 28 Jan 2010 14:59:31 -0800 [thread overview]
Message-ID: <1264719577-5436-7-git-send-email-dwalker@codeaurora.org> (raw)
From: Larry Bassel <lbassel@quicinc.com>
This change improves the following LMBench benchmarks
by over 15%:
System Call Latency
Signal Handling Latency
Fault Latency
Inter-process Communication Latency
Inter-process Communication Bandwidth
Random Number Generation Latency
Acked-by: Steve Muckle <smuckle@quicinc.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Shilimkar, Santosh <santosh.shilimkar@ti.com>
Cc: Nicolas Pitre <nico@fluxnic.net>
Cc: Bohan, Michael <mbohan@quicinc.com>
Signed-off-by: Larry Bassel <lbassel@quicinc.com>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
---
arch/arm/mm/proc-v7.S | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mm/proc-v7.S b/arch/arm/mm/proc-v7.S
index 7aaf88a..3ca5d29 100644
--- a/arch/arm/mm/proc-v7.S
+++ b/arch/arm/mm/proc-v7.S
@@ -2,6 +2,7 @@
* linux/arch/arm/mm/proc-v7.S
*
* Copyright (C) 2001 Deep Blue Solutions Ltd.
+ * Copyright (c) 2009, Code Aurora Forum. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -242,6 +243,10 @@ __v7_setup:
mcr p15, 0, r4, c2, c0, 1 @ load TTB1
mov r10, #0x1f @ domains 0, 1 = manager
mcr p15, 0, r10, c3, c0, 0 @ load domain access register
+#ifdef CONFIG_ARCH_MSM_SCORPION
+ mov r0, #0x77
+ mcr p15, 3, r0, c15, c0, 3 @ set L2CR1
+#endif
/*
* Memory region attributes with SCTLR.TRE=1
*
--
1.6.3.3
next reply other threads:[~2010-01-28 22:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-28 22:59 Daniel Walker [this message]
2010-01-29 1:06 ` [RFC PATCH 06/12] arm: msm: set L2CR1 to enable prefetch and burst on Scorpion Nicolas Pitre
2010-01-29 1:14 ` Daniel Walker
2010-01-29 1:23 ` Nicolas Pitre
2010-01-29 2:38 ` Bryan Huntsman
2010-01-29 6:45 ` Pavel Machek
2010-01-29 10:59 ` Catalin Marinas
2010-01-29 14:33 ` Daniel Walker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1264719577-5436-7-git-send-email-dwalker@codeaurora.org \
--to=dwalker@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.