[Xen-devel] [PATCH v5 07/10] xen/arm: optee: add support for arbitrary shared memory

2019-05-21 Thread Volodymyr Babchuk
Shared memory is widely used by NW (Normal World) to communicate with TAs (Trusted Applications) in OP-TEE. NW can share part of own memory with TA or with OP-TEE core, by registering it in OP-TEE, or by providing a temporal reference. Anyways, information about such memory buffers are sent to OP-T

Re: [Xen-devel] [PATCH v5 07/10] xen/arm: optee: add support for arbitrary shared memory

2019-06-03 Thread Julien Grall
Hi Volodymyr, On 21/05/2019 22:26, Volodymyr Babchuk wrote: +while ( pg_count ) +{ +struct page_info *page; + +if ( idx == 0 ) +{ +guest_pg = get_domain_ram_page(gfn); +if ( !guest_pg ) +return -EINVAL; + +guest_