Hi Vitaly,

On 2017-02-23 19:18, Vitaly Andrianov wrote:
> Hi,
> 
> I'm trying to enable the "inter cell communication" for Jailhouse on the
> TI AM57xx-evm. I looked at the configs/bananapi.c as an example and have
> a question. What are the
> 
> .platform_info.pci_mmconfig_base,

Base address in the cells' physical address spaces of the MMConfig
region of the virtual (as on the AM57xx) or physical PCI host controller.

> .platform_info.pci_mmconfig_end_bus,

Last bus number supported by that controller. In case of a virtual bus,
that should be 0.

> .platform_info.pci_is_virtual and

Yes (1), it is a virtual one on AM57xx

> .root_cell.vpci_irq_base

First GIC interrupt number (there can be up to 4 successive ones) that
the virtual PCI controller will use when a device injects an interrupt.

> 
> fields for? and how do I choose values for them?

Here the parameters I was using locally:

.pci_mmconfig_base = 0x50000000,
.pci_mmconfig_end_bus = 0,
.pci_is_virtual = 1,

.vpci_irq_base = 96,

Jan

-- 
Siemens AG, Corporate Technology, CT RDA ITP 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.

Reply via email to