From: Julien Grall <julien.grall@arm.com>
To: Volodymyr Babchuk <volodymyr_babchuk@epam.com>,
xen-devel@lists.xen.org,
Stefano Stabellini <sstabellini@kernel.org>
Cc: tee-dev@lists.linaro.org
Subject: Re: [PATCH v1 2/6] arm: add generic TEE mediator framework
Date: Tue, 28 Aug 2018 12:14:33 +0100 [thread overview]
Message-ID: <33c79031-323e-c810-ecd7-399ec7c46131@arm.com> (raw)
In-Reply-To: <6c84f255-6cac-e39b-c175-113432508ccd@epam.com>
On 27/08/18 20:09, Volodymyr Babchuk wrote:
> Hi Julien,
Hi,
>
> On 22.08.18 20:03, Julien Grall wrote:
>
> [...]
>
>>> if ( is_hardware_domain(d) && (rc = domain_vuart_init(d)) )
>>> goto fail;
>>> + /* Notify TEE that new domain was created */
>>> + tee_domain_create(d);
>>
>> My concern about domain creation is still not addressed. I would
>> expect the toolstack to decide whether TEE should be initialized for a
>> given guest and potentially return an error on failure (e.g maximum
>> client ID has been reached).
>>
>> But very likely, you don't need to initialize TEE that early. This
>> could be done in a separate DOMCTL as we did for VPL011.
>
> Yes, as we discussed in latter patches, I'll add DOMCTL support.But
> what to do with dom0 construction?
> I think, it should be configurable. But how? With commandline option?
There are an high chance that OP-TEE will be required by Dom0 for some
devices. So I think it is fine to have OP-TEE enabled by default for Dom0.
If you want to override the behavior, then a command-line option looks
the best.
>>> + printk(XENLOG_WARNING "No TEE mediator found\n");
>>
>> Not having a TEE is a valid use case. So printing a warning seems a
>> bit too much.
>
> I can change this to INFO. Or it is better to remove this print at all?
I would prefer the message to be removed. The message "Using TEE
mediator..." is sufficient as if it is not printed it means there are no
TEE.
Cheers,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2018-08-28 11:14 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-22 14:11 [PATCH v1 0/6] TEE mediator (and OP-TEE) support in XEN Volodymyr Babchuk
2018-08-22 14:11 ` [PATCH v1 1/6] arm: add SMC wrapper that is compatible with SMCCC Volodymyr Babchuk
2018-08-22 16:46 ` Julien Grall
2018-08-23 14:35 ` Volodymyr Babchuk
2018-08-23 14:45 ` Julien Grall
2018-08-23 15:16 ` Volodymyr Babchuk
2018-08-23 15:31 ` Julien Grall
2018-08-30 14:48 ` Volodymyr Babchuk
2018-08-30 16:43 ` Julien Grall
2018-08-27 6:44 ` Jan Beulich
2018-08-27 19:24 ` Volodymyr Babchuk
2018-08-27 20:19 ` Julien Grall
2018-08-28 6:09 ` Jan Beulich
2018-08-22 14:11 ` [PATCH v1 2/6] arm: add generic TEE mediator framework Volodymyr Babchuk
2018-08-22 17:03 ` Julien Grall
2018-08-27 19:09 ` Volodymyr Babchuk
2018-08-28 11:14 ` Julien Grall [this message]
2018-08-22 14:11 ` [PATCH v1 3/6] arm: tee: add OP-TEE header files Volodymyr Babchuk
2018-08-22 14:11 ` [PATCH v1 4/6] optee: add OP-TEE mediator Volodymyr Babchuk
2018-08-22 17:28 ` Julien Grall
2018-08-23 14:27 ` Volodymyr Babchuk
2018-08-23 15:28 ` Julien Grall
2018-08-22 14:11 ` [PATCH v1 5/6] libxl: create DTS node for OP-TEE if it is enabled Volodymyr Babchuk
2018-08-22 17:03 ` Wei Liu
2018-08-22 17:32 ` Julien Grall
2018-08-23 14:03 ` Volodymyr Babchuk
2018-08-23 14:11 ` Julien Grall
2018-08-23 14:16 ` Volodymyr Babchuk
2018-08-22 14:11 ` [PATCH v1 6/6] xsm: add tee access policy support Volodymyr Babchuk
2018-08-23 13:43 ` Julien Grall
2018-08-23 13:57 ` Volodymyr Babchuk
2018-08-23 14:08 ` Julien Grall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=33c79031-323e-c810-ecd7-399ec7c46131@arm.com \
--to=julien.grall@arm.com \
--cc=sstabellini@kernel.org \
--cc=tee-dev@lists.linaro.org \
--cc=volodymyr_babchuk@epam.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).