On 2018-04-19 09:51, [email protected] wrote: > Hi, > > I am trying some experiments in Shared memory, > CASE 1: > I have shared some common memory region between root and non-root cell. using > this mem-region i am able to communicate between root and non-root cell(if i > write data from root cell to that mem-region i am able to read the same data > in non-root cell). I have added shared memory in the root cell at the end-of > mem-region(last-index of mem-region). > > CASE 2: > But when i add this shared mem-region in the middle of root cell mem-region, > i am not able to communicate between root and non-root cell(read and write is > not happening from root-cell to non-root cell). > > Can someone please explain me why CASE 2 is not working, is that mandatory to > add shared memory config at the end-of mem-region(last index)? > > * I am not linked any PCI device to shared mem-region in both the cases. > > * For reading and writing from shared mem-region we are using our application. >
It's hard to give you any good suggestion without seeing the configs in question. Maybe you didn't split up that larger mem region properly into two regions, maybe the reference from the ivshmem device to the share memory region by index is not longer correct, maybe it's some other small mistake... 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.
