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?

[1] https://elixir.bootlin.com/linux/v5.4.38/source/drivers/uio/uio.c#L737

Regards,
Nikhil D

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/3c98f0a4-6067-8f00-0b8e-0ca15ede7ce3%40ti.com.

Reply via email to