|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 04/13] optee: add OP-TEE mediator skeleton
Hi, On 09/05/2018 01:17 PM, Volodymyr Babchuk wrote: On 04.09.18 22:48, Julien Grall wrote:On 09/03/2018 06:55 PM, Volodymyr Babchuk wrote:Hi Julien,Hi Volodymyr,On 03.09.18 20:38, Julien Grall wrote:Hi Volodymyr, On 03/09/18 17:54, Volodymyr Babchuk wrote:Add very basic OP-TEE mediator. It can probe for OP-TEE presence, tell it about domain creation/destuction and forward all knowns/destuction/destruction/calls. This is all what is needed for Dom0 to work with OP-TEE as long as Dom0 shares 1:1 mapped pages with OP-TEE. Any attempt to call OP-TEE from DomU will fail and can lead to spectacular results.Shall we expect fireworks? :).I tried couple of time, but with no success :)Anyway, I think this is a call for forbidding DomU access until it is supported. This also has the benefits to allow merging Dom0 support for OP-TEE without the rest.Some time ago you said that I can't be sure that Dom0 is 1:1 mapped, because of grant refs. So, actually, any access should be forbidden. I can omitOh right. I that case, make it clear in the commit message because there are nothing in Dom0 preventing to share page that are not direct mapped.This will make easier for the commiter (either Stefano or I) to know this can't go without the rest of the series.Ah, sure. Had to indicate this explicitly. Will do this in the next version of the series.[...] I don't mind which term you used as long as you clearly define them within your series. I can do some measurements on how "fast" this particular call is. But problem is that it is really atomic from OP-TEE perspective. My concern is usually such operation can take time. In the context of Xen, the domain destruction path is preemptible which allow a domain to be rescheduled. While today, SMC_VM_DESTROYED is a fast call because there are not much. I am a bit concern that in the future this may grow and therefore turn into a long operation (i.e few ms). So I am a bit concerned that this interface is not future-proof. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |