Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3329349yba; Mon, 8 Apr 2019 16:36:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuA8hjQQ3XQjaPdFimkLayK4awpkPQkV9SblJMcN13dlyGcY6kVpSB2lBx4jmDibapRNkZ X-Received: by 2002:a62:6c43:: with SMTP id h64mr33782517pfc.123.1554766589482; Mon, 08 Apr 2019 16:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554766589; cv=none; d=google.com; s=arc-20160816; b=ljwNdm8qnK49g1BreG+Scizi+/oYlKyFBYfqHd65VQsrOUAzG5wuzn2ID2ee6+eFZl EPRkcHiLRM4B7Up5eY7MOcQxJlWNk0OGE7BfvAu7mqDLPbuhOngAZiwbhGCW0Bx1KLwL mX0H0IiSOPXSZ31NZDvAI4ssaVqZye8GQyO88de4yOt2Z3ify4bU17WKjp7f/Hy1WsHZ ZHERU4fVWm94NZ70jyF18YsIbhfZRYCtRnrO7VBMN9Bzzf2xbxN0Siix+KMSY34yvLT/ GhBwrnerA022j3joRgXj74Kn3VPZ+60IHDgEkqSIiSEyp5lSyyAyaD4+Wv+3cqHCYtvT emyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date; bh=TPmpmbvfRRI11fLScxOB0NLzO2QIIL5SsiBr5RzL6l8=; b=AjU7pSFITVhDyeFi4QyWkBMS/oq7/15RdBhMmyPCtcuHkQcjueq15/KQlBKebguRJe dGMnvgWZZpNY16swnycRi7Rnn9+dLlEVPo+m3TtTdj7b900DLN9anI6+DeFGm1G/fisi s4Qtg4cVLXpFAGPcyP+RlM+LaX/54s2JI5p76xWPadCLu3I+veS5fHmaoeI2xpbcPlSx itRutI4iscOIvphj4ckDyK8M3egyC55IQnszykqMmjV5Vy9ZFbgSct4gfjpAOExXeQpR GJZlK5+bSwNkGgU4BsBv5eb1hoNYFRhxmGnIe5J0f5bV+eQSqHfjpxNnFajZGDqXF4JU dlGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m86si27804261pfi.235.2019.04.08.16.36.14; Mon, 08 Apr 2019 16:36:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726475AbfDHXHN (ORCPT + 99 others); Mon, 8 Apr 2019 19:07:13 -0400 Received: from namei.org ([65.99.196.166]:60908 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726068AbfDHXHM (ORCPT ); Mon, 8 Apr 2019 19:07:12 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x38N7Aj4020957; Mon, 8 Apr 2019 23:07:10 GMT Date: Tue, 9 Apr 2019 09:07:10 +1000 (AEST) From: James Morris To: Linus Torvalds cc: linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Jarkko Sakkinen Subject: [GIT PULL] TPM fixes for v5.1 Message-ID: User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please pull these TPM fixes, from Jarkko: "These are critical fixes for v5.1. Contains also couple of new selftests for v5.1 features (partial reads in /dev/tpm0)." --- The following changes since commit fd008d1a7a204695f0e5e003af16448bb9c34b7b: Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 (2019-04-07 19:51:09 -1000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git fixes-v5.1 for you to fetch changes up to 6da70580af9612accf042b37564d73e787af39b4: selftests/tpm2: Open tpm dev in unbuffered mode (2019-04-08 15:58:55 -0700) ---------------------------------------------------------------- Jarkko Sakkinen (2): tpm: turn on TPM on suspend for TPM 1.x KEYS: trusted: allow trusted.ko to initialize w/o a TPM Tadeusz Struk (3): tpm: fix an invalid condition in tpm_common_poll selftests/tpm2: Extend tests to cover partial reads selftests/tpm2: Open tpm dev in unbuffered mode Yue Haibing (1): tpm: Fix the type of the return value in calc_tpm2_event_size() ndesaulniers@google.com (1): KEYS: trusted: fix -Wvarags warning drivers/char/tpm/eventlog/tpm2.c | 4 +- drivers/char/tpm/tpm-dev-common.c | 9 ++++- drivers/char/tpm/tpm-interface.c | 14 +++---- include/keys/trusted.h | 2 +- security/keys/trusted.c | 32 +++++++++++---- tools/testing/selftests/tpm2/tpm2.py | 5 ++- tools/testing/selftests/tpm2/tpm2_tests.py | 63 ++++++++++++++++++++++++++++++ 7 files changed, 108 insertions(+), 21 deletions(-)