|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 06/13] optee: add domain contexts
On 09/05/2018 03:23 PM, Volodymyr Babchuk wrote: Hi, Hi, On 05.09.18 17:10, Julien Grall wrote:Hi, On 09/03/2018 05:54 PM, Volodymyr Babchuk wrote:OP-TEE meditor needs to store per-domain context, as will be seens/meditor/mediator/in the next patches. At this moment it stores only reference to domain. This allows us to filter out calls from domains that are not allowed to work with OP-TEE. Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@xxxxxxxx> ---xen/arch/arm/tee/optee.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++ Even if it is internal, the structure will appear in debug symbols. If you use tools like pahole it will be quite difficult to know what the structure is for without a grep. Yes, this was my first intention. But I was unsure on if it is appropriate to add driver-specific fields to struct arch_domain. If you sat that it is okay (under #ifdef CONFIG_TEE), then I'll do in this way.We also tend to abbreviate context in Xen using the ctxt. I would definitely prefer the "driver-specific" fields. This is likely going to be useful for other TEE as well. 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 |