From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 526A2C433E0 for ; Fri, 22 May 2020 16:37:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1C6A220679 for ; Fri, 22 May 2020 16:37:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730284AbgEVQhs (ORCPT ); Fri, 22 May 2020 12:37:48 -0400 Received: from mga09.intel.com ([134.134.136.24]:60820 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730260AbgEVQhs (ORCPT ); Fri, 22 May 2020 12:37:48 -0400 IronPort-SDR: A6xOwgnm8fsVRqJeTKB4oTGBEA1J+1oaUgBFoGan33pidojR9cC3D2zflf2z9MDHTxHsQsmByh l7aCa0oMgruw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 May 2020 09:37:48 -0700 IronPort-SDR: v05CruEDS/sQbJcCpXJ4yZigvNIF5MkdrMEIhvH0Vnxdhv3UvesWPTo5bJH61nOfyMZ3RcOolH wA9fTpvH3d3g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,422,1583222400"; d="scan'208";a="254318997" Received: from omillerx-mobl.ger.corp.intel.com (HELO localhost) ([10.249.43.59]) by fmsmga007.fm.intel.com with ESMTP; 22 May 2020 09:37:45 -0700 Date: Fri, 22 May 2020 19:37:45 +0300 From: Jarkko Sakkinen To: Nikita Sobolev Cc: Shuah Khan , linux-kselftest@vger.kernel.org, Tadeusz Struk , Joey Pabalinas , Petr Vorel , linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, Jason Gunthorpe , Peter Huewe , Alexey Brodkin , Eugeniy Paltsev , linux-snps-arc@lists.infradead.org Subject: Re: [PATCH v3] Kernel selftests: Add check if TPM devices are supported Message-ID: <20200522163745.GB10319@linux.intel.com> References: <20200521144344.1886-1-Nikita.Sobolev@synopsys.com> <20200522163714.GA10319@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200522163714.GA10319@linux.intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-integrity-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org On Fri, May 22, 2020 at 07:37:17PM +0300, Jarkko Sakkinen wrote: > On Thu, May 21, 2020 at 05:43:44PM +0300, Nikita Sobolev wrote: > > TPM2 tests set uses /dev/tpm0 and /dev/tpmrm0 without check if they > > are available. In case, when these devices are not available test > > fails, but expected behaviour is skipped test. > > > > Signed-off-by: Nikita Sobolev > > Reviewed-by: Jarkko Sakkinen Shuah, can you pick this up? /Jarkko