On 04.05.20 19:20, Nikhil Devshatwar wrote:


On 30/04/20 8:13 pm, Jan Kiszka wrote:
On 30.04.20 15:32, 'Nikhil Devshatwar' via Jailhouse wrote:


On 30/04/20 7:01 pm, 'Nikhil Devshatwar' via Jailhouse wrote:


On 09/03/20 4:52 pm, 'Nikhil Devshatwar' via Jailhouse wrote:


On 09/03/20 4:39 pm, Jan Kiszka wrote:
On 09.03.20 11:12, Nikhil Devshatwar wrote:
Hi Henning,

As part of the TI SDK, we were integrating the ivhsmem_uio as
external module
from https://github.com/henning-schild-work/ivshmem-guest-code

Since the ivshmem changes in the Jailhouse, that driver no more
works (because of the vendor ID change)
Do you plan to host the updated version of the driver in this repo?

I know that the driver is already part of the siemens repo but it
is much simpler to integrate an external module in yocto.

Actually, that new driver is a complete rewrite, not just an ID
update. It allows to securely pass access to unprivileged users and
provides all features of the new ivshmem interface.

With this driver, I can get the uio device registered but when I run
the uio_send and uio_read apps,
Using the uio_send and uio_read apps from
https://github.com/henning-schild-work/ivshmem-guest-code/tree/master/uio/tests/Interrupts/VM



Yeah, Henning already suggested to shut that repo down as people are
still finding it...

Hi Jan,

Please follow the *updated* description in
Documentation/inter-cell-communication.md regarding demos.


I am now running the tools/ivshmem-demo.c application.
I am getting failure to mmap the registers region because the default
sizes for most of the ivshmem regions are multiple of 4096
When runnning a 64 bit kernel, mapping a 4k memory chunk in userspace
fails with EINVAL error [1]
How can this be fixed?

Are you using a kernel configuration with PAGE_SIZE > 4K? Not
recommended, for a number of reasons.

BTW, you can test that this works in principle via jailhouse-images,
qemu-arm64 target. Eventually, there will be a TI target as well ;).

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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/1b204e60-9f9c-0f85-5779-482f8c64ab75%40web.de.

Reply via email to