Am Fri, 1 Mar 2019 11:27:35 +0100
schrieb "[ext] Jan Kiszka" <[email protected]>:

> On 01.03.19 09:56, [email protected] wrote:
> > Hello,
> > 
> > I've got most everything working with ivshmem: the inmate is
> > modifying shared memory and sending interrupts to the root cell,
> > the root cell is receiving the interrupts and seeing the shared
> > memory and PCI config space, and the root is writing to shared
> > memory, which the inmate sees.
> > 
> > However, I'm having a hard time getting the root cell to send
> > interrupts back to the inmate via the ivshmem PCI device. I've
> > tried writing to both the doorbell and lstate registers, with no
> > success.
> > 
> > Do you have any general tips on what I can do to debug the
> > interrupt path from root cell to inmate? What configs do I need to
> > match up? (IRQ vectors?) How do I know what values to write to the
> > doorbell or lstate registers?  
> 
> You are on x86? Try using a different .iommu ID (typically 1, check
> what others exit) in the jailhouse_pci_device for ivshmem.

And make sure your inmate device driver did enable PCI bus master.

Henning

> Jan
> 

-- 
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.

Reply via email to