From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752808AbcJVGXF (ORCPT ); Sat, 22 Oct 2016 02:23:05 -0400 Received: from mail-db5eur01on0054.outbound.protection.outlook.com ([104.47.2.54]:53239 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751836AbcJVGXC (ORCPT ); Sat, 22 Oct 2016 02:23:02 -0400 From: Sriram Dash To: Stephen Boyd , Bjorn Andersson CC: Peter Chen , Greg Kroah-Hartman , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , Arnd Bergmann , Suresh Gupta , Leo Li Subject: RE: [RESEND PATCH] usb: chipidea: Configure DMA properties and ops from DT Thread-Topic: [RESEND PATCH] usb: chipidea: Configure DMA properties and ops from DT Thread-Index: AQHSK7yLM3Sa0ICm/EGGKu3deunG/qCzLGOAgADUKtA= Date: Sat, 22 Oct 2016 06:22:38 +0000 Message-ID: References: <1456119133-16114-1-git-send-email-bjorn.andersson@linaro.org> <1477069159-12399-1-git-send-email-bjorn.andersson@linaro.org> <20161021173827.GJ26139@codeaurora.org> In-Reply-To: <20161021173827.GJ26139@codeaurora.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=sriram.dash@nxp.com; x-originating-ip: [116.75.223.217] x-ms-office365-filtering-correlation-id: 2030ac8b-0c52-41c9-39fd-08d3fa43d241 x-microsoft-exchange-diagnostics: 1;VI1PR04MB1133;7:EZfEAFLBS6mPU7sdSnErY4ggET73WdS7uW9AyHydACKbzwOnVZ1EAdmTEX8iJz0Ymst3GBtIbnM/xqfa0SSEewzM58ax63BOoj9meF/HmiZIdHyiMk+hxqjQ/jTymS3rNWXgJVsXbn6lPixUeRmiwg3OWYLqDswftCNjjtJXDCBlzJPIZ6f4mV/UoAoxWz5Gy+72vWBF+IN/3bD1sjuFoVcFq+xEMxT1BVEvUCd2JHn62mGoEfwYCRxv5inyD1sY4s5Y/YgbIDHBH3VBA60qHNpk7OylAZD9tir2wHWe1wMralv7w4v+zwVfmix6mhrQNKie6EfN2XsdAIdp5olH0Hw7sHTrkcRlEwAuHAhBBik= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR04MB1133; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026);SRVR:VI1PR04MB1133;BCL:0;PCL:0;RULEID:;SRVR:VI1PR04MB1133; x-forefront-prvs: 01039C93E4 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(7916002)(189002)(24454002)(199003)(92566002)(2950100002)(8936002)(106356001)(8676002)(86362001)(2900100001)(15975445007)(105586002)(81156014)(74316002)(106116001)(81166006)(189998001)(50986999)(66066001)(5660300001)(54356999)(76176999)(122556002)(5002640100001)(7736002)(7696004)(586003)(4326007)(9686002)(19580405001)(33656002)(19580395003)(101416001)(5001770100001)(3846002)(2906002)(77096005)(3280700002)(102836003)(6116002)(68736007)(7846002)(3660700001)(76576001)(87936001)(305945005)(10400500002)(97736004);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB1133;H:AM4PR0401MB1921.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2016 06:22:38.5764 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1133 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.home.local id u9M6NG7s006835 >From: Stephen Boyd [mailto:sboyd@codeaurora.org] >On 10/21, Bjorn Andersson wrote: >> hcd_alloc_coherent() and usb_alloc_coherent() ends up allocating >> coherent memory on behalf of ci_hdrc driver. But as the ci_hdrc is >> instantiated manually it will not have any dma_mem or dma_ops >> assigned, which makes the >> dma_alloc_coherent() fail on some platforms (e.g. arm64). This patch >> solves this by assigning the dma_mem and dma_ops based on the parent's >> DeviceTree node. >> >> Cc: Stephen Boyd >> Signed-off-by: Bjorn Andersson >> --- >> >> Hi Peter, >> >> After (once more) debugging why USB doesn't work up on the 64-bit >> Qualcomm systems I realized that we never concluded on this patch. >> Unfortunately I can't find it in my mailbox either, so resending it to restart the >discussion. >> > >I thought we were going to go down the route that Arnd has been pushing[1]? That >should work, but I haven't tried it yet and there are some more fixes on top from >Sriram. I think Sriram is taking over the patch now? > Yes Stephen. I am incorporating the idea from Arnd and working on those patches. Regards, Sriram >[1] https://patchwork.kernel.org/patch/9319527/ > >-- >Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux >Foundation Collaborative Project