Hi Jan,
Thank you for the replay. Honestly speaking I still don't understand how
it works. So, let me ask you other questions.
I have root-cell(ARM0) and inmate cell(ARM1) running on AM572x-EVM. I
need to create a communication channel between those cells to exchange
data. So, how do I do that?
1) add the same IVSHMEM memory region to the both root-cell and
inmate-cell configurations. Is that memory used for data exchange and
signaling? Or I need to create another shared region?
2) The AM572X-EVM has a physical PCI controller.
- Do I need to add it to the root-cell configuration?
3) You use .platform_info.pci_mmconfig_base = 0x50000000; For which
platform?
4) At the bananapi.c the .platform_info.pci_mmconfig_base = 0x2000000.
Is that related to the "ranges = <0x02000000 .... > at the
vpci_template.dts ?
5) .vpci_irq_base - shall I reserve number of GIC SPI interrupt lines
for vpci? How do I use them?
Thank you,
-Vitaly
On 02/27/2017 10:14 AM, Jan Kiszka wrote:
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
--
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.