Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5960255pxb; Tue, 16 Feb 2021 11:56:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJztUxNZeVRjGek812VJ+uLpbYxVuXP/kA9R6zQC3ZL5r50mLi4bXGH8uy4hcOXbZ+5G122p X-Received: by 2002:a17:906:f14c:: with SMTP id gw12mr12972281ejb.150.1613505413624; Tue, 16 Feb 2021 11:56:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613505413; cv=none; d=google.com; s=arc-20160816; b=cvWTaCjTcEOfOE7/40qBBSUjWRqZwxrLJ1zZp0pNHt4KiWSJAo+Ug09Us5k+0+Ln97 VYZtc5VF8ldVdLA0iybnoDdEw7r/M5A3JOKfr10ijT4MgtfanCqxsUxewHnKnyi+IHrr G3/1kLHAItgsQFfbQjdwDzmzcDpmQq9Vc/g7+9pHH6Vytbvk8bmtEXodl6U4xmpeZTAH 80LuzkViv154lb/IeDeYi8G6iKMfBAelqq74l+wKiffbGdGuFpstK/LJjUR3Yw1/w5gr 8EbpQUQ71LLm7gYRWvhJEh9Vrv+7ETkJ9WLjIKOfpQkA4bSWXEBhNq8gtj0skWhySWMV 7E5Q== 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=sKkr2LLsp31ybzVvhuzZEzxd7uLtbzsp6tlD9ICKQTk=; b=CwhBsEznAiXzMPCupTsaxzswD+OAHMh3c2K4cRqM/KRSbF+vRQP/WX9lNfrY+2oNJ9 biMXCtzy7nzOa8+qA/9X/shHuFdSDEkZiABAjH0PhzYe4D+VGeV3ZJa1PyHHFRVvZPGZ lnAxzFM0HfMua8cloPfv7hRtrhJPiYcUFVNDiDmeoWLKSFqpExZpKjwsBWNyRBSHdW3y WHE0hORzMx6kzikPCD26Nn3brcCSxecesiL73dml8z1PavXNq3ri0iNM/q6bR+UJJODq /ootTP4H2v545rQQMtxaXosu8UlArM+SS9CWvFPi9pWVGHUldIj1/jtWjTUiZPkrJccB ohUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=Pt151KRT; 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 z15si16995705ejr.160.2021.02.16.11.56.30; Tue, 16 Feb 2021 11:56:53 -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=Pt151KRT; 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 S229796AbhBPTzq (ORCPT + 99 others); Tue, 16 Feb 2021 14:55:46 -0500 Received: from mout.gmx.net ([212.227.17.20]:46271 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229708AbhBPTzq (ORCPT ); Tue, 16 Feb 2021 14:55:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613505245; bh=sKkr2LLsp31ybzVvhuzZEzxd7uLtbzsp6tlD9ICKQTk=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=Pt151KRTaTTQ2IT47owrpRkmSJ67Q5SBvUY96iy9tESF/v72HGyVXy7je6QLCkW3M gJ/w+dHC+YeBZCQ/pz57FdbtxK2Wpen7hmA/AUMZm25F2+p6pia3vcehp8TJ0D/ewH rwWocKTPVC7djajEMo6/n0TKQGyOlzO0FCJiez0I= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([78.42.220.31]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M1Ygt-1lAjdm1c1z-0038ns; Tue, 16 Feb 2021 20:54:05 +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 RESEND v5] TPM fixes Date: Tue, 16 Feb 2021 20:53:10 +0100 Message-Id: <1613505191-4602-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:imbFJcgnVUP1pz8geMCZSgfP3CnwehxM1NSTVkhLXGDLGSpTCXx B9LF5MjXUJhYCDvny6fTAkehKtInoFhntvwuiV5sLNL/pYMMcH2Npsu7nDGJZsR4OKRsBzD YhOArNQg/F7L3c9h8lF4GCEc6Dq2OibgnlU/bldn8IX3BBBmCNWZ1SnxDOGjJblBOcvIrCP c9TbgGLYkEoivskHWtnIQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:lPJrq1jQ4IY=:IVP/D5+V/i9hbiU8+ARbYE Ptk1azAkyWehZFMc4bmoKTPOd3csQy4HcZQBiBFPxH1dpF0HBAwGai+C4NFIK13Bxw5+ttlg8 LlMe9zXdVw7Sps5TT6w0cUk0S+cGgN6eeLQr56Pbur8736boPcOg4+Mux8+v1GdpC8jcuXb+6 jO5fgj64Xna2M/by7AGkntdnKIB9PvzZYLQjUg8Km06peckngFvqUiAAs7npoX22BXbQDR1fq 4BcSl9fCfaZhhDlkdqZikOvVDAWX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