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

From: Arnd Bergmann
Date: Wed Jul 20 2022 - 11:13:11 EST


On Wed, Jul 20, 2022 at 3:19 PM Stafford Horne <shorne@xxxxxxxxx> 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@xxxxxxxx>
> Link: https://lore.kernel.org/lkml/CAK8P3a0JmPeczfmMBE__vn=Jbvf=nkbpVaZCycyv40pZNCJJXQ@xxxxxxxxxxxxxx/
> Acked-by: Pierre Morel <pmorel@xxxxxxxxxxxxx>
> Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Signed-off-by: Stafford Horne <shorne@xxxxxxxxx>

Either way:

Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>