From patchwork Tue Nov 22 02:45:52 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mans Rullgard X-Patchwork-Id: 5255 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 205F023E14 for ; Tue, 22 Nov 2011 02:47:47 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 0695BA18500 for ; Tue, 22 Nov 2011 02:47:47 +0000 (UTC) Received: by faaa26 with SMTP id a26so11780478faa.11 for ; Mon, 21 Nov 2011 18:47:46 -0800 (PST) Received: by 10.152.135.225 with SMTP id pv1mr10502101lab.19.1321930066651; Mon, 21 Nov 2011 18:47:46 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.41.198 with SMTP id h6cs157248lal; Mon, 21 Nov 2011 18:47:46 -0800 (PST) Received: by 10.180.3.37 with SMTP id 5mr16528561wiz.43.1321930064466; Mon, 21 Nov 2011 18:47:44 -0800 (PST) Received: from unicorn.mansr.com (unicorn.mansr.com. [78.86.181.103]) by mx.google.com with ESMTP id fh16si5740227wbb.37.2011.11.21.18.47.43; Mon, 21 Nov 2011 18:47:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of mru@mansr.com designates 78.86.181.103 as permitted sender) client-ip=78.86.181.103; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of mru@mansr.com designates 78.86.181.103 as permitted sender) smtp.mail=mru@mansr.com Received: by unicorn.mansr.com (Postfix, from userid 51770) id 1F71B16114; Tue, 22 Nov 2011 02:47:43 +0000 (GMT) From: Mans Rullgard To: andy.green@linaro.org Cc: linaro-dev@lists.linaro.org, patches@linaro.org Subject: [PATCH 4/5] OMAP4: set PL310 prefetch offset to 3 Date: Tue, 22 Nov 2011 02:45:52 +0000 Message-Id: <1321929953-5956-5-git-send-email-mans.rullgard@linaro.org> X-Mailer: git-send-email 1.7.7.4 In-Reply-To: <1321929953-5956-1-git-send-email-mans.rullgard@linaro.org> References: <1321929953-5956-1-git-send-email-mans.rullgard@linaro.org> According to the PL310 TRM, 9 is not a valid value for this field, and benchmarking shows slightly better results with a value of 3. Signed-off-by: Mans Rullgard --- arch/arm/mach-omap2/omap4-common.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c index be74f78..8f33746 100644 --- a/arch/arm/mach-omap2/omap4-common.c +++ b/arch/arm/mach-omap2/omap4-common.c @@ -32,7 +32,7 @@ #include "omap4-sar-layout.h" #ifdef CONFIG_CACHE_L2X0 -#define L2X0_POR_OFFSET_VALUE 0x9 +#define L2X0_POR_OFFSET_VALUE 0x3 void __iomem *l2cache_base; #endif