From patchwork Sun Apr 30 14:33:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jarkko Sakkinen X-Patchwork-Id: 88919 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2179228vqo; Sun, 30 Apr 2023 07:37:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6T/zA/EQs4qzIaSde0e2//TNrVSJ8QNmB6mcPXmeLmvN8B75En0y0pNITczg5zGs/jet3V X-Received: by 2002:a17:903:32cb:b0:1a1:f5dd:2dce with SMTP id i11-20020a17090332cb00b001a1f5dd2dcemr14293883plr.6.1682865446499; Sun, 30 Apr 2023 07:37:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682865446; cv=none; d=google.com; s=arc-20160816; b=ijEtTsy+Jr+SI/DzDOcE5zXn6CCX+UnqoVA1bk78HdxKwmo4sTTl3iwqBiHuDwjN9W 6NqYvTOmJegDvjIU9ZvmS7FQ2c/a0Cm71DILw1a2PjbpHG6oXDII/sinxGB/cwGCgVrA XmqlwWgVB7ooGn+vl8JNkOs7Eq6peTS9obG+s13YylzdZYg8sz1Zqe/T4dbb0fRmCfJq jLEivId0rXTC4ifzU8LV9HtsGCvtSI1OlY8lS7uPFZybqR1d27ZigpBqPYg22+TfBKEn mgGWGKmsfyPex5Vl41HncO012wb3u+W0E5K7yneua/jyVz4dYYbBaZE9bsWSAMHJRE8w kzBQ== 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=QakvOJmEh1GvrhVumuGFbqhkxvRTKVy7cJBct68CUrQ=; b=f5jKpEPTZNP/tiW/N2O2wfTOgm1cXBdvA7YLWqQO39sUw0OHH7y9bo4xyljc9Lhkwu BZC3c1S/GXfUk0GOXrw6+tvUSEy8KdOoNBbpYWsJkguCDS6brn9gl7mfzWRA+ILSlPw6 ODJHZm9gonbcKS0Fqk06MjuyPhbOIDH681gOm4iu09x2qVMahXgG4omCNic6ga9guwHJ jIyPZYLecymgz2a+VIo0RyKeTM/XxSbxO5A+lXw/tgQCGrS5ZYEKQMfLKYzr8ca3Yfnp 2hA967n3IWLN3eP/+pppWTw7GE7Muy7xeflEIOxb/pzll2kCOtFhFDERkdhueOfmIuls a59A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FUauZpC8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e12-20020a170903240c00b001a6a1ed899csi26956439plo.644.2023.04.30.07.37.12; Sun, 30 Apr 2023 07:37:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FUauZpC8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230430AbjD3Odu (ORCPT + 99 others); Sun, 30 Apr 2023 10:33:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjD3Odr (ORCPT ); Sun, 30 Apr 2023 10:33:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4283B1BFF; Sun, 30 Apr 2023 07:33:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D062B60B3C; Sun, 30 Apr 2023 14:33:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D9B3AC433EF; Sun, 30 Apr 2023 14:33:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682865225; bh=D6PyAACGGIHCjf0/eKaiMxPT+GM7jDwLMPX8hGlS7D8=; h=From:To:Cc:Subject:Date:From; b=FUauZpC8UD+Q1hLnNevFkdl3QJ6fGoNTj5DHpuPXWuu/xWe1ARiFbCS30BUD0nwZ/ /gOL1kd3HvSs+G/diOW1+8W0QeoovJZ0l4BmYCMXB0u7VC1t/aouUcMlkSKQiyb+yR 1eWBJBWVLJAW1zTvbQH64d3sufBw/t9qR1YOPoyMbr9HGtxAhB9Z/rhkqlq6RuycNm 8o/yboIiTvrNFui4gkary/ln8sj72kwf1zRvGwtD+Nvj6MYUb4sDxE96B/z8kADVvG avUktsL4v8yIAdaWvdajRhD0d4ppoIFK1adGkQp0YHe8oZcV/FARvi5J1tACNbhGve o3SHHry2p/Scg== From: Jarkko Sakkinen To: Linus Torvalds Cc: Lino Sanfilippo , Pengfei Xu , Jason Gunthorpe , linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] tpmdd: a critical bug fix for v6.4-rc1 (v2) Date: Sun, 30 Apr 2023 17:33:42 +0300 Message-Id: <20230430143342.790113-1-jarkko@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764612318421084108?= X-GMAIL-MSGID: =?utf-8?q?1764612318421084108?= The following changes since commit 6e98b09da931a00bf4e0477d0fa52748bf28fcce: Merge tag 'net-next-6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next (2023-04-26 16:07:23 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/ tags/tpmdd-v6.4-rc1-fix-v2 for you to fetch changes up to 0c8862de05c1a087795ee0a87bf61a6394306cc0: tpm: Re-enable TPM chip boostrapping non-tpm_tis TPM drivers (2023-04-28 13:06:36 +0000) ---------------------------------------------------------------- This PR fixes a critical bug in my first pull request. I fixed the cherry pick issue and tested with real hardare and libvirt/qemu plus swtpm. ---------------------------------------------------------------- Jarkko Sakkinen (1): tpm: Re-enable TPM chip boostrapping non-tpm_tis TPM drivers drivers/char/tpm/tpm-chip.c | 22 +++++++++++++++++++--- drivers/char/tpm/tpm.h | 2 +- drivers/char/tpm/tpm_tis_core.c | 2 +- include/linux/tpm.h | 13 +++++++------ 4 files changed, 28 insertions(+), 11 deletions(-)