Re: [PATCH v2 2/2] asm-generic: Add new pci.h and use it

From: Christoph Hellwig
Date: Mon Jul 18 2022 - 00:37:24 EST


On Sun, Jul 17, 2022 at 12:34:53PM +0900, Stafford Horne wrote:
> Two things to note are:
>
> - isa_dma_bridge_buggy, traditionally this is defined in asm/dma.h but
> these architectures avoid creating that file and add the definition
> to asm/pci.h.

This doesn't have anyting to do with PCI support. I think adding a
separate header just for this that always stubs it out unless a config
option is set (which x86 then selects) is the besy idea here. I also
think the isa_dma_bridge_buggy needs to move out of the PCI code as
well.