Hi Jan, On Tue, Jan 17, 2023 at 7:14 PM Lad, Prabhakar <[email protected]> wrote: > > Hi Jan, > > On Mon, Jan 16, 2023 at 5:26 AM Jan Kiszka <[email protected]> wrote: > > > <snip> > > > I had couple of question, > > > 1: For the pci_mmconfig_base should this PA? (If PA what range should > > > be ideally selected and should this be reserved in the root cell?) > > > > If you have a emulated PCI host controller (which is the common case on > > non-x86), this address should be free in the physical range of the target. > > > > > 2: How do we calculate vpci_irq_base? > > > > There have to be up to 4 unused (but GIC-wise supported) interrupts at > > that base. > > > > > 3: When do we need to configure the stream_ids? > > > > Only if you configure an SMMU. Do you have one and plan to use is? > > > > > 4: For the IVSHMEM 00:00.0 (demo) the PA range should this be reserved > > > in the root cell? > > > > The PA should be physical RAM that is otherwise not used by any cell or > > the hypervisor itself. > > > > > 5: And similarly for IVSHMEM (networking) the PA range should this be > > > reserved in the root cell? > > > Thanks for the pointer that did the trick. I am now able to ping from > root/inmate and vice versa. > > * For the Linux (root/inmate) IVSHMEM what is the test case that needs > to be run? (Ive done devmem read/write on root & inamte cell)
Ignore the below errors, I referred to the previous commits and had to set the newly added ARCH flag. > * I updated to the latest tip of next and now I am seeing below issue: > ** Previously "jailhouse config check -a arm64 > renesas-r8a774a1.cell" worked, now when I run "jailhouse config check > renesas-r8a774a1.cell" I get the below output: > root@hihope-rzg2m:~# jailhouse config check renesas-r8a774a1.cell > Reading configuration set: > Architecture: x86 > Root cell: Renesas HopeRun HiHope RZ/G2M (renesas-r8a774a1.cell) > Overlapping memory regions inside cell: None > Overlapping memory regions with hypervisor: None > Missing PCI MMCONFIG interceptions: None > Missing resource interceptions for architecture x86: None > ^^ Architecture detected here is x86 which isnt correct. > * Previously "jailhouse enable renesas-r8a774a1.cell" worked but > after update I am getting below error: > jailhouse: Configuration architecture mismatch > JAILHOUSE_ENABLE: Invalid argumen > Cheers, Prabhakar -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/CA%2BV-a8vf658EH67cL_-XYLL_7RU1r44wJdJgNp01FhRyV-P3Rw%40mail.gmail.com.
