Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7531064pxb; Thu, 18 Feb 2021 12:35:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwzSMjtBcDkTR94SPFGWJvW1ZNZ1dVPYv0oDwe3NXCyXzPkGobVqyDG96pkyBOvKEmkRM2y X-Received: by 2002:a17:906:2ccb:: with SMTP id r11mr5758808ejr.39.1613680540924; Thu, 18 Feb 2021 12:35:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613680540; cv=none; d=google.com; s=arc-20160816; b=0JAs8oW/7kMzgZY8ZTQgRvTTj2HGZKvfhOzgTsXFjkiFrmL6xwKvxk/28AX8T7qa5n eXxRctiHvgcPQpLt4kQ63fGHtzR3j2nllwJ+9ydtgJtXUMJ94hKTreb+mq45pUPaAUXA jYh+a1G+mQDXjKCoR7hK7dLhTzBgCp90EF+B3zUnA9cB+QgZSny0eSkmVtOP1WIbHJMs r21s7z0R7FsWNeDijQHe3USSzk6RIPMUDXvGbbB5BnLlec11ia7wznwX4lbh85+PRHSv mSma+/gK4HHy34TM4euNBU5sUD0niOcCdQBnb6QEJkOmoU9yB99qRKt3nAwFRTUvVLYx lG7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Rv2QiztmGCI/+aVrwY7N4QY4dBUgpjxiaRS6N+iq1MY=; b=lGN9Zkg2upy+usz6gm1O1Ljx3MagW8/LTKxr+EkI8tfOemF0ilT9CkQxAVzRbW1ZIQ 63eNQluS3miVC1Bm3HU8pMqz8iha4QIvA5Ozui//JTbqmPDAOq+VEkIEob9AAJ6TbbLt e3jTqilcdpBlaO2L+4heKv+AWOHO9nQoLv6Xb1uaZLFLToZ6zf6L5rG4XhRM0JzUUdzG HaM0Ufda/6B6Yo90A/Ce3uyjvCmyIEtxq2qIa+xXUm0OAuEn8mMkjbk0kmR/SjPIw0mU 0AGmMiSxGKVnQsj/73G7O12bqPuI31WxmCSiUWKMuLPU+LWDUQtDCUWXo7JJ3OUVMSC3 NGRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=E2gpjhJH; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r23si4909475edy.410.2021.02.18.12.35.17; Thu, 18 Feb 2021 12:35:40 -0800 (PST) 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=@gmx.net header.s=badeba3b8450 header.b=E2gpjhJH; 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=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230313AbhBRUeW (ORCPT + 99 others); Thu, 18 Feb 2021 15:34:22 -0500 Received: from mout.gmx.net ([212.227.15.18]:41749 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231146AbhBRUdq (ORCPT ); Thu, 18 Feb 2021 15:33:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613680219; bh=Rv2QiztmGCI/+aVrwY7N4QY4dBUgpjxiaRS6N+iq1MY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=E2gpjhJH7SEnFPlTBjlgR8M1XnLhdkYJT7Nw4mA/s37pwz3lpkcCGvzbOxrxt5oGp lEcKLiJxjx/+FP10zxJR64WL/U1jkvl2SacrZXRTTNU2eplB65bHFEExQsBsv12L58 pwTaqOZblJ6/aVWsOlfp3b9u56/j/u204+fx0s1A= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([78.42.220.31]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N5mKP-1lwaw402nL-017Dn6; Thu, 18 Feb 2021 21:30:19 +0100 From: Lino Sanfilippo To: peterhuewe@gmx.de, jarkko@kernel.org, jgg@ziepe.ca Cc: stefanb@linux.vnet.ibm.com, James.Bottomley@hansenpartnership.com, David.Laight@ACULAB.COM, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, LinoSanfilippo@gmx.de Subject: [PATCH v6] TPM fixes Date: Thu, 18 Feb 2021 21:29:40 +0100 Message-Id: <1613680181-31920-1-git-send-email-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:XiwFUIsOpBG2o2szLGEPHBKzlWyo836qvtDDLOGT0jKoN4noArT HGpeksKMd3vkLSUsTq1v4EULrip0K3QvBCwerJZStwiYBufsoEoBbRs2c0bOPrAd2Iu7zSy ybDzbYdSr6emdcLe60FmaWvIJ+sCmaFGrLMdV+zuqy1M2e8excBgOrtvJq0RGluTAhwlT/Y PXEMjVxW0l/8Fb0+6r36g== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:m81jPigrf5M=:sPZZdSw+p9ZNN01moB3TV+ /nGOgMXJ+7XNd0ObKFVKP3i4Xr4F6Tx9x4Bku+A1+Dw9kUJOXuh6jAXmrvUWqi8+8TKl09k8a ZxKY2q0QTvxQ3kz7XtHK3FQ0wFypncbkjzsOoT/s64qe+bSU9XS5bTWyIsmT1nLCrMGvHiQzl +kyuG0KM0fnQR7b2na1U3l8aXKuD09m2J0xsvGr+6D/6VJJh6jRkD67Yvkm1JzhUusYSE562R U7jHfSriuAuPmY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