Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3460073ybk; Tue, 19 May 2020 05:21:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3WgbuzrKthOrbgMovjkBU5y8lvA0TFihNqvg9dYpCtqU7aygzfO6hHMxyT1Jjg3kbWH37 X-Received: by 2002:aa7:cc84:: with SMTP id p4mr18184376edt.216.1589890861806; Tue, 19 May 2020 05:21:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589890861; cv=none; d=google.com; s=arc-20160816; b=YAZWz2UvqJ494anf9Qufs2wYpt/EMhGdVjTVZX79foVHt7Hsprhy8a7KC2dwCk2njD pzD/3lnyG/c5pvV+h/RKxmhwQEmqf+KjrjCLeQIBcMAQWM7Ae1AWwkLQISaHMAyMyuvW Wpmg1abo1X8O52PZZHTo9SG8HWmRdgT++2/dZD5mgSZNaxRZU/oJPxfRcE+wxf3ssnPA IBj3ZfxK38qgk5vTtlqp526r1lYTmrqaV7lLhvxWb/ZQWXo2uIj0em3bAhK/QHJl1FDv oJlZE18kPAnWzxBBBzxEU37IKFhCuVrfqVHP1jPZlaflggjQ7ileFSz2IOwks024ERXF LVXg== 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=p60TB+Tyypr34A8h+yZQiNDu/fhAf7U+hPUWshuyPPQ=; b=nKOg537RJQXcriTK1yuMe4BZLQKoNmj0R7BrHwB/rvPOJvVWFYfryVrKIjzX9EUzsJ P6zh2VY3c8PxZoOqsmKe7DOqVEqZvnpRewiQgqOlgP00kIj2LKIV7l8seTHXFaLRhJDg 85UAcM2kURMJWbugZTYq9/AeF2dM/75OOemCYC9WfOKMwBBlehOIs9DsYEEbWos8SqZF 33xyxKNMaIrgNG+r/gK+C9qiZFNLo03yRNOAoIZcayzLLhpclfLFfopSDoM2YWhHhh7d UTN6oKFWmKEUTk/XXxHVKTYI5hF0J5mQBT34idGHx3MUPym3PzyM7pkGnDqMLkK5ziJ5 3ZHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fNDVxX4v; 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 v3si8680013eda.480.2020.05.19.05.20.37; Tue, 19 May 2020 05:21:01 -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=fNDVxX4v; 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 S1728842AbgESMTI (ORCPT + 99 others); Tue, 19 May 2020 08:19:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726880AbgESMTI (ORCPT ); Tue, 19 May 2020 08:19:08 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74753C08C5C0; Tue, 19 May 2020 05:19:07 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id u1so2049593wmn.3; Tue, 19 May 2020 05:19:07 -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=p60TB+Tyypr34A8h+yZQiNDu/fhAf7U+hPUWshuyPPQ=; b=fNDVxX4v/9yZjo6Ka/JZWCNnCthl0wRZ7qHbp9YiiWJnDSCwAOJZrvnfS2IBFci2iT GxDcpsIq4HJ26zb2iLdrWraDMFawnKOHbxfRGif5vGQtBb95kjErhuREsyAvTHO8xXw+ 0IlbCky1b86HJu+2SMmZNwPpQGd3YCCKsqPlXZW7vt2XbFOMkdGhn2UL9FlN8cGUvdYj RHSdcxZYOqZoKHJF4CjKWwMcUMYyuSV3pE0Bx793YSlWsSRMm0zn0B2O+7DIv1ZcQtMB K39A2AS5//Yv8xUYflkIsmUnlswZeMit//r6ivmRZIBVy8fmvcB2kyHQnZP2wNIFPY+F LvRg== 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=p60TB+Tyypr34A8h+yZQiNDu/fhAf7U+hPUWshuyPPQ=; b=GaCPasPewJ2suW/onCLQS7ea9n57h2eI1i8yJGQa7LX7mFzoNBkcMOnvXpkwHf5/C8 fg+PHMPoCdWp31I7M/PA6nwpAv1fDvQWgRjXz3IzoQYvXLTk+RU8RpeC0YO8DvHn8v+b Jz0ypdo0Id8dsdlPoDyjxhf0MsYE9Ioswivw2qq7f20b6XIr9dDYopqdM/l3HGSTgPNS 9lYoVMJbKFRth5l09iCVbM1wMOLGU+8hBoN4mo7omX239MtLm4a2pV8buICdgNYerdn7 Ee+z7lORQK5pMvbB4/rIVmjGPeWi921uoQjdobDK0WTVmfq/424o+mR2pTgxhxRAS/Pq uV6w== X-Gm-Message-State: AOAM530VSbvJPKdBh1WK91HjgMR0jW3YuFQPrl9SCOx0RjPorTscuXKB PJfk8Jn+8CrpF2qKRLSwbtw= X-Received: by 2002:a1c:4088:: with SMTP id n130mr4994461wma.43.1589890746219; Tue, 19 May 2020 05:19:06 -0700 (PDT) Received: from dell5510 ([62.201.25.198]) by smtp.gmail.com with ESMTPSA id d9sm3763163wmd.10.2020.05.19.05.19.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 05:19:05 -0700 (PDT) Date: Tue, 19 May 2020 14:19:03 +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, Shuah Khan Subject: Re: [PATCH v2] Kernel selftests: Add check if tpm devices are supported Message-ID: <20200519121903.GB26265@dell5510> Reply-To: Petr Vorel References: <20200519120743.41358-1-Nikita.Sobolev@synopsys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200519120743.41358-1-Nikita.Sobolev@synopsys.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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 OK, I see it was also reverted by Jarkko https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20200518&id=aaa2d92efe1f972567f1691b423ab8dc606ab3a9 I wonder if only wrong shell syntax (self.flags = flags) is a problem. Kind regards, Petr