]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries: Make PCI non-optional
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 1 Oct 2015 06:44:31 +0000 (16:44 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 15 Oct 2015 09:31:54 +0000 (20:31 +1100)
commitc2f936ab8dac5e109651c20b7df3152e0a48b3e3
treef7945e993fbfde01026e8c0c2f126b1346ebd039
parentc68abd04d54a953eb08eaf2b8c722dacb0fd82f2
powerpc/pseries: Make PCI non-optional

The pseries build with PCI=n looks to have been broken for at least 5
years, and no one's noticed or cared.

Following the obvious breakages backward, the first commit I can find
that builds is the parent of c7dea9a52301 ("powerpc/pci: Move pseries
code into pseries platform specific area") from April 2009.

A distro would never ship a PCI=n kernel, so it is only useful for folks
building custom kernels. Also on KVM the virtio devices appear on PCI,
so it would only be useful if you were building kernels specifically to
run on PowerVM and with no PCI devices.

The added code complexity, and testing load (which we've clearly not
been doing), is not justified by the small reduction in kernel size for
such a niche use case.

So just make PCI non-optional on pseries.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/Kconfig