Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp202685ybs; Tue, 26 May 2020 07:13:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVr/ih5c94feUpY+ZUCwLUNSf47lyxDUSXdaKuRYdMci5zVKN7gWK+5p6GTGhhYTFjKh0p X-Received: by 2002:aa7:c609:: with SMTP id h9mr2777202edq.155.1590502382595; Tue, 26 May 2020 07:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590502382; cv=none; d=google.com; s=arc-20160816; b=AWVhOCF0HuAQ0OG/7XhDdIx/LTbXP6RIRl4I3kfCf+86Q+8Yq+/14qfchvG6QvjZTg yn6yaFKMaGm4KsdZPsMRver7hfim+laM2JLL1Ffoy5xZgDMO+CeuLqOGd9L8RtbcqLDD 6+azx6GuiccK5ZfIzFkftgxaTuLbNAHLaNxg/0OITLB6fOF+80zZAHwWNteFq7M2GNDi PEWCTYt33sqHiuWSUXs5B1xbv6M4WbgXEUWw5y8otYBs15aWX4INslp1KawI18BHIYYu 8ti9i997reqVTBvxtcOH6qIyIwZkwM+w2mIRFeyqddbK0Kw5mKqOjS/byWJY9RlsukWb 0G8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=aFAkmo/3cdktHlOyxHVabozodlR2MwWYHLZY7n5aStQ=; b=eQDEA+ezJ9qa2n14uZHVHn4Zze7gCIadu17k2u5Ro1kuC7R/pa0gHctQpCwtE8KQ4N mCFkXKCe1oN2aFKzvpAqVzFLVlTIUa5nr2bPFL7zw653gxW8gWcH3KD/7Rvlo/R17i7a 1JE1rTpRE0m65M02/XDQmXyIbTqPVxXD+SX/jXCHQR4xBQiXY8p7/cz6qz9OufLJjTFu yP3aq7PWod5QXLopLgCvYs0r2rB9R46OYg3xKwmZ/C2QPGxR42P1a2bEy7R4/FYv6OCk jaB9IbTSEbVYellq4Kg+nGpIYmyiElJHwF+MnrP8qxk4LY40GqO4Z2SWuCRX0FCrUfZb bwgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UILgeofN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y21si3273797ejr.401.2020.05.26.07.12.39; Tue, 26 May 2020 07:13:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UILgeofN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731898AbgEZKhs (ORCPT + 99 others); Tue, 26 May 2020 06:37:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728515AbgEZKhr (ORCPT ); Tue, 26 May 2020 06:37:47 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72338C08C5C1 for ; Tue, 26 May 2020 03:37:47 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id z18so23814139lji.12 for ; Tue, 26 May 2020 03:37:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aFAkmo/3cdktHlOyxHVabozodlR2MwWYHLZY7n5aStQ=; b=UILgeofNTbfLZpZnyu/Ay1mqGxtWW0ZZ6cAk34g7BwBMaDbf0LVZBZvLI2QsLJvXnf mnTqgr4ULcAja1d72GrBYGp5w50D+Ear2BwAp4oeG+59fubr+aYKgsVd3fhTiBFbl2cv lAvY8OBUPsb+LxDm2LvDtVPIwSVWechKtvNbjBQ83zRdzz5UyFA0LoluoD+A3Y5Pjh1D rcV4vuORjEFo6Q/v1YpEhqYjdJHfTN0Uiyt6quZ1LK0Dw0HCdKLlXN7B5SBZG6UQjI+f pKrPSVmlEcjIdBUScKwavMUrxMsEPI3SSMJ+mELZkSrwTShPmdnEd/DBuf/tGGp7ob41 5/uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aFAkmo/3cdktHlOyxHVabozodlR2MwWYHLZY7n5aStQ=; b=s4zeo/VQsy3pqxxVnFeDD3bWMQ98tQGWgE6H/9qX2m0SDAc1c1F1XooHmr0jXRB6O+ yvnNnWdbyyG6Te15Zu3u80VvcWwkihopD6wklTvfl7Xvzb/p0OnStx+ln/vM3yYJXPjP h/Dt9k6pClmepC0wd4jHquw2hiUyFf6lmIKCR02INVPCIYprIxm5o0cRkWunqq96FlJS wK9hjj2iWrGY7BOO1sivU/etanC/WBKOAGR+ngAgCNuHH0b0ndadDSSnlRYLcVtH+FXd fHQj45NFOsVvg1sxFftgbgG0oZRGCMhNmG/l9zeMQuel7jU1/HbCDS1jmCi0mHjtN+Qn iL5g== X-Gm-Message-State: AOAM530IHb8rXi1qGJa9iLFtjScTuSjLy+XmpazqV7o+2ObFh+LKA+Sc 2j3J3vSmkQztWk4Hlvhx4gxdr/TNgYM0PdhWhQfaIg== X-Received: by 2002:a2e:2204:: with SMTP id i4mr338122lji.110.1590489465850; Tue, 26 May 2020 03:37:45 -0700 (PDT) MIME-Version: 1.0 References: <20200525115235.5405-1-maxim.uvarov@linaro.org> <20200525115235.5405-3-maxim.uvarov@linaro.org> <7de3fea9-cd88-4dbf-aa27-3cb188fd6e85@forissier.org> <4be64892-e027-a58d-09f5-0450088292f6@forissier.org> In-Reply-To: <4be64892-e027-a58d-09f5-0450088292f6@forissier.org> From: Sumit Garg Date: Tue, 26 May 2020 16:07:34 +0530 Message-ID: Subject: Re: [Tee-dev] [PATCHv3 2/3] optee: use uuid for sysfs driver entry To: Jerome Forissier Cc: Maxim Uvarov , Greg Kroah-Hartman , Linux Kernel Mailing List , Jarkko Sakkinen , "tee-dev @ lists . linaro . org" , Jason Gunthorpe , linux-integrity@vger.kernel.org, Arnd Bergmann , peterhuewe@gmx.de Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 25 May 2020 at 21:24, Jerome Forissier wrote: > > > > On 5/25/20 3:36 PM, Maxim Uvarov wrote: > > On Mon, 25 May 2020 at 15:10, Jerome Forissier wrote: > >> > >> > >> > >> On 5/25/20 1:52 PM, Maxim Uvarov wrote: > >>> Optee device names for sysfs needed to be unique > >> > >> s/Optee/OP-TEE/ > >> s/needed/need/ > >> > >>> and it's better if they will mean something. UUID for name > >>> looks like good solution: > >>> /sys/bus/tee/devices/optee-clnt- > >> > >> How about mentioning it is the UUID of the Trusted Application on the > >> TEE side? > >> > > > > Jerome, do you think optee-ta- is more suitable here? > > Yes, a bit better I think. More "self explanatory"... kind of :) > +1 > Is it possible to have several devices bound to the same TA? I think > nothing forbids this although we may not have any use case for now... > A single TA is represented via a single device represented via UUID on the TEE bus. And I can't think of a scenario where the user may not want to split the TA so as to support a particular driver in Linux. -Sumit > -- > Jerome > _______________________________________________ > Tee-dev mailing list > Tee-dev@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/tee-dev