Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2626248rdh; Sun, 26 Nov 2023 13:17:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IGGQdaSzgMlfCXP1FIhelQQGzJ60rY16qJEhKStect+C+7T08/uHtvDgoaDoPUSgpzYmXuy X-Received: by 2002:a05:6a00:4c8f:b0:6c4:ac49:89a3 with SMTP id eb15-20020a056a004c8f00b006c4ac4989a3mr9286852pfb.14.1701033423931; Sun, 26 Nov 2023 13:17:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701033423; cv=none; d=google.com; s=arc-20160816; b=A1XUnbb/+JQdUzmFu/tkvURwUrwjRgOPpK7rWR2EPiq5CwPNcvzjG59FSzgMVd8tqZ 5jsm/CXLgSpkq070v1juQ6dxXXhMGeUwnXkPi5OPuFc3aRnD0UxwY85zse0CUGuEvqVk kEMO93qb3GmsGBLZCmGyeb5Tngis00q738TW/JrDnfhAN8sm1rqY4tAgVdm66O25hjQ2 PuLMN3yraPvDq5v7JSwIsiI09MXMKNC8YOT4fjg7NdgGOyemuURwdfW+NhQZUmW08oKW 4XHHmX+aFCNwKS2ApZGbhn8u1U8xzeHJVZKN1Wc4vj24i5kCKvvhZgTcQmxL9csIX3Lp fgNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=IwhR08uy9nRYsdlGPk6drfJ+Bo0wUEBpE+0xNrCmDQ8=; fh=C9i29aZ9y6WORH3dDOf5DcS8MzTCPWoAnJrYENoCPmA=; b=ia9w5fjnJ7DCLIZhlgQr+O2iRairdMj4/StCfyL/TiMDM5zNSNwOoWGDzApthpSKCR +nR0Rn5kJa4FlySK7M3lcq/IXkwh8/nHNGDaccGa3nxH2XriP05OP6xlQscUepIWznmI J2s0LRZSYcWiy9RcE+7m86E1A+E3xZzPPz7upOhPawliu/vdsjiZmLw9IFKa61+HySms nGPzTf3KpwtzOX70gcnnQwFinorSJNZ/Gg/ZvBgvETv0H0267ncNyad3DoWeB+MZBasv gbIkg9ZUd5Z/S1i28UBKoq2BPky5Ff4c23Dq4JxIu0xy89lYWSu5DV2AUwNBpi64kRmD Z8ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=PApdiNXb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u8-20020a056a00158800b006cc09999f53si3311399pfk.384.2023.11.26.13.17.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 13:17:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=PApdiNXb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=alliedtelesis.co.nz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 17E32806B9FE; Sun, 26 Nov 2023 13:17:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229590AbjKZVQq (ORCPT + 99 others); Sun, 26 Nov 2023 16:16:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjKZVQp (ORCPT ); Sun, 26 Nov 2023 16:16:45 -0500 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4BFDEE8 for ; Sun, 26 Nov 2023 13:16:50 -0800 (PST) Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id E716F2C011D; Mon, 27 Nov 2023 10:16:46 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1701033406; bh=IwhR08uy9nRYsdlGPk6drfJ+Bo0wUEBpE+0xNrCmDQ8=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=PApdiNXbwslJviVEt4XxQXjxZRZcPIwhshJYbpd0Kznze/64xQy+E7s9eMPM0/IVa AAdKTaudR1gyBHPJMoVH49iob8LFbHIQ5YfIAs+wv4AItXDd+tx1suOTjkr5rl0L7z xIuATsxrhpEcYnowiVoolg5M6hgv5tI5kEes7lX0bEUxotQ6Vv+pUfQgsueXkrnQlb YZWgciYCrAsAgTHugvHxdhiowK8BoAf8fmWiwFjvw1UTXJGIzZekjGu7mFwMl5zqXp yuVAAZ0mbk5sOH6NpR2UxeLWsY7ZgXH4a/u257hRkbi2X828bhYwCVYk/v1GXYHszG 8P3rdq+Y6BukQ== Received: from svr-chch-ex2.atlnz.lc (Not Verified[2001:df5:b000:bc8::76]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Mon, 27 Nov 2023 10:16:46 +1300 Received: from svr-chch-ex2.atlnz.lc (2001:df5:b000:bc8::76) by svr-chch-ex2.atlnz.lc (2001:df5:b000:bc8::76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 27 Nov 2023 10:16:46 +1300 Received: from svr-chch-ex2.atlnz.lc ([fe80::a9eb:c9b7:8b52:9567]) by svr-chch-ex2.atlnz.lc ([fe80::a9eb:c9b7:8b52:9567%15]) with mapi id 15.02.1118.040; Mon, 27 Nov 2023 10:16:46 +1300 From: Angga To: Paul Menzel CC: "peterhuewe@gmx.de" , "jarkko@kernel.org" , "jgg@ziepe.ca" , "linux-integrity@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] tpm: Start the tpm2 before running a self test. Thread-Topic: [PATCH] tpm: Start the tpm2 before running a self test. Thread-Index: AQHaHREnjIixcvoKIE+Z7DUtybpc5rCFEegAgAc1wAA= Date: Sun, 26 Nov 2023 21:16:46 +0000 Message-ID: References: <20231122065528.1049819-1-hermin.anggawijaya@alliedtelesis.co.nz> In-Reply-To: Accept-Language: en-NZ, en-US Content-Language: en-NZ X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.32.1.11] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.3 cv=AZXP4EfG c=1 sm=1 tr=0 a=Xf/6aR1Nyvzi7BryhOrcLQ==:117 a=xqWC_Br6kY4A:10 a=oKJsc7D3gJEA:10 a=IkcTkHD0fZMA:10 a=BNY50KLci1gA:10 a=aaz9gABReCDEcGSWusUA:9 a=QEXdDO2ut3YA:10 X-SEG-SpamProfiler-Score: 0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sun, 26 Nov 2023 13:17:01 -0800 (PST) T24gMjIvMTEvMjAyMyA4OjEwIHBtLCBQYXVsIE1lbnplbCB3cm90ZToNCj4NCj4gRGVhciBIZXJt aW4sDQo+DQo+DQo+IFRoYW5rIHlvdSBmb3IgeW91ciBwYXRjaC4NCj4NCj4gSXTigJlkIGJlIGdy ZWF0IGlmIHlvdSByZW1vdmVkIHRoZSBkb3QvcGVyaW9kIGZyb20gdGhlIGVuZCBvZiB0aGUgY29t bWl0IA0KPiBtZXNzYWdlIHN1bW1hcnkvdGl0bGUuDQo+DQo+IEFtIDIyLjExLjIzIHVtIDA3OjU1 IHNjaHJpZWIgSGVybWluIEFuZ2dhd2lqYXlhOg0KPj4gQmVmb3JlIHNlbmRpbmcgYSBjb21tYW5k IHRvIGF0dGVtcHQgdGhlIHNlbGYgdGVzdCwgdGhlIFRQTQ0KPj4gbWF5IG5lZWQgdG8gYmUgc3Rh cnRlZCwgb3RoZXJ3aXNlIHRoZSBzZWxmIHRlc3QgcmV0dXJucw0KPj4gVFBNMl9SQ19JTklUSUFM SVpFIHZhbHVlIGNhdXNpbmcgYSBsb2cgYXMgZm9sbG93czoNCj4+ICJ0cG0gdHBtMDogQSBUUE0g ZXJyb3IgKDI1Nikgb2NjdXJyZWQgYXR0ZW1wdGluZyB0aGUgc2VsZiB0ZXN0Ii4NCj4NCj4gUGxl YXNlIGRvY3VtZW50IG9uIHdoYXQgcGxhdGZvcm0gdGhpcyBoYXBwZW5zLg0KPg0KPj4gU2lnbmVk LW9mZi1ieTogSGVybWluIEFuZ2dhd2lqYXlhIA0KPj4gPGhlcm1pbi5hbmdnYXd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