Isn't the problem that both CONFIG_IBMVIO and CONFIG_PCI are defined?
I had to see what IBMVIO was, it looks like the IBM Virtual I/O Server. Although you actually fixed the bug, the other bug might be that IBMVIO is defined when it's "The VIOS is part of the PowerVM® Editions hardware feature"
Were you on an IBM power box?
https://www.ibm.com/docs/en/power8?topic=server-virtual-io-o...
I'm just curious, because the IFDEFs assume one-or-the-other as written. Is having both busses a valid configuration?