Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp519894ybr; Fri, 22 May 2020 12:08:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxk3+wFfgbsEQuLbPDErVGb2elhG+LBv2PqDvN3q1VxZHWBB31huDWZSn4sh5wFTEhRVyrz X-Received: by 2002:a50:8d07:: with SMTP id s7mr725923eds.371.1590174536402; Fri, 22 May 2020 12:08:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590174536; cv=none; d=google.com; s=arc-20160816; b=Pa6uOKxvCZNsp4EIHp3tktJ5suJfANY4dHMeNjvK0gLtp3z/btk1FVPTFbWL6Ed044 XxyYCRmYjPlThObycSjHJe6zEafHMqMWU+xwI9nZkYol1tLsPk9YwIcNQGPHuvxxehKa /pCC9QkFgdYhxQ1hgHURvG1ZcsUnf/RS1sR1bNJDM8XBEB19S5cMhZNnucInaPkZ5O1f fkZcJ2jJLt+jrtmgKmLEh3M6yJFj9ezBAROh4biAKmR2nWbG26jUVlk5MBUU0UUYAFSY A1cbqZZ2+e9IKeie+kPqJD+DDkSmA9ko/sgR5zw8NtaTXVv3Bg5hyb0gYacQntfCHLCC RPfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=xmNwanKC++U+27ahip8lbbEDLlHHtUnV6HgVgvFbfDM=; b=s84RO4wFa/1ctGPnav8qpfHI/8mIr8UWqTPIuy8lSk2nN/5Fk0GM/tROk3Z9QrQ0sM cjIovhcPXaff/Exq1J5D8i8veDKeKXN4ldztm8Fv7MLOhIj0LAbXbXFpuxJSEtJ9GHDO LqlHGHBwg7Kv1/krnxSvVfxhJav5y5nic/PNqF6EIR6lV+r9s4XBzyhRxMIGPodRqh5m qOfqFtVweAykl5m4A1zl+K1+YT5r7D5qiDOBK+koGQMgXbKVMakKxBhBmBmWe+l7tWdS UwzYQzVVzjGzs1IrqJWnmCb5md66k7BfHnWb9EyI4NmHFnsbplpz/ZH4wQ+cjETtmPnM k9XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GDNPawQa; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ju5si5467017ejb.676.2020.05.22.12.08.33; Fri, 22 May 2020 12:08:56 -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=@gmail.com header.s=20161025 header.b=GDNPawQa; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730923AbgEVTHS (ORCPT + 99 others); Fri, 22 May 2020 15:07:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730857AbgEVTHS (ORCPT ); Fri, 22 May 2020 15:07:18 -0400 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0074DC061A0E; Fri, 22 May 2020 12:07:17 -0700 (PDT) Received: by mail-ej1-x644.google.com with SMTP id yc10so14140203ejb.12; Fri, 22 May 2020 12:07:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to; bh=xmNwanKC++U+27ahip8lbbEDLlHHtUnV6HgVgvFbfDM=; b=GDNPawQaeob9K+mNF5FNjW5o7K97gJjg59+CeSgpNELRpu58JHl52mCtCCNck1pEvb HeMZ58GjcMB+3JZnPZjNGFu50ZDhiU05fcSRiSQrFSXBCJ5aO517JMVOHzoDFbBO3T60 qnlzDbf5s7Br0/5RInsVsW1RA7uhRp1mzgyUGrAFjOIAaV9g0pC8U0e9WQbXzCXZwYet DqrLVQL6ZhVlh+lICfs24zODMFqTJ0SSF7aT4xVhXt8oxVKEvCjTjVq4eOjlnJT6xm25 F41FFU4KAnVVQTZT1cdv+ze1DN1EPzyRpSTRK8C2V0/wIYNvJnYk969MPWkiE6ykVs9U B4Nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to; bh=xmNwanKC++U+27ahip8lbbEDLlHHtUnV6HgVgvFbfDM=; b=TzADA+jg38Ees1sydxc+QWscyd8YTRIjPRienrglREpFwoy6utxpRlCOiaZAzCHTJh eqWruwPG5ZEDIUKtYtdnnuMHkOJBW2+38zMHsVY812X1nVNfom4ERQhq2kxpS6XNXoCZ 4FEJL/j/atXtYZ3B9uOWTqosQ23o/fGllvysAA+I1/6uMdwotDphOFAdpVwnQ0XgaSNa f9ahFeyhTo3uba4nL9+Eiyblla8Xfr8G9e9mDWwRYMCzs0kxSURU/SyqakN8Qcp8xsjA Yo2u4BY9qXjl/RySq75e7Hu+XNAcDNLvU2n0ZRyyuRpl13I2Ag62/gzmVtR/V4R1dB/i 06sw== X-Gm-Message-State: AOAM5307ZsnPzo/LQoxYhSBQH+W8CmEELQXIOXZakXFhrIiw90dvIaxy RHshVIyGKoJ7SmPK0GwacLU= X-Received: by 2002:a17:906:f74c:: with SMTP id jp12mr9871203ejb.490.1590174436607; Fri, 22 May 2020 12:07:16 -0700 (PDT) Received: from x230 ([62.201.25.198]) by smtp.gmail.com with ESMTPSA id df21sm7827794edb.27.2020.05.22.12.07.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 May 2020 12:07:16 -0700 (PDT) Date: Fri, 22 May 2020 21:07:14 +0200 From: Petr Vorel To: Nikita Sobolev Cc: Shuah Khan , linux-kselftest@vger.kernel.org, Jarkko Sakkinen , Tadeusz Struk , Joey Pabalinas , 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: <20200522190714.GB90663@x230> Reply-To: Petr Vorel References: <20200521144344.1886-1-Nikita.Sobolev@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200521144344.1886-1-Nikita.Sobolev@synopsys.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > 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. Reviewed-by: Petr Vorel Kind regards, Petr