Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp263688ybt; Tue, 16 Jun 2020 23:48:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz26j4iLFHGPyFalRpioieXSMjGvAtZ4evBJJ3W0TSp1ghIJQQQ+01H5SfL7lfjnWEY4oIW X-Received: by 2002:a17:906:7ac9:: with SMTP id k9mr5930738ejo.489.1592376480910; Tue, 16 Jun 2020 23:48:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592376480; cv=none; d=google.com; s=arc-20160816; b=WeHOs5zC/T+KqtmN+ZTJPxar3u0RBBHhuIJN937c3f/9RbfkzXbW4pxdfRL6Xfa0GW HLrxI3snYREH6quY6GKCu5ewSB67a1JetrVcjQ+hFZqbTAx1avA2jSFJtF9H5jnVJaM/ C7viqueVClf7qxFg2wDDSGLTpxJP0a9aSwWnimOatrez7UVeQef9WApli86VpH5VgTOd t6xJX0AV+c11EJroDFRLUROn4Z72KwAXx78OVdMIdsf6/PGYWqfOdiWZKvAIWTlQ6N+K 2s/tOKmJlMGzevMDxWLTbhV6CccHbOwzU0XghOhfdMLLKTcUbmfRFvwMfdDw+w46dfJ5 g/9A== 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=6VYHd5h0CrKt/2yr6GObm6CaI8Wbrm7EKPsSDWfxLXY=; b=gwVZMINJBippzE3MfLi56TX2OcEJkcdQXngbJXozlelsSjkPDxkS6krsld48M8DgiA KWukrGbzHo8+g0BmzGuGVw78B2DtFEZ7FR1zlHZSn3iAqhBCnZP1GPdfZPJyUv7vUNi2 6cdOOTEpjLQQJ1+f32eZ1eHExamfiu2SXAtY265NbXa0IdujwO0bKG7nXt850dwc5RaD BEQZ7DPgOyK/oVYGwDo10K5gUIuVeVUxp8S4yJtzU4L21mBzWU8uOCvmt90edhSlFTaG ICN0XmSlOlYVxGxh6ucOI31ZnFxA50wWrsucwXwrC+0Br9LA4SvsXVVN2k4YedqGHq0g 2A6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iLzUGqrk; 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 d22si12312247edv.113.2020.06.16.23.47.37; Tue, 16 Jun 2020 23:48:00 -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=iLzUGqrk; 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 S1726840AbgFQGpx (ORCPT + 99 others); Wed, 17 Jun 2020 02:45:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726497AbgFQGpx (ORCPT ); Wed, 17 Jun 2020 02:45:53 -0400 Received: from mail-yb1-xb42.google.com (mail-yb1-xb42.google.com [IPv6:2607:f8b0:4864:20::b42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BB9FC061573 for ; Tue, 16 Jun 2020 23:45:53 -0700 (PDT) Received: by mail-yb1-xb42.google.com with SMTP id d13so727573ybk.8 for ; Tue, 16 Jun 2020 23:45:52 -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=6VYHd5h0CrKt/2yr6GObm6CaI8Wbrm7EKPsSDWfxLXY=; b=iLzUGqrkPbLXAoEnWcSVHgCY+LGh7gOt3ou7QDXKY/NSR5BMmuoOvemoFSYsNHGgqe kR54Xb69bK4eljpJJhPDM440/EFxcg63kh3B0bSVQug7j9UV2Css/Fl9O8ZtLOxb/kPa SdcrGk7tDY0aMMN81vBAfOMWZGIZWnB9e6Y89rI+VGSuoUqE60Wzy4/y1QPSsx7XZSj7 B7ZDafvUqwQ6yzyT0ZFRGueYzwOAju7CQ7h6eocZaqoAgEzz5O+UZyjMaA4lWlgA7aVI yVyX8G0rTxA5c1fCyT+rXlOxRNJtOS+cVFj6SHFBF1vnMgv/99cFMOhJa426Ae2Sgaka 4KvA== 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=6VYHd5h0CrKt/2yr6GObm6CaI8Wbrm7EKPsSDWfxLXY=; b=rO2SiCJe6XORlYpa3GpSIFleGgDs5cSN1R6eRszRTWQWKS7VutwotctKsU+NFYKEv0 euxgPoIYua9Hy//z8EUjQqF37eqaqokDmnZb3hAX4mZXMJDfdkkGNG1Zmi+sZkEUsVa8 fBvOpPO3Pzib8mHGnaoGKAiOkfQoeOviuKl8ZEqOwYZEBhL50U27i4bomSaLHTExgewf Ha/kZizJ3NwS11CPIsQlh4goUc2aq4umFYxg+eg8VE7/s3DcLTsX/s1/9mNNTrUGFA5F SyvIPvX95guiN1fKr1lGkYPypMiIYY+9Rbp8NZgnqh2gFRFTbuAcskU5OqM83TK4EoVK e2/Q== X-Gm-Message-State: AOAM533uXGArcvSVIlARavQzZ9CLtjKGvLlNoZmDAF/Sv0Tn0MaBV9zi ZZaKhp9ofs8Fh2gSWwhP5SEp8pZVALbBJXGDNQL31A== X-Received: by 2002:a25:4cc6:: with SMTP id z189mr9833280yba.153.1592376352141; Tue, 16 Jun 2020 23:45:52 -0700 (PDT) MIME-Version: 1.0 References: <20200604175851.758-1-maxim.uvarov@linaro.org> <20200604175851.758-2-maxim.uvarov@linaro.org> <20200616205017.GC20943@linux.intel.com> In-Reply-To: From: Maxim Uvarov Date: Wed, 17 Jun 2020 09:45:41 +0300 Message-ID: Subject: Re: [PATCHv8 1/3] optee: use uuid for sysfs driver entry To: Sumit Garg Cc: Jarkko Sakkinen , Linux Kernel Mailing List , "tee-dev @ lists . linaro . org" , peterhuewe@gmx.de, Jason Gunthorpe , Greg Kroah-Hartman , Jens Wiklander , linux-integrity@vger.kernel.org, Arnd Bergmann 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 Wed, 17 Jun 2020 at 09:07, Sumit Garg wrote: > > On Wed, 17 Jun 2020 at 02:20, Jarkko Sakkinen > wrote: > > > > On Thu, Jun 04, 2020 at 08:58:49PM +0300, Maxim Uvarov wrote: > > > With the evolving use-cases for TEE bus, now it's required to support > > > multi-stage enumeration process. But using a simple index doesn't > > > suffice this requirement and instead leads to duplicate sysfs entries. > > > So instead switch to use more informative device UUID for sysfs entry > > > like: > > > /sys/bus/tee/devices/optee-ta- > > > > > > Signed-off-by: Maxim Uvarov > > > Reviewed-by: Sumit Garg > > > > Reviewed-by: Jarkko Sakkinen > > > > Sumit, are you able to test these easily? > > Yes, I could give them a try. > > Maxim, > > Could you share fTPM TA tree which I should use for testing? > > -Sumit Yes, I will send you an email. > > > > > /Jarkko