[PATCH v4 3/3] asm-generic: Add new pci.h and use it
Arnd Bergmann
arnd at arndb.de
Wed Jul 20 08:12:27 PDT 2022
On Wed, Jul 20, 2022 at 3:19 PM Stafford Horne <shorne at gmail.com> 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.
>
> One thing to note:
>
> - ARCH_GENERIC_PCI_MMAP_RESOURCE, csky does not define this so we
> undefine it after including asm-generic/pci.h. Why doesn't csky
> define it?
If you want to resolve this, I think the easiest way is to add a patch
that sets this
in csky, I'm quite sure this was just a mistake on their end.
> Suggested-by: Arnd Bergmann <arnd at arndb.de>
> Link: https://lore.kernel.org/lkml/CAK8P3a0JmPeczfmMBE__vn=Jbvf=nkbpVaZCycyv40pZNCJJXQ@mail.gmail.com/
> Acked-by: Pierre Morel <pmorel at linux.ibm.com>
> Acked-by: Geert Uytterhoeven <geert at linux-m68k.org>
> Signed-off-by: Stafford Horne <shorne at gmail.com>
Either way:
Reviewed-by: Arnd Bergmann <arnd at arndb.de>
More information about the linux-riscv
mailing list