Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2385364imc; Tue, 12 Mar 2019 12:43:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/ZWoliwpswsxbPb08AGcP0fbk9bsryDNCxJepUPdPLY8XekLLlS7X16+RaNqMyw+wvp7A X-Received: by 2002:a17:902:43a4:: with SMTP id j33mr11358907pld.71.1552419836546; Tue, 12 Mar 2019 12:43:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552419836; cv=none; d=google.com; s=arc-20160816; b=gz3id4P24Gn0jM0o1yNoOn1P2D4N936/zNd1oAFgJI28r4MX/+WFkcn7v9x1CPxv0l knHHGCfEWXz5Mot1Cg8FJCtaHtduazW1BMGmVB6xSJ3GsWnuZtrDlEtrBmfM4qo8JkoY Zd6jNln8PaB46SllIJvsRo79zQKIEvhDFcJ3xmlfhGFR0vUWVEBJpPpzzGIDitZF9WBG +nLuJaT78EpqoW6BRxZKgegC5mY8/5nsGqCjOmPtM7FhEonx70jzUGEfIEyWStK6Uc8X I00gqVo/ntLpQUz2I1cOfGqE5mybG7sLFeEvZfUYmaus1Q1Bnh8pZhuxxYqZEdaSkSSm xMKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=k5dwIh0pXW/bPgm9wj0ITKSXz77/W94/t/zCqtaIyVA=; b=KUN/dPXD6BcOqMeHnqOz75WS8DAnxkyit5xdEoQJLxQ3PewbFJsmW2QZG9Rrl1ZObK ZJ/uOEemJNOliJJEWVsA9nYkiF+59ijcow3bHZwBZLBJWL0T05Ce13tcN0DeB+OrF7xI 3XyXBXncKjmozOLZQXEfUmi+94YDiaGoXmMW5fIsGt4jdTeGoED2+zGQ1/DmFK1xxZmW I/7Z+bw59intlnUi66Ig89cw0ceu5gDs9H1TEzga+sOnUbtZC7MxBVAqX0tNtkFng2Ep w+q7/bvn4liusjbSW1Y/IHNS4TT/gAgxrVgisKcysZM4jBYPhUS7uv4KZghHg1RN2TNN Af+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=GIHDRyAz; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=D1lnHzNq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16si8020363pgv.70.2019.03.12.12.43.40; Tue, 12 Mar 2019 12:43:56 -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; dkim=pass header.i=@fb.com header.s=facebook header.b=GIHDRyAz; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=D1lnHzNq; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727029AbfCLTmE (ORCPT + 99 others); Tue, 12 Mar 2019 15:42:04 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:42330 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726501AbfCLTmD (ORCPT ); Tue, 12 Mar 2019 15:42:03 -0400 Received: from pps.filterd (m0148461.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x2CJRRhS020070; Tue, 12 Mar 2019 12:41:55 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=k5dwIh0pXW/bPgm9wj0ITKSXz77/W94/t/zCqtaIyVA=; b=GIHDRyAzER0PiJ6mc5QrmeASmnPCK8et948vhXILrCSlHCGBJxgHoHo5svIhsQh+LapW JLhMFUxoShaEBVLv4P6vxdBBUBSLQemblD2YBaWDowzZ3K3GLrseOV7LG+f9ji6swRGW 1x1gUZUl9/jE0lTINPQxkvTKvnYrTCPniEU= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2r6juug2k0-13 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 12 Mar 2019 12:41:55 -0700 Received: from prn-mbx05.TheFacebook.com (2620:10d:c081:6::19) by prn-hub05.TheFacebook.com (2620:10d:c081:35::129) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5; Tue, 12 Mar 2019 12:41:38 -0700 Received: from prn-hub03.TheFacebook.com (2620:10d:c081:35::127) by prn-mbx05.TheFacebook.com (2620:10d:c081:6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5; Tue, 12 Mar 2019 12:41:38 -0700 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5 via Frontend Transport; Tue, 12 Mar 2019 12:41:38 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=k5dwIh0pXW/bPgm9wj0ITKSXz77/W94/t/zCqtaIyVA=; b=D1lnHzNqy+MXo2280a8aC6Y4AwhfpJzRDrIqVHJN2hcapiVg0Tn62C+hnSkAVNOlW+zezhBsMEUBK+q21YgZ/aKvcwjATe6DezpMhN1NrQNWoK9nl7RzXT2RL65jbgF3oobw6zdGjf/L5GVxoTwdXRpJtq7xCZKIGAWyDplgTs0= Received: from MWHPR15MB1264.namprd15.prod.outlook.com (10.175.3.14) by MWHPR15MB1311.namprd15.prod.outlook.com (10.175.3.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1686.20; Tue, 12 Mar 2019 19:41:36 +0000 Received: from MWHPR15MB1264.namprd15.prod.outlook.com ([fe80::cc6:7ec2:94ef:f8cb]) by MWHPR15MB1264.namprd15.prod.outlook.com ([fe80::cc6:7ec2:94ef:f8cb%9]) with mapi id 15.20.1709.011; Tue, 12 Mar 2019 19:41:36 +0000 From: Calvin Owens To: Jarkko Sakkinen CC: James Bottomley , Peter Huewe , Jason Gunthorpe , Arnd Bergmann , Greg Kroah-Hartman , "linux-integrity@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Kernel Team Subject: Re: [PATCH] tpm: Make timeout logic simpler and more robust Thread-Topic: [PATCH] tpm: Make timeout logic simpler and more robust Thread-Index: AQHU2GXGLeYW3Qpbpky5KjnMPwFs0aYHJAWAgADPhQCAAB9hAIAAD9uAgABDnAA= Date: Tue, 12 Mar 2019 19:41:36 +0000 Message-ID: <20190312194130.GA5058@Haydn> References: <358e89ed2b766d51b5f57abf31ab7a925ac63379.1552348123.git.calvinowens@fb.com> <1552350463.23859.8.camel@HansenPartnership.com> <20190312125028.GC9243@linux.intel.com> <1552401766.3083.3.camel@HansenPartnership.com> <20190312153931.GA9927@linux.intel.com> In-Reply-To: <20190312153931.GA9927@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR04CA0095.namprd04.prod.outlook.com (2603:10b6:301:3a::36) To MWHPR15MB1264.namprd15.prod.outlook.com (2603:10b6:320:24::14) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2620:10d:c090:200::ce7e] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ee58eb31-ad11-4df7-bfdc-08d6a722bcd9 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020);SRVR:MWHPR15MB1311; x-ms-traffictypediagnostic: MWHPR15MB1311: x-microsoft-exchange-diagnostics: 1;MWHPR15MB1311;20:CeV0rlT67cwFERmIpL89lsxooKCpFGk2eX5EWmUb6ogPyuMCCMJgH/qa3nJhNBTzDxl2ux9MuLPiUc2saJULBtmmwR9l8Vg+LuSJhlCDUr8oLMAWbf7PVbHUq5XjoECDdq8IZFJK7IKyiH+CW70sayrwgbLCyaA3ZByoxunPRho= x-microsoft-antispam-prvs: x-forefront-prvs: 09749A275C x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(7916004)(346002)(366004)(396003)(39850400004)(136003)(376002)(189003)(199004)(316002)(33716001)(386003)(53936002)(97736004)(186003)(6246003)(76176011)(5660300002)(81156014)(102836004)(6506007)(93886005)(6916009)(81166006)(1076003)(8936002)(52116002)(14454004)(8676002)(99286004)(478600001)(106356001)(71200400001)(446003)(305945005)(7736002)(6436002)(105586002)(9686003)(54906003)(476003)(6512007)(11346002)(86362001)(46003)(4326008)(33656002)(71190400001)(229853002)(68736007)(6486002)(6116002)(25786009)(2906002)(256004)(486006);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR15MB1311;H:MWHPR15MB1264.namprd15.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: UnA3hUm8XTBDELx17a4GtxGKTQ3MUNgI6apG3pt0CVa1a2rvqa6ZVVzeyBss/N10vO4dOFFoUbXKtQr6JSrjJBQyHw8D3wHMZ88aSj4xzwYOwgs7bE/Kf+r/mMiAymvStORmQOT5QYchKtRVgg6xCQxDs1FfQL7+bbPuzznnZVt3XyFEHsS0gkPM8Y35AF1A3UvREYZml1lK4ZyPe4/l7BgG1Gj8aXJhSpUAWH2EPSNIOwp+Dn7fygPSO6DH+Nnhnp68nHkCgpj0dMb0gzv4GLJ8nbuEmufZ+nYDn4KNtU/tS/n0/BRkfAeaLCe1sUrH3+Zhbc1DyjqgDy9483xoVTlVwQK8kJK+8X+U2C/3N1vQOeCSbZTiPrDWSvuLf3SW+4wyHaajhQEGkhJ1ufaLRIgTCdrcJDMSLHq7QMszE3Y= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: ee58eb31-ad11-4df7-bfdc-08d6a722bcd9 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Mar 2019 19:41:36.3501 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR15MB1311 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-12_11:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlc2RheSAwMy8xMiBhdCAxNzozOSArMDIwMCwgSmFya2tvIFNha2tpbmVuIHdyb3RlOg0K PiBPbiBUdWUsIE1hciAxMiwgMjAxOSBhdCAwN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