Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4573491ybb; Tue, 14 Apr 2020 09:53:33 -0700 (PDT) X-Google-Smtp-Source: APiQypJeZV5BfhGxLDb5h6pTlfcpPZHl1NxrvRkQw1QMwum4IkaYCdOXvZRHgPZnKL7mrt8aaeWl X-Received: by 2002:a17:906:64b:: with SMTP id t11mr1064835ejb.336.1586883212872; Tue, 14 Apr 2020 09:53:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586883212; cv=none; d=google.com; s=arc-20160816; b=Z5cARgs8yiYi+mzbWrzoSfyHCWD9AqRlcqylmChIk4zwvaUh1hXttRdqUePDQCbLE/ ATAb/QwfToS3w3IVpzEfLoQPf6TqdTNfj8/RoXm5echfmxKnegXCk4jfclTbuSh4FpM7 dkw8O0cKaaJ2EFZ/uKNMzLoTPPQMTkTFGFQBiHXrFcd1rXGiqe6wOZLojtnBhb1Z9QQS AwesozGZSKjh0zAAp09yR7XMXghyI6jDb2aOvQzWzYlpdxAiXOVMzTI1Qyj6Sg2ArSb7 eUZzl2WyEh8Cnn8nhooLNfpU4JRZddvDQi52GCiFyc0WsjKtl4UYyV9LcmSlLiqYdWEB H5Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=WTAU4NWZoLjWwG+ds4547rbrtkG7AGE1viNaFzM3S8g=; b=t4axF+P03F4RmDU/b8rOZyuEQqy57mAeIUzItCb21s+M7VW/9MLgXo7l9iKvAkTL/I hbSk1ZBnWOfYZtlarVySOj4yfJCAKRZ5SNCbetNOkgSU9zyxjcdTtWkNuMHEG+p6kdaE NpOH5tE//tna4SKnwac8vXc9YCbpHX5wg3IXHPmxD4sE2bUvIC05WpJB6P9XtVfr6/ia JFpi/m962aDt51dGgw6v+NpMR4M3MQCNrT3yIiC6F3bp2Y+uqrmfsaKxaRVRdphzlTnk FgXrv4UXIvnuoAb/TAPrzcnWXIutlhyUfj5ErsjdmtGrPenhbC1dqnA8NSKwngIGf5RQ 1QhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uzB6xCQH; spf=pass (google.com: best guess record for 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si8866067ejb.482.2020.04.14.09.53.09; Tue, 14 Apr 2020 09:53:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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=@kernel.org header.s=default header.b=uzB6xCQH; spf=pass (google.com: best guess record for 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391297AbgDNQFJ (ORCPT + 99 others); Tue, 14 Apr 2020 12:05:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:37882 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391235AbgDNQEl (ORCPT ); Tue, 14 Apr 2020 12:04:41 -0400 Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EE74E20775; Tue, 14 Apr 2020 16:04:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586880281; bh=epy82pHJIjz+R+sTHySiSOV9DXsESpBVEBTHm5bQ8zE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=uzB6xCQH55+x/gMA2gVncOQC2YIunQFxYsPibIC1gUjHTZfWFMeKqaejV7lSBvD9o cGYSUmxTw40RI/a1Uk5jzTbaPOdKFExmGLUSjp3Keu/NRdxpC6Vi/3UmFTSBtZxMM/ wjoLGqZvZ8x1RgdLJQktmDytt8OVQXEk+L+jl0Y4= Subject: Re: [PATCH AUTOSEL 5.5 04/66] Kernel selftests: tpm2: check for tpm support To: Sasha Levin , linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Nikita Sobolev , Shuah Khan , linux-kselftest@vger.kernel.org, Jarkko Sakkinen , shuah References: <20200303024615.8889-1-sashal@kernel.org> <20200303024615.8889-4-sashal@kernel.org> From: shuah Message-ID: <8954e808-6dd9-dd71-e2d7-7dc90c9d66b3@kernel.org> Date: Tue, 14 Apr 2020 10:04:40 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200303024615.8889-4-sashal@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/2/20 7:45 PM, Sasha Levin wrote: > From: Nikita Sobolev > > [ Upstream commit b32694cd0724d4ceca2c62cc7c3d3a8d1ffa11fc ] > > tpm2 tests set fails if there is no /dev/tpm0 and /dev/tpmrm0 > supported. Check if these files exist before run and mark test as > skipped in case of absence. > > Signed-off-by: Nikita Sobolev > Signed-off-by: Shuah Khan > Signed-off-by: Sasha Levin > --- > tools/testing/selftests/tpm2/test_smoke.sh | 13 +++++++++++-- > tools/testing/selftests/tpm2/test_space.sh | 9 ++++++++- > 2 files changed, 19 insertions(+), 3 deletions(-) > Let's drop this unless it already made it into stables. Jarkko Sakkinen found regressions and send in a revert for this patch. thanks, -- Shuah