Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp246590ybt; Tue, 16 Jun 2020 23:11:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwm/U6/w/mAvDiVH3npb0DSns9DiCG6/qgPo0/yclh2IqpgXkQQiRirN4Q0FYclGNIvCBtD X-Received: by 2002:a50:fc0d:: with SMTP id i13mr5675289edr.260.1592374301519; Tue, 16 Jun 2020 23:11:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592374301; cv=none; d=google.com; s=arc-20160816; b=TRXUNzQLEJ9tzJ7hv0XEWK9mWhvC1yxe2M1txw7VoGNg29ZcIxkmLsY/D82YLV9WZd iiNBXJmxbwg5MAg2cUaVUxZ/5lqV4Ir16mCnx0uYIDjUBeB8fLTLViagxPiSGcmzYJxF 82+uRiyXWXLlFlColLuPGnklX36YDpweLb/XhLu7Jv9S15c0m5Og19Z5rmy4j9AslIFZ hFRt1ulXoc9KPJzv6qIYswfP7rStjDpLrecMaW7ZMXe2ccYzrnPQRqaH3+qYY1WCfBX8 tJL35neSZtxTVnImkAV0fN3TK9rkWPUvQsC0GL4MR3nOQZQj/Gf7fnEaDh7BLCJqI0Pu W1DQ== 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=k2ZEmHhrPs/ulmpdqloJHox+N+2D34dGnYoIhwM09Oc=; b=JcFjtVJnYWF7Caq1+h6rjcOr2lIyj3iIq9FyVZJR1/wtprgigIJpWsTBc/T1j7lR7Z hbQiAbiM7ZWFUlZ70mhlLJhaYmpBLTYzH4bQMPok1kUbkQLIZC8CizY9if5XXUO50E1h cDFRr5XK7YJhh+aSztL6pcIPCK5ePzwRW9kY4uBNzvlBR+3SaPnybSTrKO/o2US2TIuP YBA5HpwAeM0piFb1LvUUOGj+D3GnlXxXfzM3EyLm6B83ZMctZ0T+cIxHcKrMr24y1WJK GGJ0ozVy9NH2pwsODmd/AQhvf6tmUe1Z1JaaKtUOQfKxaU7GHygEG9ZIwG7dkEInt09h PbJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uPykhRwT; 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 rn4si11770413ejb.124.2020.06.16.23.11.19; Tue, 16 Jun 2020 23:11:41 -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=uPykhRwT; 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 S1726867AbgFQGHc (ORCPT + 99 others); Wed, 17 Jun 2020 02:07:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726701AbgFQGHc (ORCPT ); Wed, 17 Jun 2020 02:07:32 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9292AC06174E for ; Tue, 16 Jun 2020 23:07:31 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id a9so1368676ljn.6 for ; Tue, 16 Jun 2020 23:07:31 -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=k2ZEmHhrPs/ulmpdqloJHox+N+2D34dGnYoIhwM09Oc=; b=uPykhRwTSAish44ZDPcrnTHTYCxTAoPDQs0s4pqD9Gz+ToeIJigh/T49FDZ4AhuDkX ZFti8QWz6Uspvl1RbUitrc4JdzWcICXShXq9TFZKvcMSclCNwY/iHqtBXrDk4tBAazFI uzfQqSxSYL7XNi/zx0qIUgOGebOCQ7N2AuzBr3yWfXTTxy3Q/Cegh2vVDSZV4dM3+onD KnZocUo2gfKgj2zcrY/20wezao3Gn/JjFkIG9XieO3vzKrjsy3BR2h0UoWhafeGP6dbV CzJ5DImXZwKUKFLzbM7oo8fP0qvdLZQHpNFDTZbcD0cNDOwiAUtY3AQAhkx8zFdlZ7Kn eu+w== 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=k2ZEmHhrPs/ulmpdqloJHox+N+2D34dGnYoIhwM09Oc=; b=QdIhwF/MD3+nVeTGi5ApOHsUY632gVICZTWh8Uua8JkxxVsdJ64UFTPFFbg0/QvA2r 1E5bz0wUOZ2EPRyW2eLJQlc+YGJzJicbjTk5wVED3GLYiDiM75Fz8T77dzKkWhFQuu3d 1teoBBsaVYPonh9QDprc6Yi13Epzl7SQCO4JYvV9mqoCNb3Z8b9BzxSg0V2V5ybOtSSB mWximDlqRiD872R6TjGWQqodL8ZzybfDM1OHZsEr2gyzGijHN/4F1F/gQCEvhlYdRG7L re4gjU7uKvuto8BP+yc/yjzZ+vytETfyKK0tbQ6zWTi6LU+4hC7IdQoAdKJfSUmk5rlC TQ6A== X-Gm-Message-State: AOAM533FGP85rYZtVxWMLbYZAzuNdHuRAiYb31MXSJGPXhtlUZiCuvmp VUOO/EwXCbj30EVnx+t8kx8Zzam6UduYuxQDP+80wQ== X-Received: by 2002:a2e:5c47:: with SMTP id q68mr3402768ljb.30.1592374049915; Tue, 16 Jun 2020 23:07:29 -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: <20200616205017.GC20943@linux.intel.com> From: Sumit Garg Date: Wed, 17 Jun 2020 11:37:17 +0530 Message-ID: Subject: Re: [PATCHv8 1/3] optee: use uuid for sysfs driver entry To: Jarkko Sakkinen , Maxim Uvarov Cc: 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 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 > > /Jarkko