Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1909004ybe; Tue, 3 Sep 2019 05:27:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzyQfuHKBilQEWOFoopmiC3ftP4UllP3AEt9jsreazX1OOmNXEsA4f9zGNp5ugXUiCCDYfl X-Received: by 2002:a17:902:1a6:: with SMTP id b35mr34867339plb.182.1567513636476; Tue, 03 Sep 2019 05:27:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567513636; cv=none; d=google.com; s=arc-20160816; b=ktc5d/a/Ra3sBZRZ5pJu3b2qqEis2goDBU9GVlzYtRQ1/uG2swoJjjBTQONTDh2fhS 2vz7qVfQ2f/XiQ8WoOX26XL3aTOKa9bi3TTorz5OxNH5Qvc9Cwi5Y/YXgJZl73YxpJrk OoU0+c3i4fDQnR2bADz4XyMenErKKtD1ZR56yLLXvct5JIUcdqgmW8OE9Hh8yPv263Zk R0WddQpN4H4fNNBLd99icEw+pfjGlaan3OzA30FYzoMNZBhHJIlScore3c8/51aPgKOx 68wneuOpZgYyPP16Vp2JFeWtxKhm9SDngjj2X8jprZWk3AZqen22M+ZIRlNlSVNSrvnd gCPw== 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=dTSoownpwW6GaNSXcW8pyvjP31It5vDj7Ga9ig7gydY=; b=EXT28ZfRN+nx5qQp5jD44OpR0lcccozTOEgybkbQuD0RoC1kOxfUItAQzO9dZkf4ou n2tjIbt9IrbiMd9OrrGMA3oe82AYtqSBHzyhKb3DRmpVX+S+PFWXyhy/AGhc+N4etREp 19lRnqv4hjz/Gndp07o4hTakHv8bczkpEvq5DzP47pQUVtBogsHbKHZAX/HAcLsGTSQn 2LDJGhNzq/z06XxonA2bpPwZxj4MwY85bZey5w4x0KAhQnlFT/oTtulTehxF9uniQVwi 4FLJju0t1h5LHOp85H37D9RPdvjhNNLJlnAXQzqimazUnfVXMi5xKiusT4RuS2XMv84y ZYjw== 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 q19si14628267pgg.521.2019.09.03.05.27.00; Tue, 03 Sep 2019 05:27:16 -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 S1728576AbfICM0L (ORCPT + 99 others); Tue, 3 Sep 2019 08:26:11 -0400 Received: from mx0b-00176a03.pphosted.com ([67.231.157.48]:3230 "EHLO mx0a-00176a03.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726631AbfICM0L (ORCPT ); Tue, 3 Sep 2019 08:26:11 -0400 Received: from pps.filterd (m0048300.ppops.net [127.0.0.1]) by m0048300.ppops.net-00176a03. (8.16.0.27/8.16.0.27) with SMTP id x83C8PdG037956; Tue, 3 Sep 2019 08:26:09 -0400 From: "Safford, David (GE Global Research, US)" To: Seunghun Han CC: Jason Gunthorpe , 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//79NoIAAcvSA///KVoCABgn4gP//4Hww Date: Tue, 3 Sep 2019 12:26:00 +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?bmMxeHRjMmN0Wm1JMFpEVmtZemt0WTJVME5TMHhNV1U1TFRobE16Z3RZVFJq?= =?utf-8?B?TTJZd1lqVTVPR0UyWEdGdFpTMTBaWE4wWEdaaU5HUTFaR05oTFdObE5EVXRN?= =?utf-8?B?VEZsT1MwNFpUTTRMV0UwWXpObU1HSTFPVGhoTm1KdlpIa3VkSGgwSWlCemVq?= =?utf-8?B?MGlNalE1TVNJZ2REMGlNVE15TVRFNU9EY3hOVGc1TURBNE1ETTVJaUJvUFNK?= =?utf-8?B?MmFEZFBjRUZRWldWRFdFSjZhbUZtWkhsNk1rMUdVazVqZUdjOUlpQnBaRDBp?= =?utf-8?B?SWlCaWJEMGlNQ0lnWW04OUlqRWlJR05wUFNKalFVRkJRVVZTU0ZVeFVsTlNW?= =?utf-8?B?VVpPUTJkVlFVRkZiME5CUVVOdVVYUlhPVlZ0VEZaQlpVZzVUbXgzUjBaVVNG?= =?utf-8?B?RTBaakF5V0VGWlZrMWtRVVJCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVG?= =?utf-8?B?QlFVRkJTRUZCUVVGRVlVRlJRVUZCUVVGQlFVRkJRVUZCU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JCWTBGQ01VRkhTVUZpUVVKd1FVZE5RVUZCUVVGQlFVRkJRVUZCUVVG?= =?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-09-03_01:,, 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-1909030129 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiA+ID4gPiBGaXJzdCwgeW91IG9ubHkgZm9yY2UgdGhlIHJlbWFwIGlmIHRoZSBvdmVybGFwIGlz IHdpdGggTlZTLCBidXQgSQ0KPiA+ID4gPiBoYXZlIHN5c3RlbXMgd2hlcmUgdGhlIG92ZXJsYXAg aXMgd2l0aCBvdGhlciByZXNlcnZ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