From patchwork Tue Sep 22 06:00:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Chen X-Patchwork-Id: 7235291 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 9A8589F725 for ; Tue, 22 Sep 2015 07:15:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9F02A2080B for ; Tue, 22 Sep 2015 07:15:14 +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 566F82083B for ; Tue, 22 Sep 2015 07:15:13 +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 1ZeHlU-0007zL-K3; Tue, 22 Sep 2015 07:13:24 +0000 Received: from mail-bn1bon0136.outbound.protection.outlook.com ([157.56.111.136] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZeHlQ-0007rt-Ny for linux-arm-kernel@lists.infradead.org; Tue, 22 Sep 2015 07:13:22 +0000 Received: from BLUPR03CA006.namprd03.prod.outlook.com (10.255.124.23) by DM2PR0301MB0863.namprd03.prod.outlook.com (10.160.215.149) with Microsoft SMTP Server (TLS) id 15.1.268.17; Tue, 22 Sep 2015 07:12:57 +0000 Received: from BY2FFO11OLC006.protection.gbl (10.255.124.4) by BLUPR03CA006.outlook.office365.com (10.255.124.23) with Microsoft SMTP Server (TLS) id 15.1.274.16 via Frontend Transport; Tue, 22 Sep 2015 07:12:57 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; freescale.mail.onmicrosoft.com; dmarc=none action=none header.from=freescale.com; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11OLC006.mail.protection.outlook.com (10.1.14.199) with Microsoft SMTP Server (TLS) id 15.1.274.4 via Frontend Transport; Tue, 22 Sep 2015 07:12:56 +0000 Received: from shlinux2.ap.freescale.net (shlinux2.ap.freescale.net [10.192.224.44]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t8M7CpUV007735; Tue, 22 Sep 2015 00:12:54 -0700 From: Peter Chen To: Subject: [PATCH v2 2/2] ARM: imx6: change default burst size for USB Date: Tue, 22 Sep 2015 14:00:01 +0800 Message-ID: <1442901601-13738-2-git-send-email-peter.chen@freescale.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442901601-13738-1-git-send-email-peter.chen@freescale.com> References: <1442901601-13738-1-git-send-email-peter.chen@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC006; 1:GOsRUq9mDeeqkTRY9EvNYt/eLvQRqtkZx47d3SgLiWUhkD57LVMzg0ZrT1ohwedy08B3rFECPnvIi709ojAttAVX8cd7wc8JBcPA/Y2/vLrDWsFRo4aGotB4pgBFHFMtmWzlT9jogcz6fCxMCqgH0tSfITLB5kTe69cEJkRlWxHqpRf6HIjmmmGNmwnzchl24Wh+hqWfDz01oEKutpkLyg2uHcjD4s1UjVa0eSn6r1OuiVnPzmQTomury3zn4w7csGnPlL/srnYw6DKHFgUe4Wlg6yp/LvgdCfY6KfDVMRVCjdETlzaV/LtLy8ESs4A2jOt+8oWQnOAZyhmeVY2YXKlQ94TNjAKuPW9tIiStmluTJvlEKxOaMfVJa+v2fU2WxU0uIU7QLvFuIDZY5XJBrQ== X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(979002)(6009001)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(36756003)(68736005)(92566002)(2351001)(48376002)(50226001)(97736004)(19580395003)(4001540100001)(5001830100001)(81156007)(189998001)(77156002)(50466002)(64706001)(229853001)(106466001)(5007970100001)(2950100001)(107886002)(11100500001)(6806004)(46102003)(5003940100001)(87936001)(575784001)(19580405001)(86362001)(50986999)(47776003)(5001960100002)(76176999)(104016003)(5001860100001)(85426001)(105606002)(110136002)(77096005)(62966003)(33646002)(3714002)(4001430100001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB0863; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0863; 2:XNcWQ4UxgBuLYrjDoQlq47y4zUBTlj8mA98/H+IIEb4JNiS9rmODZIwdnYx/JehA6b4P9vljuamZ+jmhqiGvPzsdDabftMPgmh572WXoxvJYD4nzAZtsisUdWrkICQDvYZuiVnmvGEvBTBgAoItEQ6ZR7pT4SFJP0Dll35VxzXo=; 3:/XX9SN6XtiM+YkU7TbQlf84igBQrqZhdQoeG10whqqDv0C0XcZ+PDw/YN3SqcrOeTht6s8zQdJS+elVrFVN5xZFrJkVRPPJbg/JodaWcTc0D3ikb1GqXBkK2OSdtweWpJOT3Jj/n4giKI/7G5k3JygGJisO6zC3sLGPP7Z6daXvlpvLzGOZyG2CTLfHgtD9Qm4XyU+auemfUBuNk8TfALk82sKN/AO/9DUSybhwAdvg=; 25:er1QM62xss8hZV23fwa8HqmmCMO96hnm4CwBMnAO/CG0z2ANUwWv4hxCnR7WBkGyf69gwZ7reB6K1WAQgL2zK3oN8Hh0rsmPvh4gjSJj3k7SUcZRWQ/DLXn1ExhnbFBSzzxvtYY/qRf73F6Y3NiUSsb6rffHVHSyM2Ywj+5erI9GD7hvzEfO2Dn727l6XHQQAgDCdEif/GxvITUjmeti/09hA6Ljz3Uu8SMOwm/x3mV6bXRW2aPnDnaqSl/JmJzSivMjbciXQvDQsk7j61QfdA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0863; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0301MB0863; 20:MlN8j+AC3jekW36LRifCOTHkyzjxtQo0UPobjfLqBBMMS16DB/tGCqDWsTU4Z2ChMfGZUIq4XfsDvQjJxJXOjzQNoJyTf4kVXrRDRuteePWO3QCkAJOu3n0t7y1mkcPsD5hUYk+ChR2RCDKQolOi4k54RZnLnDIzTjopShOhGeo4bjK5r1VfCeZaCfIDhcG1D2Q4GeHgHS/5Lm5XOBLEisuj+0SxiZC75h8nOecBTgvVGZCMkH4bHwMwK/JJICMiq7SFG+e47BMf49H+CFg6joL/MO/Chb2ZHlE6OmYIAm/jL6XEqcbaY5QiaTyGKSyN2YOGCAImqE7qvJB9XSUlUluVl+kSYM0RGqwUMDe6lJA=; 4:6vSoRb3DnDQxgrDiDEjMXcWebLhsB/Wjc4q9hXZih/2WZpuEgW2LJ+TyUgdWjkNHdJYiKCW/9dUZhb03qCuhJ0sgpzQKBViYivwq6VZOjUMMcRke7LOVlbqdBMiqVtb3v+zrufhVh9XkRPwhbiaOVDlBv1o1RK/juxk8abpiMA4E13u0xrGgHoi3KYHFMsch/fLChTwHLDMZLL4SVfMyFLbX0iJa3sgd2meU9sJjo0GYGgiUg94k9pRyU34jEyWqutELDoArHRH6M4XSggYHDzaOSlzSG/91qnLHs6NtUvsskAb3xnchA4OtkJdIHVMweKI/Dz0Ln+k20v+7RszGpMscivbUrF/qKFgS5HeAgJk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401041)(8121501046)(520078)(5005006)(3002001); SRVR:DM2PR0301MB0863; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB0863; X-Forefront-PRVS: 0707248B64 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR0301MB0863; 23:5W5bfw2+jNjHtjjlzb7zTYq9zLDBzdJOtTCN2H0?= =?us-ascii?Q?iYfLpizBj+xbr+YOff/ZMbg3T5z6JudnNEYFoLKVEAhL7hARr90Y7012XJWY?= =?us-ascii?Q?aJNlbZa9V8HZMn7vnubOd4lrigkwjp9/5ePT7R27T/2Qy0y3sq58+npQoLUh?= =?us-ascii?Q?biZ2DuwX1vf4TE9lZ4TH7x0r8KxphoWvjVu1J2WLqPem047zvP+6ebbbDKWg?= =?us-ascii?Q?/CKtGFO9FvqBDfpc6JHpCBZ++nqyjWAIDLK6yu3cdqH6QpiQk+zJ7L+cPECr?= =?us-ascii?Q?LXPfaP3qqxemIHSQ2BOgw1C5kQa1m9soj6Iyod76FSC58DgeonR4vVRrz+vo?= =?us-ascii?Q?lgP5ccAU+yfmd/5sQEh/FvO2A/xUgaxA6LIsHUVMACexw2XAaBMBS0fnyqjw?= =?us-ascii?Q?CE8ZGHYKBM1Ki1vzPEktocODM+NT0lkH6OARi0kyFtYUmZAgrp3sCmzDPzXd?= =?us-ascii?Q?aRh/A/E5YNUxIakuIJJwcZWLTOc07BxpBG+pxEvVsOoTtatT4iIAAGxG9pEB?= =?us-ascii?Q?NLbL+rqeyVghxbj/1Fljul1ur/Isx2ov6E9Iic2Ge9c3RQw94Zg8kutmAarz?= =?us-ascii?Q?5Ebgo4qHCB7cGhopzXmSjWRh5/QJW1mb8rGKVwvTFHaqVM47MfHHalNp7S6o?= =?us-ascii?Q?A9sLy1crHDY61hbg4H7mR0NmgWqLhGkWc+0Db/DLblVLdaQ+Uc3qF+nnQ8ub?= =?us-ascii?Q?7/VA0YPG24r5FjD7YX3AVT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9KZFS/espMSkX2gVXwOyA8HTT/LcY+L3sf64JH1zY2Y69gdo1IsUgl8b4jlJ2/3/bwe8=; 20:wHCnFdItc5x6xRww1RjaJKSp15yktLypvXYm+ztKJJSjeUwQJJZckke8pmF0k5Qei8fsdJRjEIvaA/+IFeIEmQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Sep 2015 07:12:56.7396 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0863 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150922_001321_044593_8F5A0747 X-CRM114-Status: GOOD ( 16.11 ) 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: kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, Peter Chen Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 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 It can improve the USB performance when choosing larger burst size at some systems (bus size is larger), there is no side effect if this burst size is larger than bus size. Signed-off-by: Peter Chen --- Changes for v2: - Applies changes for imx6ul arch/arm/boot/dts/imx6qdl.dtsi | 8 ++++++++ arch/arm/boot/dts/imx6sl.dtsi | 6 ++++++ arch/arm/boot/dts/imx6sx.dtsi | 6 ++++++ arch/arm/boot/dts/imx6ul.dtsi | 4 ++++ 4 files changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 3d04a17..92c5cc0 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -907,6 +907,8 @@ fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; status = "disabled"; }; @@ -919,6 +921,8 @@ fsl,usbmisc = <&usbmisc 1>; dr_mode = "host"; ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; status = "disabled"; }; @@ -930,6 +934,8 @@ fsl,usbmisc = <&usbmisc 2>; dr_mode = "host"; ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; status = "disabled"; }; @@ -941,6 +947,8 @@ fsl,usbmisc = <&usbmisc 3>; dr_mode = "host"; ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi index 057b1d4..2c0faeb 100644 --- a/arch/arm/boot/dts/imx6sl.dtsi +++ b/arch/arm/boot/dts/imx6sl.dtsi @@ -690,6 +690,8 @@ fsl,usbphy = <&usbphy1>; fsl,usbmisc = <&usbmisc 0>; ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; status = "disabled"; }; @@ -701,6 +703,8 @@ fsl,usbphy = <&usbphy2>; fsl,usbmisc = <&usbmisc 1>; ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; status = "disabled"; }; @@ -712,6 +716,8 @@ fsl,usbmisc = <&usbmisc 2>; dr_mode = "host"; ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 70a7c4f..01191c0 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -784,6 +784,8 @@ fsl,usbmisc = <&usbmisc 0>; fsl,anatop = <&anatop>; ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; status = "disabled"; }; @@ -795,6 +797,8 @@ fsl,usbphy = <&usbphy2>; fsl,usbmisc = <&usbmisc 1>; ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; status = "disabled"; }; @@ -808,6 +812,8 @@ fsl,anatop = <&anatop>; dr_mode = "host"; ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; status = "disabled"; }; diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index 654009f..28dcd68 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -536,6 +536,8 @@ fsl,usbmisc = <&usbmisc 0>; fsl,anatop = <&anatop>; ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; status = "disabled"; }; @@ -547,6 +549,8 @@ fsl,usbphy = <&usbphy2>; fsl,usbmisc = <&usbmisc 1>; ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; status = "disabled"; };