|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH v9 02/24] xen/arm: add TEE teardown to arch_domain_teardown()
Hi Jens, On 05/07/2023 10:34, Jens Wiklander wrote: Adds a progress state for tee_domain_teardown() to be called from arch_domain_teardown(). tee_domain_teardown() calls the new callback domain_teardown() in struct tee_mediator_ops. An empty domain_teardown() callback is added to the OP-TEE mediator. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Co-developed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> I am a bit confused with the tags ordering. The first signed-off-by indicates that Andrew is the author but he co-developped with himself? Did you indent to put your signed-off-by first? Signed-off-by: Jens Wiklander <jens.wiklander@xxxxxxxxxx> --- CC: Stefano Stabellini <sstabellini@xxxxxxxxxx> CC: Julien Grall <julien@xxxxxxx> CC: Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx> CC: Bertrand Marquis <bertrand.marquis@xxxxxxx> CC: Jens Wiklander <jens.wiklander@xxxxxxxxxx> --- xen/arch/arm/domain.c | 36 ++++++++++++++++++++++++++++++ xen/arch/arm/include/asm/tee/tee.h | 7 ++++++ xen/arch/arm/tee/optee.c | 6 +++++ xen/arch/arm/tee/tee.c | 8 +++++++ 4 files changed, 57 insertions(+) diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c index 15d9709a97d2..18171decdc66 100644 --- a/xen/arch/arm/domain.c +++ b/xen/arch/arm/domain.c @@ -795,6 +795,42 @@ fail:int arch_domain_teardown(struct domain *d) I think for OP-TEE, we also need to moved the smc call to destroy the VM here. I am OK if this is not handled here, but it would be worth mentioning in the commit message.
NIT: I would consider to check if the callback is NULL. This would avoid providing dummy helper. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |