[PATCH v2] powerpc: allow compiling with GENERIC_MSI_IRQ_DOMAIN

Laurentiu Tudor laurentiu.tudor at nxp.com
Tue Jul 18 21:06:54 AEST 2017


Hi Michael,

On 07/18/2017 01:55 PM, Michael Ellerman wrote:
> laurentiu.tudor at nxp.com writes:
>
>> From: Laurentiu Tudor <laurentiu.tudor at nxp.com>
>>
>> This allows building powerpc with the GENERIC_MSI_IRQ_DOMAIN
>> 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
>>
>> Signed-off-by: Laurentiu Tudor <laurentiu.tudor at nxp.com>
>> ---
>> v2:
>>   - compilation error happens when GENERIC_MSI_IRQ_DOMAIN is enabled and not
>>     GENERIC_MSI_IRQ, so fix commit msg and title
>
> It looks like the only way powerpc can enable GENERIC_MSI_IRQ_DOMAIN is
> by enabling FSL_MC_BUS ?
>

Yes, i think so. I'm currently working on making FSL_MC_BUS compile 
multi-arch [1] and that's how i hit this compilation error on ppc.

[1] https://lkml.org/lkml/2017/7/17/415

---
Best Regards, Laurentiu


More information about the Linuxppc-dev mailing list