From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Date: Fri, 25 May 2018 14:50:12 +0000 Subject: Re: [PATCH 1/7] core, dma-direct: add a flag 32-bit dma limits Message-Id: <20180525145012.GA3863@kroah.com> List-Id: References: <20180525143512.1466-1-hch@lst.de> <20180525143512.1466-2-hch@lst.de> In-Reply-To: <20180525143512.1466-2-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Christoph Hellwig Cc: Thomas Gleixner , Ingo Molnar , Tony Luck , Fenghua Yu , x86@kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, netdev@vger.kernel.org On Fri, May 25, 2018 at 04:35:06PM +0200, Christoph Hellwig wrote: > Various PCI bridges (VIA PCI, Xilinx PCIe) limit DMA to only 32-bits > even if the device itself supports more. Add a single bit flag to > struct device (to be moved into the dma extension once we around it) "once we around it"? I don't understand, sorry. > to flag such devices and reject larger DMA to them. > > Signed-off-by: Christoph Hellwig > --- > include/linux/device.h | 3 +++ > lib/dma-direct.c | 6 ++++++ > 2 files changed, 9 insertions(+) For the patch, no objection from me: Reviewed-by: Greg Kroah-Hartman From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kroah-Hartman Subject: Re: [PATCH 1/7] core, dma-direct: add a flag 32-bit dma limits Date: Fri, 25 May 2018 16:50:12 +0200 Message-ID: <20180525145012.GA3863@kroah.com> References: <20180525143512.1466-1-hch@lst.de> <20180525143512.1466-2-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: <20180525143512.1466-2-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: Christoph Hellwig Cc: Fenghua Yu , Tony Luck , linux-ia64-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Ingo Molnar , Thomas Gleixner List-Id: iommu@lists.linux-foundation.org On Fri, May 25, 2018 at 04:35:06PM +0200, Christoph Hellwig wrote: > Various PCI bridges (VIA PCI, Xilinx PCIe) limit DMA to only 32-bits > even if the device itself supports more. Add a single bit flag to > struct device (to be moved into the dma extension once we around it) "once we around it"? I don't understand, sorry. > to flag such devices and reject larger DMA to them. > > Signed-off-by: Christoph Hellwig > --- > include/linux/device.h | 3 +++ > lib/dma-direct.c | 6 ++++++ > 2 files changed, 9 insertions(+) For the patch, no objection from me: Reviewed-by: Greg Kroah-Hartman From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936296AbeEYOuc (ORCPT ); Fri, 25 May 2018 10:50:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:35292 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936200AbeEYOua (ORCPT ); Fri, 25 May 2018 10:50:30 -0400 Date: Fri, 25 May 2018 16:50:12 +0200 From: Greg Kroah-Hartman To: Christoph Hellwig Cc: Thomas Gleixner , Ingo Molnar , Tony Luck , Fenghua Yu , x86@kernel.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 1/7] core, dma-direct: add a flag 32-bit dma limits Message-ID: <20180525145012.GA3863@kroah.com> References: <20180525143512.1466-1-hch@lst.de> <20180525143512.1466-2-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180525143512.1466-2-hch@lst.de> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 25, 2018 at 04:35:06PM +0200, Christoph Hellwig wrote: > Various PCI bridges (VIA PCI, Xilinx PCIe) limit DMA to only 32-bits > even if the device itself supports more. Add a single bit flag to > struct device (to be moved into the dma extension once we around it) "once we around it"? I don't understand, sorry. > to flag such devices and reject larger DMA to them. > > Signed-off-by: Christoph Hellwig > --- > include/linux/device.h | 3 +++ > lib/dma-direct.c | 6 ++++++ > 2 files changed, 9 insertions(+) For the patch, no objection from me: Reviewed-by: Greg Kroah-Hartman