From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752393AbcCJObg (ORCPT ); Thu, 10 Mar 2016 09:31:36 -0500 Received: from mail-pa0-f53.google.com ([209.85.220.53]:36370 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751754AbcCJOb1 (ORCPT ); Thu, 10 Mar 2016 09:31:27 -0500 From: "Thang Q. Nguyen" To: Felipe Balbi , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm@lists.infradead.org Cc: Thang Nguyen , Phong Vo , Loc Ho , patches@apm.com Subject: [PATCH v3 0/2] usb:dwc3: Enable USB DWC3 support for 64-bit system Date: Thu, 10 Mar 2016 14:18:50 +0700 Message-Id: <1457594332-7490-1-git-send-email-tqnguyen@apm.com> X-Mailer: git-send-email 1.7.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Thang Q. Nguyen" When CONFIG_DMA_CMA is not set, the coherent mask is not set. These patches enable the USB DWC3 driver to set the coherent mask correctly by first set coherent DMA mask to 64-bit. If this failed, attempt again with 32-bit. In addition, pass the archdata to the xhci-hcd child so that xhci-hcd can configure DMA operations correctly. Thang Q. Nguyen (2): usb:dwc3: Enable support for 64-bit system usb:dwc3: pass arch data to xhci-hcd child drivers/usb/dwc3/core.c | 15 +++++++++++++++ drivers/usb/dwc3/host.c | 1 + 2 files changed, 16 insertions(+) -- 2.2.0 From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thang Q. Nguyen" Subject: [PATCH v3 0/2] usb:dwc3: Enable USB DWC3 support for 64-bit system Date: Thu, 10 Mar 2016 14:18:50 +0700 Message-ID: <1457594332-7490-1-git-send-email-tqnguyen@apm.com> Return-path: Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Felipe Balbi , Greg Kroah-Hartman , linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: Thang Nguyen , Phong Vo , Loc Ho , patches-qTEPVZfXA3Y@public.gmane.org List-Id: linux-omap@vger.kernel.org From: "Thang Q. Nguyen" When CONFIG_DMA_CMA is not set, the coherent mask is not set. These patches enable the USB DWC3 driver to set the coherent mask correctly by first set coherent DMA mask to 64-bit. If this failed, attempt again with 32-bit. In addition, pass the archdata to the xhci-hcd child so that xhci-hcd can configure DMA operations correctly. Thang Q. Nguyen (2): usb:dwc3: Enable support for 64-bit system usb:dwc3: pass arch data to xhci-hcd child drivers/usb/dwc3/core.c | 15 +++++++++++++++ drivers/usb/dwc3/host.c | 1 + 2 files changed, 16 insertions(+) -- 2.2.0 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html