Re: [Xen-devel] [PATCH v6 03/10] xen/arm: optee: add OP-TEE mediator skeleton

2019-06-19 Thread Volodymyr Babchuk
Hi Julien, Julien Grall writes: > On 19/06/2019 12:01, Julien Grall wrote: >> Hi Volodymyr, >> >> On 11/06/2019 19:46, Volodymyr Babchuk wrote: >>> diff --git a/xen/arch/arm/tee/Kconfig b/xen/arch/arm/tee/Kconfig >>> new file mode 100644 >>> index 00..5b829db2e9 >>> --- /dev/null >>> +++

Re: [Xen-devel] [PATCH v6 03/10] xen/arm: optee: add OP-TEE mediator skeleton

2019-06-19 Thread Julien Grall
On 19/06/2019 12:01, Julien Grall wrote: Hi Volodymyr, On 11/06/2019 19:46, Volodymyr Babchuk wrote: diff --git a/xen/arch/arm/tee/Kconfig b/xen/arch/arm/tee/Kconfig new file mode 100644 index 00..5b829db2e9 --- /dev/null +++ b/xen/arch/arm/tee/Kconfig @@ -0,0 +1,4 @@ +config OPTEE + 

Re: [Xen-devel] [PATCH v6 03/10] xen/arm: optee: add OP-TEE mediator skeleton

2019-06-19 Thread Julien Grall
Hi Volodymyr, On 11/06/2019 19:46, Volodymyr Babchuk wrote: diff --git a/xen/arch/arm/tee/Kconfig b/xen/arch/arm/tee/Kconfig new file mode 100644 index 00..5b829db2e9 --- /dev/null +++ b/xen/arch/arm/tee/Kconfig @@ -0,0 +1,4 @@ +config OPTEE + bool "Enable OP-TEE mediator" +

[Xen-devel] [PATCH v6 03/10] xen/arm: optee: add OP-TEE mediator skeleton

2019-06-11 Thread Volodymyr Babchuk
Add very basic OP-TEE mediator. It can probe for OP-TEE presence, tell it about domain creation/destruction and then return an error to all calls to the guest. This code issues two non-preemptible calls to OP-TEE: to create and to destroy client context. They can't block in OP-TEE, as they are con