From patchwork Thu Jul 16 21:14:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dinguyen@opensource.altera.com X-Patchwork-Id: 6811421 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 254499F380 for ; Thu, 16 Jul 2015 21:23:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4365020527 for ; Thu, 16 Jul 2015 21:23:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5572120684 for ; Thu, 16 Jul 2015 21:23:31 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZFqaZ-0003kU-7D; Thu, 16 Jul 2015 21:21:07 +0000 Received: from mail-by2on0065.outbound.protection.outlook.com ([207.46.100.65] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZFqaV-0003e3-S5 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2015 21:21:04 +0000 Received: from DM2PR03CA0005.namprd03.prod.outlook.com (10.141.96.15) by BLUPR03MB117.namprd03.prod.outlook.com (10.255.212.15) with Microsoft SMTP Server (TLS) id 15.1.213.14; Thu, 16 Jul 2015 21:20:43 +0000 Received: from BY2FFO11OLC007.protection.gbl (2a01:111:f400:7c0c::158) by DM2PR03CA0005.outlook.office365.com (2a01:111:e400:2428::15) with Microsoft SMTP Server (TLS) id 15.1.219.17 via Frontend Transport; Thu, 16 Jul 2015 21:20:41 +0000 Authentication-Results: spf=fail (sender IP is 66.35.236.236) smtp.mailfrom=opensource.altera.com; pengutronix.de; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of opensource.altera.com does not designate 66.35.236.236 as permitted sender) receiver=protection.outlook.com; client-ip=66.35.236.236; helo=sj-itexedge04.altera.priv.altera.com; Received: from sj-itexedge04.altera.priv.altera.com (66.35.236.236) by BY2FFO11OLC007.mail.protection.outlook.com (10.1.14.254) with Microsoft SMTP Server (TLS) id 15.1.213.8 via Frontend Transport; Thu, 16 Jul 2015 21:20:40 +0000 Received: from na01-bl2-obe.outbound.protection.outlook.com (207.46.163.210) by webmail.altera.com (66.35.236.236) with Microsoft SMTP Server (TLS) id 14.3.174.1; Thu, 16 Jul 2015 14:19:59 -0700 Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; Received: from linux-builds1.altera.com (64.129.157.38) by BLUPR03MB1361.namprd03.prod.outlook.com (10.163.80.27) with Microsoft SMTP Server (TLS) id 15.1.207.19; Thu, 16 Jul 2015 21:20:32 +0000 From: To: , , , , Subject: [PATCH] ARM: dts: socfpga: enable the data and instruction prefetch for the l2 cache Date: Thu, 16 Jul 2015 16:14:28 -0500 Message-ID: <1437081268-19225-1-git-send-email-dinguyen@opensource.altera.com> X-Mailer: git-send-email 2.4.5 MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BN4PR15CA0001.namprd15.prod.outlook.com (25.164.54.139) To BLUPR03MB1361.namprd03.prod.outlook.com (25.163.80.27) X-Microsoft-Exchange-Diagnostics-untrusted: 1; BLUPR03MB1361; 2:XuL+/wfB2qfS6Vy1meVyUiG3F7v8tltSkbTfdEjCV2pSkvkbFBmI8HuTMJCG5Wii; 3:5jHD7hcfHjVrP43MNuCQMyQuZcSoCJXLE86MyS/4UJqXz2qIwQ6sUYqj053+Rqpn6Q1/gjSyzbgA8kFT0buAUfHEQ7UBe5GJNE1riBzlpLSuXLmSiLlZp8y39tnfrekUpt+v4jafPuF0UWEzBpMeIw==; 25:UH+r6gnMJy7vFpvxE4FwHuejyH6SUdKGOm9X/V9ECp9qw3g873T9DGSs91FzDhia7hdsFilNNn8o34vKJiQlWK9a/Ebs8XFpHWh0SHnk5EKVRmPdy6AEP9+NqU/k0dh+AjsGVWds0wqQROk4mBhdD7DPjXeIkfop9vo/7h8YztW0B3RH/sTaxBPhfL9N7/P/dyAE24CJ/Mfg4h9WxHwr9BqC9eN3kbH7M2DZ2x651sLcI/sFWbSHY9flk0scun963UHjMtvLMnRsGF7mwTLwVA==; 20:KHn/hrdDMVpSKPd/UX9ppoGxY7/MXQyv/S1avWqyc6kv6diezC7TAWgc5QQIdzM0ydoWaUFH5WwhW1+0CPwEDA06xF8DXLQy7uunFCVNFKkBSHI58hCFnw0F8K2bVBpa4Qk39xgEI7rsXOnFGtFyib3NQZm0y7gjWXJe5G+m9GM= X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB1361; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB117; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:;UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BLUPR03MB1361; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB1361; BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BLUPR03MB117; BCL:0; PCL:0; RULEID:; SRVR:BLUPR03MB117; X-Microsoft-Exchange-Diagnostics-untrusted: 1; BLUPR03MB1361; 4:GO9ZKC203OPXe3VwF0OhuU93A+kjmEA6MhRrIoOlDhgPGhw7LYFe8U5BUuh+ZGBrdnhfQXESykcOGz4mOgh69Y/zEQQJMbMMP9KGNBVwdLhG4bV1I4TWdGQRDKyNqD8+hRWBma0nwtk90jwAl8V9VFIV5f9a2BIFDzls7tz6mdX5MKTO3Tf6btE9UZ+EXcNXyqg2zevCp3Rwyab6jS7P6JH/OFGpTvwgH7BZXlOP/QNKWMXanDv494I7my3+uIJW8mCNPL6FpkZwb1M3ZKYCgph5fRN1WHpV8/sC+Vzc3u8= X-Forefront-PRVS: 0639027A9E X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(6009001)(42186005)(48376002)(40100003)(19580405001)(5001770100001)(122386002)(19580395003)(77156002)(92566002)(53416004)(66066001)(86152002)(86362001)(77096005)(2201001)(33646002)(47776003)(229853001)(62966003)(87976001)(50986999)(50466002)(46102003)(5001960100002)(5003940100001)(189998001)(107886002)(50226001)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB1361; H:linux-builds1.altera.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: 1; BLUPR03MB1361; 23:25bSUzWJvdlln5+4nzzNCXtLGVRbLaUVUwV+Q1TUKyAsVrJLYkoEzlMyEO0tVMFCKqDXv3voOU5bnKBtROEvaEnE2hT6ogTsV03EZFeInI4AMLLaSQ1KURuG0Bgc/qcliqAC4a3N/gQ0SAH/kQKqK85mZR0BXBhzkNtmntcQdTdzN32nDQTEKWRclf2HbhGhARjaFm1alh6oabF1KJeW2RP8Ff3E9ZEEemOQWcZW6Wm4jnWN10N1Ce/3u4iYNs78LAA37RG1rxSeJ5Q9F9K9LhwJbmPnUBlBpGnh7XDz80oJYWMWIfNqRQdcSPjm7yhFD45AjYr+YPUCOjdbqG5HTKne+sYA7JOHpSkSCJQG4471lxp7Xi9pNnI2ScT9RZSuuo2FWdrcQQQ/FKSu7P5OnWjSDCCkh9VnLY+TwmbLNV7lVWHe1V618XowG8z3liBJaeDXJRNXf4LVmIcHy+fc50k4xfS/sJ6h5Cf5HerKx5o0dPP0imi4eILhQYC+QhZlsSFFKwks1K0cZM+AgOdQLmZNIuz3ZBH9N5JlsX+tHepKk2fA9YHAXurO995eFXiNvFxfCP3eCEgNwI4/WCEniJLG/rICRTF66uDyxBcqpOl1XPfAl16uQJuvL3MHVPvsDXSIObSWufHeJM1+QBNCgrn+uZjPlYzVIFyqhl8AzP/NmdgxUQHT9Tdv1pynm7d8GziWiCcLTPRxrR6nmiAIDhdn0L014U/sGdxb/cglCDLYgqDCFccxE6FaNVVifFzA1nFrP6f5dRSjH5TVXVYtU3SS+Ncw6PG3uRw0spaJqTrw8RMV9WzqsuV5rH79usdJfIMAwi1fU16JsP6bifNTuAnRRdGtuRQAx5Gm9Hy8qSE= X-Microsoft-Exchange-Diagnostics-untrusted: 1; BLUPR03MB1361; 5:ixYM/GJDiQj4Ei2jNYETA4sPnKT+d8wBIPL7T5l6I1TXNgYo9si6dbtCZVyzDh0Xb2iePXDLsWsdm+jHX2yN+GaC/G3G/jGO0Ad8b+/vbWz1XhurYDZ7mPssjntWPLQfqYr4VFFbudoZboXnURCJXg==; 24:f2zaoTKxpXLeeWxW8Cv5W4Pob6MHiOu6DrnyvV3xaq0QNVI2qY2J3zOgYBm2FkmWsNmVUjvgAxcsBkVqN26beKhEKKtfLAJFQjkit3VOQ4U=; 20:6g3DfTk1zsu0uvrzdvXBx677IIM1Vja2Vo15jSYsw8YiqNQEr3vdxv2XNLpX2MxlSvWzWsyIju5BtU2479pJzxjt4g3bu5/T469ZZ0lNVDpAorAyUY3XYObPCRKVSx0Jp12lwb3O0tZ+cmqSzm5ZS5QcTbJw3zIK+Q4olJ/FCac= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1361 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BY2FFO11OLC007.protection.gbl X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC007; 1:061PhxC0xFlrhBcAYQaxCQPjMsCNowZy7G05r/Ut86eFj5XVU6wKsplu5veCHR/FHu0VPaHKWcYN8pF4jcXXr+lapdlHyJWWhL6hADaZJogqvYlgSnp+DjRBUZHaSEg1nVZKxk3VvWVsMOJXokMzQge4UPh6O7usXgt30MNcZjd5FZm544CBUdu73VhZZXIkuFvBA6AYWCM+w0oP9w4e/UnKKfQykWhZgwkOYiyAwQx8DSQrYG6kG2lwRGx1uERgqNUNZWlMer2mgKDf1KMxqz++bUdzuTRy67RQJ+mcfiQ5+s7kSRl77nb0AzjLKJtmSElSg/ig0P7RiVkx5nrdOaoAP93kA0tnikShVo8eUIT1q3PfwZRNivtmNM+JCRgg6o2rlx/vLa2UpF9w/PGgguaVEipM3dGClxfYAYY9gqE= X-Forefront-Antispam-Report: CIP:66.35.236.236; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(339900001)(189002)(199003)(19580405001)(19580395003)(6806004)(85426001)(50226001)(48376002)(86362001)(53416004)(5001770100001)(106466001)(2201001)(87936001)(50466002)(92566002)(107886002)(189998001)(5003940100001)(5001960100002)(46102003)(86152002)(16796002)(77096005)(77156002)(40100003)(33646002)(50986999)(122386002)(62966003)(47776003)(229853001)(66066001)(7099028)(4001430100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB117; H:sj-itexedge04.altera.priv.altera.com; FPR:; SPF:Fail; MLV:sfv; MX:1; A:0; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB117; 2:j6+GlyDHa0rXwvk1C7dksVJmmYfWCBnc7UuRcWynkvp+fAOgZhWxNN7TV783jKu5; 3:lR/WxgJGqDqga+wA/0e0gfuGm0jm7CH3ejE0+ZCqd2vxxFPOhq6W0PJBrEx9WpHXB8MIzGL5Ywe1YS8+R/R5aUBNVWD6XEGzmqJ9A0hL+v4ma9jvdNhxNmRop6EOrElxPXTJBlLN30PzOjT7S3FKbebGHyaXcDYJZEXTx/hnLsRHW1lPO6QxVQVo1TGJJ5YuLUEFIHrw0HO/dmP10VAiGjU5b931c2LOOHEM/NjdsWc=; 25:MusGxyiOzUyJCqBclSH/5y+EsVpZAZl3yAkjzH4s3jbU+ph0DEiuWqW4FReTdIf8MrFv9iFqsUqcs3ZRKiqEm7OuqtwcGWZihAnBktCEVviWjnvMmdF/NC7oS2ln5I+m0i2dNLdczr5Y2Pv6g/CHYksr/eVGJddq0eLSeeUDWrKSCEIabIYghjJv5KPxttuBxHt85GMgm56JRCdxWers2AJhw6c8GWVi2CFirbmEeKUMzApQ+a0FRf+aQl7AKr8WZjMvTOeLW/pj07SoPi/cgg==; 20:0fx8jYTtA5BGbP8M1tBuJvorzDLfBcc9q2+/YXl7QOXAIOooXsG54gZn0ZRSUJCqLPo2j8az6Mj2lBS8y/NdrZLQLbg2OFufKH14JON52tFLAkt7jRHm+cbyirlKiY0SfYfJOAbeqSPFTGgImYs6mwf64vNdHrZLfS38LPim19s= BLUPR03MB117: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Exchange-Diagnostics: 1; BLUPR03MB117; 4:eyGZpLjv3/UsLi64JScm8Ik+dEdSRx+PVv7X1kmiLP3NKWcgNUgGj3DsQ0KXlm0Ln4BwW/6LSP7qi/uS1aT/ny0kM+UXUoykD+dNaHP7apY5KPdTZ2bFV9auo7tO6yV7yjBG42CROOHxPa9+Mnx8UMr0iUh2ZXZ9Ctq99sS0I2fxj1ols8o+ZPTfTo7hpkind+N61YDJ4bZKHo3l/22vDNXDC3jmi2Z/v1QdUmFNUNVelEV2xqr2woioKLTdYtkyml3WBWtFS/TKLoFkqmlaLiK63cOrc3jYuuTnR+5Bzpc= X-Forefront-PRVS: 0639027A9E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR03MB117; 23:rkaacQsTzSiM3+iMaHbInVeSeQejmZzeEdIJPz3rpD?= =?us-ascii?Q?ixdumyFssimpqzaitkTgAPrep/+Gjy/yVOdf8iMP5atvwEcBm43qFimaApzF?= =?us-ascii?Q?RPiaBzJ4QdwjPp1otAl9TlbuHh/FgVocMseEr7xl1hBXrPzhsabZLUIEu9Br?= =?us-ascii?Q?jBMQGipP126FaQOOXzH82Xr5I47EHHsCcMbsKsULAeVbUp83A/MQwP8OOtWw?= =?us-ascii?Q?CfDSnt9NHppcClUz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SAGXHqjLRryiyNdnhu0HgwEgbnveSxF1oDMyGD1XI9FcByvw3V8JQ2w1506DzpbAeaxQDqRQ2hcKjUlQ==; 24:ZySYXJI2oUMpEWIuQ5sWmD4iZn9Cm4V2sGMfyumPOZgPxQGIXPwjLI4iFTCQ9w6Xs9Wo3yMAvckZrDw1VYF0xQalJedjxowF5y5gaYQwJIo=; 20:2IhnnsE7B2ALoLoxknDdqOz7UzFwopuUxzitzfAn2l1Hetishtn/SR/8nNb2xrC44DDk+ydCmNtnI1FCaavYrVDbhF6d9jO5RNreOEqCv7Svq7kEki7WUlVDEbzD0XJ48y2ffyJZ2VTXatNiiYo3HI8ECoV1+w6fO4nLCxbuNFE= X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jul 2015 21:20:40.8336 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a; Ip=[66.35.236.236]; Helo=[sj-itexedge04.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB117 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150716_142104_000171_74F33B42 X-CRM114-Status: UNSURE ( 7.20 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Dinh Nguyen , s.trumtrar@pengutronix.de, dinh.linux@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Dinh Nguyen Just in case the firmware did not enable data and instruction prefetch in the L2 cache controller, we enable it in the kernel. Signed-off-by: Dinh Nguyen --- arch/arm/boot/dts/socfpga.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi index 80f924d..1e3c833 100644 --- a/arch/arm/boot/dts/socfpga.dtsi +++ b/arch/arm/boot/dts/socfpga.dtsi @@ -639,6 +639,8 @@ cache-level = <2>; arm,tag-latency = <1 1 1>; arm,data-latency = <2 1 1>; + prefetch-data = <1>; + prefetch-instr = <1>; }; mmc: dwmmc0@ff704000 {