From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753476AbeE1GSz (ORCPT ); Mon, 28 May 2018 02:18:55 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:36438 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753197AbeE1GSx (ORCPT ); Mon, 28 May 2018 02:18:53 -0400 Date: Mon, 28 May 2018 08:18:46 +0200 (CEST) From: Thomas Gleixner To: Christoph Hellwig cc: Ingo Molnar , Tony Luck , Fenghua Yu , Greg Kroah-Hartman , 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 7/7] x86: switch the VIA 32-bit DMA quirk to use the struct device flag In-Reply-To: <20180528061859.GA4145@lst.de> Message-ID: References: <20180525143512.1466-1-hch@lst.de> <20180525143512.1466-8-hch@lst.de> <20180528061859.GA4145@lst.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 28 May 2018, Christoph Hellwig wrote: > 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.. They remove the commandline switch before having the replacement in place unless I'm misreading something. Thanks, tglx