Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/pseries: Select XICS and PCI_MSI PSERIES

It's possible to set CONFIG_XICS without CONFIG_PCI_MSI. When that happens,
the kernel fails to build with

arch/powerpc/platforms/built-in.o: In function `.xics_startup':
xics.c:(.text+0x12f60): undefined reference to `.unmask_msi_irq' make: ***
[.tmp_vmlinux1] Error 1

Furthermore, as noted by Benjamin Herrenschmidt, "CONFIG_XICS should be
made invisible and selected by PSERIES."

This patch fixes PSERIES to select both options

Signed-off-by: Mel Gorman <mel[at]csn.ul.ie>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

authored by

Mel Gorman and committed by
Benjamin Herrenschmidt
8a55c4ba 29827b02

+2
+2
arch/powerpc/platforms/pseries/Kconfig
··· 2 2 depends on PPC64 && PPC_BOOK3S 3 3 bool "IBM pSeries & new (POWER5-based) iSeries" 4 4 select MPIC 5 + select PCI_MSI 6 + select XICS 5 7 select PPC_I8259 6 8 select PPC_RTAS 7 9 select PPC_RTAS_DAEMON