From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 7/7] x86: switch the VIA 32-bit DMA quirk to use the struct device flag Date: Mon, 28 May 2018 08:19:00 +0200 Message-ID: <20180528061859.GA4145@lst.de> References: <20180525143512.1466-1-hch@lst.de> <20180525143512.1466-8-hch@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Fenghua Yu , Tony Luck , linux-ia64-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Greg Kroah-Hartman , x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Ingo Molnar , netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Christoph Hellwig To: Thomas Gleixner Return-path: Content-Disposition: inline In-Reply-To: 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 List-Id: netdev.vger.kernel.org On Mon, May 28, 2018 at 08:10:40AM +0200, Thomas Gleixner wrote: > n Fri, 25 May 2018, Christoph Hellwig wrote: > > x86/pci-dma: ... > > Please > > > Instead of globally disabling > 32bit DMA using the arch_dma_supported > > hook walk the PCI bus under the actually affected bridge and mark every > > device with the dma_32bit_limit flag. This also gets rid of the > > arch_dma_supported hook entirely. > > Shouldn't this go before the other two? Which other two? The boot optional removal patches? They just remove the visible interface, but keep the implementation which is converted to the better mechanism here, so I think the order makes sense. But I might be missing something..