From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751983AbdHaRTO (ORCPT ); Thu, 31 Aug 2017 13:19:14 -0400 Received: from smtp2.infineon.com ([217.10.52.18]:37318 "EHLO smtp2.infineon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751871AbdHaRTH (ORCPT ); Thu, 31 Aug 2017 13:19:07 -0400 X-SBRS: None From: Alexander Steffen To: , CC: , , Alexander Steffen Subject: [PATCH RESEND v2 0/3] tpm2-cmd: Improve self test execution Date: Thu, 31 Aug 2017 19:18:55 +0200 Message-ID: <20170831171858.13252-1-Alexander.Steffen@infineon.com> X-Mailer: git-send-email 2.11.1.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.29.170.103] X-ClientProxiedBy: MUCSE601.infineon.com (172.23.7.102) To MUCSE603.infineon.com (172.23.7.104) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The self test logic for TPM 2.0 was probably based on the implementation for TPM 1.2, but did not correctly take into account some TPM 2.0 specifics. This patch series fixes those issues. v2: - Moved implementation description from comment to commit message. Alexander Steffen (3): tpm2-cmd: Trigger only missing self tests tpm2-cmd: Use dynamic delay to wait for self test result tpm2-cmd: React correctly to RC_TESTING from self tests drivers/char/tpm/tpm2-cmd.c | 69 +++++++++++++-------------------------------- 1 file changed, 20 insertions(+), 49 deletions(-) -- 2.7.4