From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 3/6] usb: add a HCD_DMA flag instead of guestimating DMA capabilities Date: Mon, 12 Aug 2019 13:57:26 +0200 Message-ID: <20190812115726.GA9180@lst.de> References: <20190811080520.21712-1-hch@lst.de> <20190811080520.21712-4-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20190811080520.21712-4-hch-jcswGhMUV9g@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Greg Kroah-Hartman , Maxime Chevallier Cc: linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Gavin Li , Pengutronix Kernel Team , Mathias Nyman , Geoff Levand , Olav Kongas , Sascha Hauer , linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Michal Simek , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Tony Prisk , iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Alan Stern , NXP Linux Team , Fabio Estevam , Minas Harutyunyan , Shawn Guo , linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Bin Liu , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: linux-arch.vger.kernel.org > diff --git a/drivers/usb/host/ehci-ppc-of.c b/drivers/usb/host/ehci-ppc-of.c > index 576f7d79ad4e..9d17e0695e35 100644 > --- a/drivers/usb/host/ehci-ppc-of.c > +++ b/drivers/usb/host/ehci-ppc-of.c > @@ -31,7 +31,7 @@ static const struct hc_driver ehci_ppc_of_hc_driver = { > * generic hardware linkage > */ > .irq = ehci_irq, > - .flags = HCD_MEMORY | HCD_USB2 | HCD_BH, > + .flags = HCD_MEMORY | HC_DMA | HCD_USB2 | HCD_BH, FYI, the kbuild bot found a little typo here, so even for the unlikely case that the series is otherwise perfect I'll have to resend it at least once. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from verein.lst.de ([213.95.11.211]:47706 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728063AbfHLL5b (ORCPT ); Mon, 12 Aug 2019 07:57:31 -0400 Date: Mon, 12 Aug 2019 13:57:26 +0200 From: Christoph Hellwig Subject: Re: [PATCH 3/6] usb: add a HCD_DMA flag instead of guestimating DMA capabilities Message-ID: <20190812115726.GA9180@lst.de> References: <20190811080520.21712-1-hch@lst.de> <20190811080520.21712-4-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190811080520.21712-4-hch@lst.de> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Greg Kroah-Hartman , Maxime Chevallier Cc: linux-arch@vger.kernel.org, Olav Kongas , Gavin Li , linuxppc-dev@lists.ozlabs.org, Mathias Nyman , Geoff Levand , Fabio Estevam , Sascha Hauer , linux-usb@vger.kernel.org, Michal Simek , linux-kernel@vger.kernel.org, Tony Prisk , iommu@lists.linux-foundation.org, Alan Stern , NXP Linux Team , Pengutronix Kernel Team , Minas Harutyunyan , Shawn Guo , Bin Liu , linux-arm-kernel@lists.infradead.org, Laurentiu Tudor Message-ID: <20190812115726.axOrBl6GYClFpBxyIcVp20lp5ZCpqsvNeeRYroaDxuw@z> > diff --git a/drivers/usb/host/ehci-ppc-of.c b/drivers/usb/host/ehci-ppc-of.c > index 576f7d79ad4e..9d17e0695e35 100644 > --- a/drivers/usb/host/ehci-ppc-of.c > +++ b/drivers/usb/host/ehci-ppc-of.c > @@ -31,7 +31,7 @@ static const struct hc_driver ehci_ppc_of_hc_driver = { > * generic hardware linkage > */ > .irq = ehci_irq, > - .flags = HCD_MEMORY | HCD_USB2 | HCD_BH, > + .flags = HCD_MEMORY | HC_DMA | HCD_USB2 | HCD_BH, FYI, the kbuild bot found a little typo here, so even for the unlikely case that the series is otherwise perfect I'll have to resend it at least once. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B034C433FF for ; Mon, 12 Aug 2019 11:57:34 +0000 (UTC) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 396ED206DF for ; Mon, 12 Aug 2019 11:57:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 396ED206DF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id E33B5C9E; Mon, 12 Aug 2019 11:57:33 +0000 (UTC) Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id AD005C7D for ; Mon, 12 Aug 2019 11:57:31 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 209CC2C6 for ; Mon, 12 Aug 2019 11:57:30 +0000 (UTC) Received: by verein.lst.de (Postfix, from userid 2407) id 9DBBD227A81; Mon, 12 Aug 2019 13:57:26 +0200 (CEST) Date: Mon, 12 Aug 2019 13:57:26 +0200 From: Christoph Hellwig To: Greg Kroah-Hartman , Maxime Chevallier Subject: Re: [PATCH 3/6] usb: add a HCD_DMA flag instead of guestimating DMA capabilities Message-ID: <20190812115726.GA9180@lst.de> References: <20190811080520.21712-1-hch@lst.de> <20190811080520.21712-4-hch@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190811080520.21712-4-hch@lst.de> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: linux-arch@vger.kernel.org, Gavin Li , Pengutronix Kernel Team , Mathias Nyman , Geoff Levand , Olav Kongas , Sascha Hauer , linux-usb@vger.kernel.org, Michal Simek , linux-kernel@vger.kernel.org, Tony Prisk , iommu@lists.linux-foundation.org, Alan Stern , NXP Linux Team , Fabio Estevam , Minas Harutyunyan , Shawn Guo , linuxppc-dev@lists.ozlabs.org, Bin Liu , linux-arm-kernel@lists.infradead.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: iommu-bounces@lists.linux-foundation.org Errors-To: iommu-bounces@lists.linux-foundation.org > diff --git a/drivers/usb/host/ehci-ppc-of.c b/drivers/usb/host/ehci-ppc-of.c > index 576f7d79ad4e..9d17e0695e35 100644 > --- a/drivers/usb/host/ehci-ppc-of.c > +++ b/drivers/usb/host/ehci-ppc-of.c > @@ -31,7 +31,7 @@ static const struct hc_driver ehci_ppc_of_hc_driver = { > * generic hardware linkage > */ > .irq = ehci_irq, > - .flags = HCD_MEMORY | HCD_USB2 | HCD_BH, > + .flags = HCD_MEMORY | HC_DMA | HCD_USB2 | HCD_BH, FYI, the kbuild bot found a little typo here, so even for the unlikely case that the series is otherwise perfect I'll have to resend it at least once. _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF76BC31E40 for ; Mon, 12 Aug 2019 11:59:31 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 602B4206DF for ; Mon, 12 Aug 2019 11:59:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 602B4206DF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 466ZC50QGjzDqcG for ; Mon, 12 Aug 2019 21:59:29 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lst.de (client-ip=213.95.11.211; helo=verein.lst.de; envelope-from=hch@lst.de; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=lst.de Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 466Z8x2mgszDqZG for ; Mon, 12 Aug 2019 21:57:34 +1000 (AEST) Received: by verein.lst.de (Postfix, from userid 2407) id 9DBBD227A81; Mon, 12 Aug 2019 13:57:26 +0200 (CEST) Date: Mon, 12 Aug 2019 13:57:26 +0200 From: Christoph Hellwig To: Greg Kroah-Hartman , Maxime Chevallier Subject: Re: [PATCH 3/6] usb: add a HCD_DMA flag instead of guestimating DMA capabilities Message-ID: <20190812115726.GA9180@lst.de> References: <20190811080520.21712-1-hch@lst.de> <20190811080520.21712-4-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190811080520.21712-4-hch@lst.de> User-Agent: Mutt/1.5.17 (2007-11-01) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, Gavin Li , Pengutronix Kernel Team , Mathias Nyman , Geoff Levand , Olav Kongas , Sascha Hauer , linux-usb@vger.kernel.org, Michal Simek , linux-kernel@vger.kernel.org, Tony Prisk , iommu@lists.linux-foundation.org, Alan Stern , NXP Linux Team , Fabio Estevam , Minas Harutyunyan , Shawn Guo , linuxppc-dev@lists.ozlabs.org, Bin Liu , linux-arm-kernel@lists.infradead.org, Laurentiu Tudor Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" > diff --git a/drivers/usb/host/ehci-ppc-of.c b/drivers/usb/host/ehci-ppc-of.c > index 576f7d79ad4e..9d17e0695e35 100644 > --- a/drivers/usb/host/ehci-ppc-of.c > +++ b/drivers/usb/host/ehci-ppc-of.c > @@ -31,7 +31,7 @@ static const struct hc_driver ehci_ppc_of_hc_driver = { > * generic hardware linkage > */ > .irq = ehci_irq, > - .flags = HCD_MEMORY | HCD_USB2 | HCD_BH, > + .flags = HCD_MEMORY | HC_DMA | HCD_USB2 | HCD_BH, FYI, the kbuild bot found a little typo here, so even for the unlikely case that the series is otherwise perfect I'll have to resend it at least once. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 849B0C31E40 for ; Mon, 12 Aug 2019 11:57:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5647A206DF for ; Mon, 12 Aug 2019 11:57:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uZakJXtJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5647A206DF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+ZCaO2q0wpjJrUMxFA6ohVYZ399/WbckbL93UXGBpAM=; b=uZakJXtJuIbvn9 3ni+74Hk+GwT2+9+B9bkQ9W4UOTvoqgli7vqhuDs63DW+Upa6YXUu72kZNqN9P4Iny88RovDhqvMs lk/jnyyVVvUDy6KvT0hfjDdOWy9xDx8xri/DYSm94bPG8/ikOJPLTIOvcQfhhiPV6k7KWrJLEv+07 rJzNTwq8tOqcWTc1KNAFQ3V+Ph4zD7EGtYBinrBaCyXTT3U6pJ/TxzOYfcxdrCKleMnIXtoAknA22 AOOIUwMO0onz9Tj/mEhWgiPvAK4tIWMAR/69olqRULbLnEnzPLIUwy6+1YcyPRSKHMxmZcEgFzqSQ V+Vh6ATv3ONyb1pf1KdQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hx8xD-0002wa-A3; Mon, 12 Aug 2019 11:57:35 +0000 Received: from verein.lst.de ([213.95.11.211]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hx8xA-0002w6-U7 for linux-arm-kernel@lists.infradead.org; Mon, 12 Aug 2019 11:57:34 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id 9DBBD227A81; Mon, 12 Aug 2019 13:57:26 +0200 (CEST) Date: Mon, 12 Aug 2019 13:57:26 +0200 From: Christoph Hellwig To: Greg Kroah-Hartman , Maxime Chevallier Subject: Re: [PATCH 3/6] usb: add a HCD_DMA flag instead of guestimating DMA capabilities Message-ID: <20190812115726.GA9180@lst.de> References: <20190811080520.21712-1-hch@lst.de> <20190811080520.21712-4-hch@lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190811080520.21712-4-hch@lst.de> User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190812_045733_120600_1835753B X-CRM114-Status: GOOD ( 11.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, Gavin Li , Pengutronix Kernel Team , Mathias Nyman , Geoff Levand , Olav Kongas , Sascha Hauer , linux-usb@vger.kernel.org, Michal Simek , linux-kernel@vger.kernel.org, Tony Prisk , iommu@lists.linux-foundation.org, Alan Stern , NXP Linux Team , Fabio Estevam , Minas Harutyunyan , Shawn Guo , linuxppc-dev@lists.ozlabs.org, Bin Liu , linux-arm-kernel@lists.infradead.org, Laurentiu Tudor Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org > diff --git a/drivers/usb/host/ehci-ppc-of.c b/drivers/usb/host/ehci-ppc-of.c > index 576f7d79ad4e..9d17e0695e35 100644 > --- a/drivers/usb/host/ehci-ppc-of.c > +++ b/drivers/usb/host/ehci-ppc-of.c > @@ -31,7 +31,7 @@ static const struct hc_driver ehci_ppc_of_hc_driver = { > * generic hardware linkage > */ > .irq = ehci_irq, > - .flags = HCD_MEMORY | HCD_USB2 | HCD_BH, > + .flags = HCD_MEMORY | HC_DMA | HCD_USB2 | HCD_BH, FYI, the kbuild bot found a little typo here, so even for the unlikely case that the series is otherwise perfect I'll have to resend it at least once. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel