[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] xen/arm: Move TEE mediators in a kconfig submenu


  • To: Bertrand Marquis <bertrand.marquis@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Fri, 21 Jul 2023 10:52:52 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=W44X56DAKZ+FZMFVDZ+C054AFIkKyu11ph2HWTpoH8s=; b=I6PNbLw3nqPkclyIcPD+7u6hUuR1r6nUBVfvX6+Y/L+Qq9vkhW3fpastNBqacErHLlflEiiTUX6wGHNnNGn3Q5fmYzbG3xDTagqs8G/nlrjb+tdIfC55hoRlNZEmBy6iQnV8vUYrWPTmIwA1OjEvAc1hPJMPqv5/wE8ouKu8RzdTWx0YxIa26XTENJwUxG3AAnkXeaMpo36RtZMXJQKmm/M5TmygiN78TocivyYzfgYew/qFjylHc0VtzRFEkkV0QUblFxPwJ+yTBCkZrQpDMr8REOBbBixY3kMwsj/fmV6aNiVUXxsv0RH94DhTgTI+3PKlc9y2RU3ueMjuygVqkA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IDzal5nlBQpmnKu3c+6yQdtdt/n23Bnkxbx+qaU4Wq72KD2FmU9cPWquiEkqCoXEH3tMrGTpYyPky1UCK1xjpkMdiRWyNFZcpN0DEEUPM25XrGSi70BFtlAQvVsUkL4/T91VouxNHEQLnRUaavSauU4MKq/pU+oogVPr20Yt8byc9ASDVe/ZKcAv0OfH1J6NiKZtLu/6H6nbtRlhpwcmHRcc9o+UMKQgd4gSMeR6lDBYGrhoCCksgGGV7w+PGx86PoWjJFsv+pbOem0zwkDbR1RFS9Vj7TIubcOp9LcCPirklNq2Z8oBCLOi7iK57awLVA/d1xzxb/Z+2/FkWL9M3A==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: jens.wiklander@xxxxxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 21 Jul 2023 08:53:01 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 21.07.2023 10:02, Bertrand Marquis wrote:
> --- a/xen/arch/arm/tee/Kconfig
> +++ b/xen/arch/arm/tee/Kconfig
> @@ -1,7 +1,17 @@
> +menu "TEE mediators"
> +     visible if UNSUPPORTED

With this ...

> +config TEE
> +     bool
> +     default n
> +     help
> +       This option enables generic TEE mediators support. It allows guests
> +       to access real TEE via one of TEE mediators implemented in XEN.
> +
>  config OPTEE
> -     bool "Enable OP-TEE mediator"
> +     bool "Enable OP-TEE mediator (UNSUPPORTED)" if UNSUPPORTED

... you shouldn't need the "if" here, and ...

>       default n
> -     depends on TEE
> +     select TEE
>       help
>         Enable the OP-TEE mediator. It allows guests to access
>         OP-TEE running on your platform. This requires
> @@ -13,9 +23,13 @@ config FFA
>       bool "Enable FF-A mediator support (UNSUPPORTED)" if UNSUPPORTED

... you could drop the one here. I think.

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.