Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1000729ybm; Wed, 27 May 2020 13:23:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwep4dSflZsg+4FR1cmD5WofXrTGZ8GV/8B39vCx94IlBhsJjcWL+MPdlqhg4icVGb0Ajnb X-Received: by 2002:a17:906:4ec2:: with SMTP id i2mr40344ejv.211.1590611013530; Wed, 27 May 2020 13:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590611013; cv=none; d=google.com; s=arc-20160816; b=buQFWqJQmek6htEttECueRqgPeC/9nnpVyGKdFuRJp3YwEH2AWgLAnsi/J6gUG7joQ x4qKcUOGQkJTzVrWk3pNlSVtZP+W5JfyCcR7f/ggOXwONRuB6l7dswvYfA6a9EWq5Vhr d8L6Ibpramdmnvhaz324sE7uIt+cYO89B1oJNNf+NwIhJThsSvGjiMF9g5W7Yq7WrTIe 8gkZLIk2hcA3EeAIMhS9SrY9rem8dq9pblPza0ASeDFp+1Qyy0vxWyZByjnQlkEfVqqm qS1SPSprynGDt2hrzSDyXoHZ5ki2Ty132Pl52zjmVDmL6GPk/t3SRSMwq5QyMAKT/XIu vTfA== 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 :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=/SUvSUcYEZAaJQAoQa6QA7tQg6WWYeQ9EUOEJ0uc4v8=; b=z008/SojqqNPw1cpOHibWXfPs5Skb45YgJzP1/v8RlVHawFQm7jdY+qJgIO/mgRQX0 I4dIEkRa3IgT9+6d2qhqwT7Y+3Y3URS5+dC6RTayUoL3EHmlbl+4KQ2ZbClQmCJVf7Oe bJbFqRxXkFadF5g8/t+YJLqJZhzadIrFsIl0zSgpm+SPkHzHGfYFUllZvGjH3DsMvKSO vNQ2XEqvSnGtwZSTygKrOmnisX8QzXH+7W/ijwpQkWW2K18jss44gwWEW3LvxQ2ZMJQJ IVijmMwjX3BbmXGkHddOrRn9h4U3nAz1v+JlwUZWBA1VOTgNJkwk2CQZy+f4bkCnw0Jw yJ3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dell.com header.s=smtpout1 header.b=wzuPb5He; 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=pass (p=NONE sp=NONE dis=NONE) header.from=dell.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m16si2301502edq.126.2020.05.27.13.23.09; Wed, 27 May 2020 13:23:33 -0700 (PDT) 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=@dell.com header.s=smtpout1 header.b=wzuPb5He; 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=pass (p=NONE sp=NONE dis=NONE) header.from=dell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728653AbgE0UTA (ORCPT + 99 others); Wed, 27 May 2020 16:19:00 -0400 Received: from mx0a-00154904.pphosted.com ([148.163.133.20]:50148 "EHLO mx0a-00154904.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727090AbgE0UTA (ORCPT ); Wed, 27 May 2020 16:19:00 -0400 Received: from pps.filterd (m0170390.ppops.net [127.0.0.1]) by mx0a-00154904.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 04RKBvet019670; Wed, 27 May 2020 16:18:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=smtpout1; bh=/SUvSUcYEZAaJQAoQa6QA7tQg6WWYeQ9EUOEJ0uc4v8=; b=wzuPb5HeYlYxp0nPSpjYE/98yXBgmiWMvM6veeoCjt9gH0SqH3rhAbYFMDQCZrUBVHYd gupLWusdsCzGr7Rd3xGS8dfiR0A9LL5iK14M1059TVPXgl7Ex365875SoVKuQY2xHwxf zjoHRwEmnVikrn4KGpVo1wzjtanqvOsGOwLXb8nEcka0z6SSicUB2pdMx9kG/jqvCIWt 9erQVKaPj+Oau1uTjet1/cQ2OExx7eR3UsZDluK7c11CgDNr4ldIdiE2UxIuh0SsrY3Q nv84q7vweH6mpmjG7iG3UirROzKrLubfkAiWJjkRr8vWboQezpj6CwW5Y3ULDuHSLc0x Zg== Received: from mx0b-00154901.pphosted.com (mx0b-00154901.pphosted.com [67.231.157.37]) by mx0a-00154904.pphosted.com with ESMTP id 316xw4w8p6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 May 2020 16:18:59 -0400 Received: from pps.filterd (m0144104.ppops.net [127.0.0.1]) by mx0b-00154901.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 04RKA9EA179873; Wed, 27 May 2020 16:18:58 -0400 Received: from ausxippc101.us.dell.com (ausxippc101.us.dell.com [143.166.85.207]) by mx0b-00154901.pphosted.com with ESMTP id 318rae73vx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 27 May 2020 16:18:58 -0400 X-LoopCount0: from 10.166.132.129 X-PREM-Routing: D-Outbound X-IronPort-AV: E=Sophos;i="5.60,346,1549951200"; d="scan'208";a="1391851612" From: To: , , , CC: , , , , , Subject: RE: [PATCH] tpm: Revert "tpm: fix invalid locking in NONBLOCKING mode" Thread-Topic: [PATCH] tpm: Revert "tpm: fix invalid locking in NONBLOCKING mode" Thread-Index: AQHWM4wIzxc0OpiDwkyMUhr0qx5qZ6i7EGkA//+sw5CAAFoVAIABmusA//+ulgA= Date: Wed, 27 May 2020 20:18:56 +0000 Message-ID: <4d1a53596af44c7b84f97aa4ce04a53c@AUSX13MPC105.AMER.DELL.COM> References: <20200526183213.20720-1-mario.limonciello@dell.com> <1590520454.11810.40.camel@HansenPartnership.com> <1590521924.15108.1.camel@HansenPartnership.com> <37da2695fe6de09d69e27b77f3e29e068596205f.camel@linux.intel.com> In-Reply-To: <37da2695fe6de09d69e27b77f3e29e068596205f.camel@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Enabled=True; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_SiteId=945c199a-83a2-4e80-9f8c-5a91be5752dd; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Owner=Mario_Limonciello@Dell.com; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_SetDate=2020-05-27T20:18:54.4742696Z; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Name=External Public; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Application=Microsoft Azure Information Protection; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_ActionId=796ffd79-2d4d-44fc-badf-ebe47214f41d; MSIP_Label_17cb76b2-10b8-4fe1-93d4-2202842406cd_Extended_MSFT_Method=Manual x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [143.166.24.60] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.687 definitions=2020-05-27_03:2020-05-27,2020-05-27 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 spamscore=0 adultscore=0 suspectscore=0 clxscore=1015 malwarescore=0 bulkscore=0 impostorscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 cotscore=-2147483648 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005270154 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 spamscore=0 adultscore=0 phishscore=0 bulkscore=0 malwarescore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005270155 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKYXJra28gU2Fra2luZW4gPGph cmtrby5zYWtraW5lbkBsaW51eC5pbnRlbC5jb20+DQo+IFNlbnQ6IFdlZG5lc2RheSwgTWF5IDI3 LCAyMDIwIDM6MDkgUE0NCj4gVG86IEphbWVzIEJvdHRvbWxleTsgTGltb25jaWVsbG8sIE1hcmlv OyBwZXRlcmh1ZXdlQGdteC5kZTsgamdnQHppZXBlLmNhDQo+IENjOiBhcm5kQGFybmRiLmRlOyBn cmVna2hAbGludXhmb3VuZGF0aW9uLm9yZzsgbGludXgtaW50ZWdyaXR5QHZnZXIua2VybmVsLm9y ZzsNCj4gbGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZzsgamVmZnJpbkByYWphZ2lyaXRlY2gu ZWR1LmluOyBhbGV4QGd1em1hbi5pbw0KPiBTdWJqZWN0OiBSZTogW1BBVENIXSB0cG06IFJldmVy dCAidHBtOiBmaXggaW52YWxpZCBsb2NraW5nIGluIE5PTkJMT0NLSU5HIG1vZGUiDQo+IA0KPiAN Cj4gW0VYVEVSTkFMIEVNQUlMXQ0KPiANCj4gT24gVHVlLCAyMDIwLTA1LTI2IGF0IDEyOjM4IC0w NzAwLCBKYW1lcyBCb3R0b21sZXkgd3JvdGU6DQo+ID4gT24gVHVlLCAyMDIwLTA1LTI2IGF0IDE5 OjIzICswMDAwLCBNYXJpby5MaW1vbmNpZWxsb0BkZWxsLmNv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