Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2739264ybt; Tue, 16 Jun 2020 13:55:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBF2v7EgkKkbyi4k2e6aRd1cKAoJ7FSrfjX9TkNTinfagvUO8JcG0xODtQmIhZy936g5rY X-Received: by 2002:aa7:d64e:: with SMTP id v14mr4427968edr.103.1592340917780; Tue, 16 Jun 2020 13:55:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592340917; cv=none; d=google.com; s=arc-20160816; b=I2X4h49deuzZMPQq1SbWvjMUhHLtZ+bAN9b7989x55IHPZx3lagWG/mJbUmAy+aZYs 42vlnQAXCuFSUcMTAxnoenz3i8FH3isRHhAdbCbZZsjhpetJ99UHHCPE7fLQSi6T2mh3 cbiMR8jXZSBbxXVsqEDNk7jwAkrsuVTxJLU+1+JrnguYQSPt65uD+UXGRFxX/bJvYqsw 1arfct8mJW92Pqdyu5mzs0YFUmgmgYVwKSe1DnM72mYkAO27qD25DWOPz/oNBkVVfu/a uq6txnYhQiiDL6rryqtQ9v8i0iffcNYkirI7IY7AHdxSJ7rDzyPwSm8RInXGWkr5vMec bFQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=RCucyGp8lhNs+eoTrR4/k2ujaAMWywocAQdnKYS0JBE=; b=BYiLFIo5MpJlWM18bk3Sdp2iVTZ7Q6dDvuWnFOvdKfxr398nuZCk/GBw27O9scScJN llEDqnsVzh+JDDZLt+ppE+2nmnLWQJAV6vvoHcl0qJoXNvrSYfdIQhlv1SuJkFmn5fEO 0QiiC2Gka3qGfESDFWJ5Ecu53tv7SaY+/BwTgsk5liSGHNcSV6I4HBv9OrghCXUc+RY/ KQT3Z4OUaTA3SFayz2SmyoVExIYGGnaip+QOokNBZScZsehNe4Pn7T+gXqnSYMY89eOM KAJm0Kn4ikuubvSmP3euGknu8pyomks+1aRnJDuMHn500jQLd7OWOVXQSo3LphIzAk6g Rvcg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si11257288edq.434.2020.06.16.13.54.55; Tue, 16 Jun 2020 13:55:17 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728043AbgFPUu2 (ORCPT + 99 others); Tue, 16 Jun 2020 16:50:28 -0400 Received: from mga12.intel.com ([192.55.52.136]:47230 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726464AbgFPUu2 (ORCPT ); Tue, 16 Jun 2020 16:50:28 -0400 IronPort-SDR: IH6Wvd7E4FYnpcYpGxbLXLRC8IKkP40KbDBgErfm8ABEy5+UaX6PSxum+JI+VkZNkdfgKfG8Tl iUJxCXiyNH1A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2020 13:50:27 -0700 IronPort-SDR: YXL74oi5sxm+GZRM+/OQ7AXfpbGqE7eizgU++fL1fgFr+ZmJQ4pVv+TFAUaIUi6bKz72VRNgfQ PpPnH414kAwA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,519,1583222400"; d="scan'208";a="277050009" Received: from gosinald-mobl2.ger.corp.intel.com (HELO localhost) ([10.249.36.106]) by orsmga006.jf.intel.com with ESMTP; 16 Jun 2020 13:50:19 -0700 Date: Tue, 16 Jun 2020 23:50:17 +0300 From: Jarkko Sakkinen To: Maxim Uvarov , sumit.garg@linaro.org Cc: linux-kernel@vger.kernel.org, tee-dev@lists.linaro.org, peterhuewe@gmx.de, jgg@ziepe.ca, gregkh@linuxfoundation.org, jens.wiklander@linaro.org, linux-integrity@vger.kernel.org, arnd@linaro.org, sumit.garg@linaro.org Subject: Re: [PATCHv8 1/3] optee: use uuid for sysfs driver entry Message-ID: <20200616205017.GC20943@linux.intel.com> References: <20200604175851.758-1-maxim.uvarov@linaro.org> <20200604175851.758-2-maxim.uvarov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200604175851.758-2-maxim.uvarov@linaro.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? /Jarkko