Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp899999ybl; Fri, 30 Aug 2019 08:45:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzljCrvbI/w7i+87EesNRtt8QSR4tlCI6I0NIZ+nBFyvqU72PXJnBiRsEvOfqxP6+CXdVok X-Received: by 2002:a65:6850:: with SMTP id q16mr12361276pgt.423.1567179905760; Fri, 30 Aug 2019 08:45:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567179905; cv=none; d=google.com; s=arc-20160816; b=qxTbPaenN3ld/OHV7ItSS8t9bNLuUnfDwV210lE+Slh8U6AXAXfjdNaLqGflMRmTdY X6Zo9vHXqODsXIZinUEdQ6tZfbvqyddciNIoYD/d1JSIJGw00kxEy0nnhmAHhrI86ph6 dHZxOszydiOhy4IUq9cSNmCEaoDMFvZA15qIgmUs4vvKK2kwaRv4ZRf/pamNNEJPdYSW HIMa/Z3BYGng/DcElg+Ft9ZKLXHQTAmmb67Rm5u95ah81hvSDJ0d6IlfKBuhGTI3jE7N 6ZBT4JmEMyq9DCLhUaQNON8YyaJHGS2fYZbT8GO2VvMxVlYKdAzaqZHnPlgx/GgjWv1Y xq9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:mime-version :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic:cc :to:from; bh=bNb7kbOGbAPtQ3UhXsHjj5ZkAtGfrgixwoFmbcDghPQ=; b=hCemoFPlHwKCSyEXBf3UdUB/kAGG54zZ4MrKf87GzA7qhYNChnaEKYvuDYzwKNTg07 Buabg/utYHFH7dKynPJ46mscp/+MFJniyOCJFWEFY6NKkAeDrbC35FvYKqP9cgTsgcnA DLCxaoyLldVccEh2UOfCc6eeYKtn3eNZso9WXWr2qiAmOPDZkSgprmo3BID+MmZnqhJN Q58Qdrl2690cXnMaBBNRCul/lwQ5zLq6rhmZBjh5zEePHAa4Ciidy9mlgIQufHePUiiE mOBVDtRA214YcWsk+Re+Cr8xu1r/LsPxFSVwykHerY6nydwRtsAq85C24GYZY/wD88vq 4FFA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ge.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5si4788915pln.228.2019.08.30.08.44.50; Fri, 30 Aug 2019 08:45:05 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ge.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728459AbfH3Pnv (ORCPT + 99 others); Fri, 30 Aug 2019 11:43:51 -0400 Received: from mx0b-00176a03.pphosted.com ([67.231.157.48]:50670 "EHLO mx0a-00176a03.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727883AbfH3Pnu (ORCPT ); Fri, 30 Aug 2019 11:43:50 -0400 X-Greylist: delayed 4977 seconds by postgrey-1.27 at vger.kernel.org; Fri, 30 Aug 2019 11:43:49 EDT Received: from pps.filterd (m0048205.ppops.net [127.0.0.1]) by m0048205.ppops.net-00176a03. (8.16.0.27/8.16.0.27) with SMTP id x7UEJM78038302; Fri, 30 Aug 2019 10:20:52 -0400 From: "Safford, David (GE Global Research, US)" To: Seunghun Han , Jason Gunthorpe CC: Jarkko Sakkinen , Peter Huewe , "open list:TPM DEVICE DRIVER" , Linux Kernel Mailing List Thread-Topic: Re: [PATCH 2/2] tpm: tpm_crb: enhance resource mapping mechanism for supporting AMD's fTPM Thread-Index: AQHVXxlOrNmKX2KHXEaevQ/odv4D9acT5e0AgAAT9ID//79NoA== Date: Fri, 30 Aug 2019 14:20:49 +0000 Message-ID: References: <20190830095639.4562-1-kkamagui@gmail.com> <20190830095639.4562-3-kkamagui@gmail.com> <20190830124334.GA10004@ziepe.ca> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?utf-8?B?UEcxbGRHRStQR0YwSUc1dFBTSmliMlI1TG5SNGRDSWdjRDBpWXpwY2RYTmxj?= =?utf-8?B?bk5jTWpFeU5EY3pPVFV3WEdGd2NHUmhkR0ZjY205aGJXbHVaMXd3T1dRNE5E?= =?utf-8?B?bGlOaTB6TW1RekxUUmhOREF0T0RWbFpTMDJZamcwWW1FeU9XVXpOV0pjYlhO?= =?utf-8?B?bmMxeHRjMmN0TldNek9HSmpPRFl0WTJJek1TMHhNV1U1TFRobE16WXRZVFJq?= =?utf-8?B?TTJZd1lqVTVPR0V6WEdGdFpTMTBaWE4wWERWak16aGlZemc0TFdOaU16RXRN?= =?utf-8?B?VEZsT1MwNFpUTTJMV0UwWXpObU1HSTFPVGhoTTJKdlpIa3VkSGgwSWlCemVq?= =?utf-8?B?MGlOREV5TVNJZ2REMGlNVE15TVRFMk5EZzBORGd5T0RneE16a3lJaUJvUFNK?= =?utf-8?B?QmFEWlljSEowYkc0MmMwOHdWbkZHTVROelFUUTRhRlk1UmtFOUlpQnBaRDBp?= =?utf-8?B?SWlCaWJEMGlNQ0lnWW04OUlqRWlJR05wUFNKalFVRkJRVVZTU0ZVeFVsTlNW?= =?utf-8?B?VVpPUTJkVlFVRkZiME5CUVVKM1ZqVk5aVkJzTDFaQlpYVlhVSFZrWjFCUGNY?= =?utf-8?B?bzJOVmtyTlRKQk9EWnlUVVJCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVG?= =?utf-8?B?QlF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UZCUVVGYWQwSnNRVVk0UVdKblFu?= =?utf-8?B?WkJSelJCWTBGQ01VRkhTVUZpUVVKd1FVZE5RVUZCUVVGQlFVRkJRVUZCUVVG?= =?utf-8?B?QlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZC?= =?utf-8?B?UVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJR?= =?utf-8?B?VUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFV?= =?utf-8?B?RkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVG?= =?utf-8?B?QlFVRkJRVUZCUWtGQlFVRkJRVUZCUVVGSlFVRkJRVUZCUVQwOUlpOCtQQzl0?= =?utf-8?B?WlhSaFBnPT0=?= x-dg-rorf: x-originating-ip: [3.159.19.191] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: [PATCH 2/2] tpm: tpm_crb: enhance resource mapping mechanism for supporting AMD's fTPM X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-30_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908300147 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBGcm9tOiBsaW51eC1pbnRlZ3JpdHktb3duZXJAdmdlci5rZXJuZWwub3JnIDxsaW51eC1pbnRl Z3JpdHktDQo+IG93bmVyQHZnZXIua2VybmVsLm9yZz4gT24gQmVoYWxmIE9mIFNldW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