Re: [PATCH 7/7] x86: switch the VIA 32-bit DMA quirk to use the struct device flag

From: Thomas Gleixner
Date: Mon May 28 2018 - 02:19:03 EST


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