[PATCH] powerpc: allow compiling with GENERIC_MSI_IRQ

Michael Ellerman mpe at ellerman.id.au
Fri Jun 30 20:08:42 AEST 2017


Hi Laurentiu,

laurentiu.tudor at nxp.com writes:
> From: Laurentiu Tudor <laurentiu.tudor at nxp.com>
>
> This allows building powerpc with the GENERIC_MSI_IRQ Kconfig
> by enabling the asm-generic msi.h in Kbuild. Without this,
> there's a compilation error [1] because powerpc, as most arches,
> doesn't provide an asm/msi.h.
>
> [1] In file included from ./include/linux/kvm_host.h:20:0,
>                  from ./arch/powerpc/include/asm/kvm_ppc.h:30,
>                  from arch/powerpc/kernel/dbell.c:20:
> ./include/linux/msi.h:195:21: fatal error: asm/msi.h: No such file or directory

I have >50 configs here with GENERIC_MSI_IRQ=y, so I don't understand
what's going wrong for you.

Can you tell me more about what you're doing and how it's breaking.

cheers


More information about the Linuxppc-dev mailing list