Cc: <michael@...>, <tony.luck@...>, <grundler@...>, <jeff@...>, David Miller <davem@...>, <greg@...>, <linux-kernel@...>, <kyle@...>, <linuxppc-dev@...>, Eric W. Biederman <ebiederm@...>, <shaohua.li@...>, <linux-pci@...>, <mingo@...>, <brice@...>
> It's possible that the device can do MSI(X), but that using MSI(X)
However, the ibm,req#msi(-x) properties contain the number as requested
by the device, and thus I expect them to be identical to the config
space value. So if you are confident enough that our HV won't play any
tricks there in the future, reading the config space is as good as
hooking that check() callback, though it might not be vs. some other HV
for some other platform that might be more strict.
We cannot know in advance how much max the HV will give us without
actually trying ibm,change-msi and see the result code for it
unfortunately.
Ben.
-