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.