Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032843AbbKFI0k (ORCPT ); Fri, 6 Nov 2015 03:26:40 -0500 Received: from mail-bn1on0147.outbound.protection.outlook.com ([157.56.110.147]:43962 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1031988AbbKFI0h (ORCPT ); Fri, 6 Nov 2015 03:26:37 -0500 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=freescale.com; Date: Fri, 6 Nov 2015 16:24:31 +0800 From: Peter Chen To: Andy Gross , Greg KH CC: , Alan Stern , , Subject: Re: [PATCH 1/2] usb: chipidea: msm: Use posted data writes on AHB Message-ID: <20151106082429.GA569@shlinux2> References: <1446789847-640-1-git-send-email-agross@codeaurora.org> <1446789847-640-2-git-send-email-agross@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1446789847-640-2-git-send-email-agross@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD044;1:8lbCvI96YQ8/3RcCPp+8/LScxeTwSfmoAP3VC55SZlONS3wNUerpSiplcH9fresV9KqtHAV4o5z6Q+Vo+vycgciutLJaz302sMhMwdTeTVeaZWECyHxdBly80x+XCSX+j+1tqvL0P8JTv6snwNMMemVlvFPLLss1PTQGw6m2/aynzCkPs0B7OA8qvXqcDV7uxaaBiW5kMHpGkFvURXIAaRojW2KVPkH1QtPvKNYYw2a+vJf/8oYmygf2Ck7cPDiMZHsdtQke/TaEPV0jpLypib7Pely+HnkO0y6qZVFU4W65Pv8kxenUgO6IumUs/dOP6kyeEmWk/NMHG7F00xev/mW97QMUoqQyDVV4URR5V2wvblD+NCmBqHtjSrtv0Q7MIJR5vwf+xF/2kk5l9uUvQA== 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)(24454002)(199003)(77096005)(83506001)(5008740100001)(92566002)(104016004)(87936001)(105606002)(19580395003)(33656002)(106466001)(19580405001)(5007970100001)(11100500001)(23726002)(6806005)(47776003)(4001350100001)(5001770100001)(46406003)(50466002)(50986999)(2950100001)(81156007)(97736004)(76176999)(54356999)(189998001)(86362001)(85426001)(33716001)(5001960100002)(5001920100001)(97756001)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1102;SCL:1;SRVR:BN1PR03MB219;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1PR03MB219;2:t2WDLB4Hh8/hh6Ef+gGs2ZApQ3E56NIt4STAo8rlDMU03t6zVHvM3gwb1c1UDe3PaLKkcHj5RexR1OQ7tFZ+MWUPl+pv9lKSB0OgG+p3alO9za2S+UaYCUuprIZ1DV9KEbtW+eZSvGdSRWLaV75OVXN+CLpVHfsUmLm7VgNNLnA=;3:1yJ047KyXuBUo1M/bimgFMxZVyCLXI3OU0V8fiLQKawERvsJ54IrHyceI0madD8hJs79Y94/P1y2AqF+uFd3XqeT1D6BGEjHT1laOJVvFYLcu6g/C8EtkX/CeEiEp1YQHAyLEfb3DD5Vmf/IwAhGAKBrOEXjIALSN30n+I5MwY0E1k9cFp0ctX6pXNLK29Xp0jg/slLYKns/gQXoAnruJUos4MXuK5ru+c1iOw0R3uM=;25:QjQZ782b0w9vnkSIDfj4mPKYQ+LM0bsnVTYZVObMMoMvpfO022x/ZPCluN9lUsjulgAQzOwxbZxsSRIi7RD+CbEDQXuu/2Uxq71dUgeBBJDIPGFbd8rVESpyI7khAwHgAGQB1bWV682o4Ssm0NHdwnLwamewC162XzOpORzC6ZuBe7zp50uw+Kcr6BUrXbDczEko3hRCANjXVhhRkfMmgst2TWs3gxaiqxG7wmDEvJX88M6xCw+P1qIDH32nqMhexWljXnUNJwPQzV5UZbNcQw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB219; X-Microsoft-Exchange-Diagnostics: 1;BN1PR03MB219;20:JEHs89MPFRistPIsB37HDZFxpItUm9cYi2RNbn/YMkxY5TD3sj/hWQjkRJsgZBjWN6E8DcsfsCbjYeRdiHdDVD1tm+FBtPjRqk3WwrRyKM0mZFMo6eiJ/WbS+2gD1T71dRB/o5OOc7WZ13GpTanITnEQR6plIFovPU5xYVZce3lIiSifPd2OS3XhkxOgRaUOqGO4PdKNUJkF/tCCAFeRY66Tt44gJWUaejT6c1dkUJQh4kbzemHbOgIymFA8Zrqxq+qWFuplviq6FisL0o9mKSgyaCU6M6Ct5tfUWod0Oe4T64ozbe6XlgdrmC9v6GWj8zx1OWfSc/Jojyur9XKJJ3R4mez2QPCenY3Q+Rb1d5w=;4:lLCzVlia0PShw36nKKpP0LgIy0PgR+gjIdthhWqAAO/TodjL+i/bS9rckR4iBg21uoJ8Zy+526IPglAlLBrURPFpAHiZuhiaB2dc0LPxpF3R8SJdKZwTJolnebD8IzYXNpQuqhSusD8qq6vp0C9tdkrx7KNvn1T02ey9kNDDbvzs5g72e/Ds4PQqSUjf/jbhRKDiNHvbqAAcfERJScKm9qneHT/Q8LB4Ri6/S84Aq6itHj54qKdVXDTuYNfCuq4GI/PrZEALq2zf2mFqbnaip62xK9A1powbYHagJOZHhUwn9ISm3kzhD1ewNvvTTXcwVXE7nZGuT2T5Ir6qvzRPvqoWREcIQ6BF1Fqsu9akNeiF1woAOsCxJrri26DvOik7 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046);SRVR:BN1PR03MB219;BCL:0;PCL:0;RULEID:;SRVR:BN1PR03MB219; X-Forefront-PRVS: 07521929C1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN1PR03MB219;23:YMRnUq2i8wzprl7yZCBxPtAkbcTvpfu9K5tpq63l0/?= =?us-ascii?Q?I0U3qJuxUvQZxRDTqsDMLqJnQP9zDkT56J3X+EI+atk+EV0qZhKhwXko3Krt?= =?us-ascii?Q?lqYj4LwOWqc/wI3j9/L9yDPOGAELN7tneBBthSMEvmpqGYojlReNkYwfIHnK?= =?us-ascii?Q?S7VZkFL9G1ZeeyitVsR94LHQgCemrG2VihhMF+XzcAZ/fWrYzyTJBCiHdCJ+?= =?us-ascii?Q?8AfsRipy3QcHxMelURfXvSWX++qQUjsAhKTMhTztYgpEizs3zWGCzDwCRx3r?= =?us-ascii?Q?SIzksXjqys1s+XgCMytSJaY0TygbfKLamYqITEpajfFvByFw/IF3lQD2vvZl?= =?us-ascii?Q?G91KN+ymhSCNt469Exf3MIa6sKXfYfqjKE6W69hingkqzrG9IJybaFAFsjbB?= =?us-ascii?Q?B/LQYovn/LNVffa+sDuf3kRCMvENm2fBs73lC3U7aWrYLakppYn5qciyYbON?= =?us-ascii?Q?IEfKtXft6DhG/954GS7cIMu6ZDfn2qIk4RbSOlvQ455U/i5VFtVRwiFv8fyl?= =?us-ascii?Q?3jspBm/rbdIrp0WWh5n37Q3oijryJXl/eIatG0AzXaTcPhtOOHp1dunath2D?= =?us-ascii?Q?an4Pj1+JVpf7TAPtCQRq9CQaVGoN+TWdShSV0UlRzrjU06eviTtIbveUAdjh?= =?us-ascii?Q?kkOfe2FIbVnhEtJGRwBSxO4lNNN+5Ro9AE0FdoeqkM3WUlnH769NbaitbG7P?= =?us-ascii?Q?unoCOg82jZoWJ0xJdW8vCjfG4H94gzSb9wjsuw1NZYXhYtvqWVyxZ1HbOXNm?= =?us-ascii?Q?xKKslqKPB4SnZew7qUqP0ic/aboKDxdTJH/YpSIXSSJg9/ec6q7l3sgCWO8x?= =?us-ascii?Q?oFdhSzZJWeJb0wBqWNU0Ve81SP6/y5Zmjhqt0KVcBbT+SN2X+kK5uvduEIEb?= =?us-ascii?Q?PXTqywNp/zgSD7Btk9NIr1kWEUPTjWEgbsK0CTVdCrmm5y3Vy63N+/fr9iXS?= =?us-ascii?Q?thjkpVLW4+Zw0mt0eylCNmtGOfjptYx+7ZTuM9EwVzdOAp/Z9EJ4ez9k5Dlb?= =?us-ascii?Q?lZmzePn9C5HbI/U54mW8x+uYR9Z+HyufHXH1xIrIbCyMiRNrOkrdODuGAXia?= =?us-ascii?Q?extEGXG0eeN/uVPRZmdRN3JkSSUXaqjy+GxN6VqXxItPOzFZensjPryjFH7o?= =?us-ascii?Q?bjmIiVL5HgfsH/Ma3ZbPC6ZHlTWbVSvRR7ikV9wBT2z/r/fGVuoGFrX9O06i?= =?us-ascii?Q?gsfsr3FCuay6Mka4Bs0ecjVPi4gjN94MGSvzMUqj7oTaTpEw8d/8wOIA=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1;BN1PR03MB219;5:AjLDVwFfOMau7gmE1KJrRuvTVWP41NNEL5zbVy6y9OO7zHI0rsmsGPZxaa+NJn1Tg52B5YBE/bekM8NJsqWJPlM9+xNne5hX3OoBThi3UhWziHURctVPa4J3weOiyv//NkDF432QajmejCHWx140Hg==;24:OxY9WSl3WS1pGIEQqY+aQP7Jo27JK1pCBEWMzfFylW4jA4Sac68uPmjgOM1uxHt4kjkZLIbsJWGN90e5Xhinm4HywX+7remb0FU6c6XG0W0=;20:tW4Bm5hNQmRuV+gaSF4hxZgPBwGdaMEuo7/JS9PFypDXGHNreBaPzzLKhvfh7WYmcE9SQC7iYsY1rUz7jUgMCw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Nov 2015 08:26:34.3482 (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: BN1PR03MB219 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1491 Lines: 42 On Fri, Nov 06, 2015 at 12:04:06AM -0600, Andy Gross wrote: > This patch sets the AHBMODE to allow for posted data writes. This > results in higher performance. > > Signed-off-by: Andy Gross > --- > drivers/usb/chipidea/ci_hdrc_msm.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c b/drivers/usb/chipidea/ci_hdrc_msm.c > index d79ecc0..3889809 100644 > --- a/drivers/usb/chipidea/ci_hdrc_msm.c > +++ b/drivers/usb/chipidea/ci_hdrc_msm.c > @@ -25,7 +25,8 @@ static void ci_hdrc_msm_notify_event(struct ci_hdrc *ci, unsigned event) > case CI_HDRC_CONTROLLER_RESET_EVENT: > dev_dbg(dev, "CI_HDRC_CONTROLLER_RESET_EVENT received\n"); > writel(0, USB_AHBBURST); > - writel(0, USB_AHBMODE); > + /* use AHB transactor, allow posted data writes */ > + writel(0x8, USB_AHBMODE); > usb_phy_init(ci->usb_phy); > break; > case CI_HDRC_CONTROLLER_STOPPED_EVENT: > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > hosted by The Linux Foundation > Greg, another related changes is at host driver, pick it up directly please, thanks. Acked-by: Peter Chen -- Best Regards, Peter Chen -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/