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 Content-Length: 614 Lines: 19 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