Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1924201ybt; Thu, 2 Jul 2020 18:11:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5YbE9OFR+bCuN2DWoD2aY5Amz+nCR0rwcYp21NRf/pRqEVj0Cp87GuPI5p1fS+12mnUFm X-Received: by 2002:a17:906:e215:: with SMTP id gf21mr24304629ejb.310.1593738712141; Thu, 02 Jul 2020 18:11:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593738712; cv=none; d=google.com; s=arc-20160816; b=IQ7OaxxdkNXr5jYtfXiLM/F8U9zo6Tci9dGoNZs4XBELtEVVFkZSvr5dQ5oG1D2zau 8N1sotduRIYrt0O0jkOCZC+525amE87D+VeCV41sPrzugzHA1hbaNQvkPxb1cCqztd+2 ptx7Rq+2n5sQ+nob4kW2N9YXKgZ9QCRlilos/NCOpAdN4F4CsMScszjkiMBm7sTcM2hO ll+MOlsX9ZZYEBR6i7OvFAnbzaMF8/wWdi3ukchl1F/nxrxD8B5WMKArH5l/ySBeWnNt pDPUYi49/SFAiI4/z6Eu5F6qvmm+KJolyGYt01VCFZK2F5s0/S6cII7mjuAa+xLUGHt1 uZ9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=9QNpsXHOQCbBL/TgmpCzSe57niO+p3TM0z5uVlobG9Q=; b=C+2y4TT6IQQrIL4F6pY7WKBEzIlFVmMP+nexYQXN+RuOChSLjddiqQ7OTx1sT5ZcGE tgpUgXT8/LlobB8Pt/EViDadSPfWL10bVcxQLSgxnmAykO6spnL5R+nOPN0+VpFXZFds whPB4hzG9CGKUcNmMxK6J0cgMYxz4Q3DurrkDMReotONC7sWyOgls5klpF8b8nofvrxr kEb4c7idHB1vQ69e479+u6fGEL5+K1cPAVaTTSewqSzk6L6x0Fkep2G8/IybaMM7BE4D fTQKb1zpcTPOdlushp2MZoxG+n2a6W5+32iqHmY5Nhwd+K7zSWV6ehg0GapGrLWj7Uim JsFQ== 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 be11si4689320edb.482.2020.07.02.18.11.29; Thu, 02 Jul 2020 18:11:52 -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 S1726032AbgGCBKS (ORCPT + 99 others); Thu, 2 Jul 2020 21:10:18 -0400 Received: from mga18.intel.com ([134.134.136.126]:33118 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725937AbgGCBKS (ORCPT ); Thu, 2 Jul 2020 21:10:18 -0400 IronPort-SDR: ZcNxe+KN403AQeSQTJXcLlyHYxK++nSgMNegoxzU22R/WfL3+n6Cp5rrbfpu22BfftMnem+f7t ylFjeywgE8/w== X-IronPort-AV: E=McAfee;i="6000,8403,9670"; a="134523863" X-IronPort-AV: E=Sophos;i="5.75,306,1589266800"; d="scan'208";a="134523863" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jul 2020 18:10:17 -0700 IronPort-SDR: hhzfnRppsSt1HZlwFkl+A9lSroPpFTv/+m1cEBZgvi+zT05eg3cgffRKVE4QVyqI/qYcDGTZQX tb4Z/KJkQrzA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,306,1589266800"; d="scan'208";a="265844749" Received: from xpf-desktop.sh.intel.com ([10.239.13.107]) by fmsmga007.fm.intel.com with ESMTP; 02 Jul 2020 18:10:15 -0700 Date: Fri, 3 Jul 2020 09:20:06 +0800 From: Pengfei Xu To: Shuah Khan Cc: Jarkko Sakkinen , Shuah Khan , Qiuxu Zhuo , Heng Su , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Kai Svahn Subject: Re: [PATCH v4] selftests: tpm: upgrade TPM2 tests from Python 2 to Python 3 Message-ID: <20200703012005.GA23276@xpf-desktop.sh.intel.com> References: <20200626034052.25263-1-pengfei.xu@intel.com> <20200702194435.GA28988@linux.intel.com> <52f0d32d-d63a-ae1e-cdd9-1ed7bd4edbc0@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52f0d32d-d63a-ae1e-cdd9-1ed7bd4edbc0@linuxfoundation.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks a lot Jarkko and Shuah! BR. Thanks! On 2020-07-02 at 15:32:49 -0600, Shuah Khan wrote: > On 7/2/20 1:44 PM, Jarkko Sakkinen wrote: > > On Fri, Jun 26, 2020 at 11:40:52AM +0800, Pengfei Xu wrote: > > > Python 2 is no longer supported by the Python upstream project, so > > > upgrade TPM2 tests to Python 3. > > > > > > Signed-off-by: Pengfei Xu > > > > I think that it's perfect now. Thank you. > > > > Also > > > > 1. I checked that scripts/checkpatch.pl did not report any errors. > > 2. sudo python3 -m unittest -v tpm2_tests.SmokeTest > > 3. sudo python3 -m unittest -v tpm2_tests.SpaceTest > > > > Reviewed-by: Jarkko Sakkinen > > Tested-by: Jarkko Sakkinen > > > > Shuah, I could pick this up after your PR (with my earlier fixes) lands > > to mainline, and sort out possible merge conflicts if they uprise. Is > > this fine by you? > > > > Yes. I will apply them as soon as PR clears and hopefully they can go > into rc5. > > thanks, > -- Shuah >