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

2022-07-15 Thread Stafford Horne
On Fri, Jul 15, 2022 at 10:09:21AM +0200, Arnd Bergmann wrote: > On Thu, Jul 14, 2022 at 11:46 PM Stafford Horne wrote: > > > > The asm/pci.h used for many newer architectures share similar > > definitions. Move the common parts to asm-generic/pci.h to allow for > > sharing code. > > This looks

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

2022-07-15 Thread Arnd Bergmann
On Thu, Jul 14, 2022 at 11:46 PM Stafford Horne wrote: > > The asm/pci.h used for many newer architectures share similar > definitions. Move the common parts to asm-generic/pci.h to allow for > sharing code. This looks very nice, thanks for doing it! > Two things to note are: > > - isa_dma_bri

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

2022-07-14 Thread Stafford Horne
The asm/pci.h used for many newer architectures share similar definitions. Move the common parts to asm-generic/pci.h to allow for sharing code. 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