From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752403AbcDZGTc (ORCPT ); Tue, 26 Apr 2016 02:19:32 -0400 Received: from mga11.intel.com ([192.55.52.93]:46693 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752348AbcDZGT1 (ORCPT ); Tue, 26 Apr 2016 02:19:27 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,535,1455004800"; d="asc'?scan'208";a="91965564" From: Felipe Balbi To: Grygorii Strashko , Greg Kroah-Hartman Cc: linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Sekhar Nori , Grygorii Strashko , David Fisher , Catalin Marinas , "Thang Q. Nguyen" , Yoshihiro Shimoda Subject: Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev In-Reply-To: <1461612094-30939-1-git-send-email-grygorii.strashko@ti.com> References: <1461612094-30939-1-git-send-email-grygorii.strashko@ti.com> User-Agent: Notmuch/0.21+96~g9bbc54b (http://notmuchmail.org) Emacs/25.0.90.3 (x86_64-pc-linux-gnu) Date: Tue, 26 Apr 2016 09:17:22 +0300 Message-ID: <87d1pcrj0t.fsf@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Grygorii Strashko writes: > Now not all DMA paremters configured properly for "xhci-hcd" platform > device which is created manually. For example: dma_pfn_offset, dam_ops > and iommu configuration will not corresponds "dwc3" devices > configuration. As result, this will cause problems like wrong DMA > addresses translation on platforms with LPAE enabled like Keystone 2. > > When platform is using DT boot mode the DMA configuration will be > parsed and applied from DT, so, to fix this issue, reuse > of_dma_configure() API and retrieve DMA configuartion for "xhci-hcd" > from DWC3 device node. patch is incomplete. You left out non-DT users which might suffer from the same problem. =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJXHwfyAAoJEIaOsuA1yqRELkYP/2lDmC6wlT+UkIOMPDEBHeD6 rF0+U05oqt4VAKjvJAoccxdn/nNPHENe1tTTigA5a9TegpFUICL1bG5QlD7xaA4V Hn4+nWoTmsomZlGGicC/ES37GbaactBiLTO5UGVcq8R2cmxsTT1hKy91k3zYkqnA rmV6J8Rj+8SvSkyrAeyIfoSbMHr2skKSGdlwjGw+PF8mGLRweJkT0yKYCPJCHxsM db4avjDyzVXHCfqdS0hpHsd2nu7HbZHmFT446JySbrZP24SJWfAzHX1CD0C+E/Wz nbHh1zMAe3d61v9dkDiHNVsaRsoEq7jiA9gA4jjgtdhxJDf1JE+fD02PhTvGCSSI c8sVANXyPaNgQAgqsqjnewwMTdu3OzSaC25g2P4BWtmDBe9c0ixMLb9y8RUUzr9h HcvKJKoWjtY/eg3r6cCzovUHOnLlfqrH37Bx5f4SLQiO44d+/hXsZoWvsVDC8LTo wjBjYNZRJ+lznasCxPMKRws2cwxfG+rYZXZQIgID/cqh1+VrDRTTEaoHLzcszia9 Zq6lrLSQKAjkUne3lC/U/7NRnxx9ojIWTc2kOSjMu00JwilBPRzKJhuLvs25MRoO A1MHj8NXGXYmEDvH7p3COEDkzKC2+l6sh+Wqa3xA9BeEGlob5HPvZeQ4POAGuV29 LFiNavUJuY1av/75QR4f =hB3c -----END PGP SIGNATURE----- --=-=-=--