On 15.01.19 08:13, Chung-Fan Yang wrote:
Hello,
I recently added a PCI-e serial card to my known working x86-64 Jailhouse box.
It got bdf 02:00.0 on the bus and Linux without Jailhouse works fine.
However the port ceased to work when I enable Jailhouse.
It seems like that during IOMMU remapping, pci_enabled_msi_vectors reported 0
for the card.
That is fine if the card is actually not in use at the point of hand-over, and
that alone will not prevent the usage later on under Jailhouse regime.
The card should have at least one MSI interrupt vector.
I observed that the Linux driver only register and enable the device IRQ when
it's in used by some application, but I am not sure this is the cause.
Any suggestions or guideline to add a PCI-e serial card to a x86-64 machine?
Did you regenerate the root cell config after adding the card? Or manually added
the additional entries needed for it? Something went wrong in that area.
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.