Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp454507img; Thu, 21 Mar 2019 01:38:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqy55JaoVGp0t4rAe6c7KekKGI6UaG/5zm8jhX0ZJBzXrrmuAYXT/uaA48+AS7/87f1khLIH X-Received: by 2002:aa7:8012:: with SMTP id j18mr2273264pfi.42.1553157515576; Thu, 21 Mar 2019 01:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553157515; cv=none; d=google.com; s=arc-20160816; b=Ur9a9j/AV9LHwRGhfCWDIYD8l+cd082PpphU8mg0jtwLzlwuuav/KRk3fNQI0Pc0hY eyAwT4enqWe6QZQjGT1dIxhnPsCxlwD5ftxAwu6XyGgrJcg3C343vTGPUdcZ4Hzm/2QI NPvleysNxP8GEBer4greelSx2+KqQ7f+VKijX8vKtw0Qn9zZWVQd3tgWrp6IM4a7JjAZ +CJv01q9mydDmi/VA4z3NOimUbwslGyecMUsjhD7TTSdU+Aq8GbcpM4bTTyEoyT/A05n ejLl/ejV/HNd07DxNyLd7av0HrME8tFqYVnSDphWPOOdMhxztxobFL8mW0rg3/XEp8c/ pM4Q== 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:to:from :dkim-signature; bh=+m5K65NfGtsDGw/2MJ3BKYCopZ6sQRG39JGdT+3h4y0=; b=s5LDNR5M0df3rP8JFDIyZmkWPzbdI5Zh7cHRednunHQtcl3Adkw5Qkj0yuQL++ciim HX9s9qd2wiCrOW5Ep3cokp523N3WQ7I69+GhAyDgViQiC/aNEhA6d7a21pJZXZZ5KXia C2HB9LRyhAVwtumziuUxY6GzIWas/pndpCBxbh3cZR2lFUH9dzdb/rlt/BVguuAEYJXd 67gMwmLqoEMVoZrlgB/TSw81OU7DQQPJUH16iyfVIBbc+p3lv5DdMsDK6EJZ036OkLuV bLbRAmznibW60k1rGrqSttGhPjjNpQJivKLxWpsDKKduXdkmlR+60z59mZ297z7rZL6/ ITsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=rwSwWpOn; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v145si539872pgb.16.2019.03.21.01.38.20; Thu, 21 Mar 2019 01:38:35 -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=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=rwSwWpOn; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728057AbfCUIhU (ORCPT + 99 others); Thu, 21 Mar 2019 04:37:20 -0400 Received: from mail-eopbgr710088.outbound.protection.outlook.com ([40.107.71.88]:13984 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727959AbfCUIhT (ORCPT ); Thu, 21 Mar 2019 04:37:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+m5K65NfGtsDGw/2MJ3BKYCopZ6sQRG39JGdT+3h4y0=; b=rwSwWpOnSiQx9/YnKbRwMHXERtSUE3rjeww39OF5Jurbgqq/pXlYsxy+YLIMzJbHudBrtMP6mDuPq/4M1OEEKu3LCkGnUGDNFE4a64foSrj05VsWu0qzugb/KiB8RMrlKJbyWsW7whqQo9ouZqO+nCHOQqk3/7GC9A8idd/vD6w= Received: from SN1PR12MB2575.namprd12.prod.outlook.com (52.132.197.151) by SN1PR12MB0607.namprd12.prod.outlook.com (10.163.208.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.14; Thu, 21 Mar 2019 08:37:10 +0000 Received: from SN1PR12MB2575.namprd12.prod.outlook.com ([fe80::2458:b06a:5f8d:2c6b]) by SN1PR12MB2575.namprd12.prod.outlook.com ([fe80::2458:b06a:5f8d:2c6b%3]) with mapi id 15.20.1709.017; Thu, 21 Mar 2019 08:37:10 +0000 From: "Shah, Nehal-bakulchandra" To: Elie Morisse , "linux-i2c@vger.kernel.org" , Wolfram Sang , "S-k, Shyam-sundar" , "Singh, Sandeep" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v17] i2c: Add drivers for the AMD PCIe MP2 I2C controller Thread-Topic: [PATCH v17] i2c: Add drivers for the AMD PCIe MP2 I2C controller Thread-Index: AQHU02X9ujge6p7HnUmSZs7bEbiCOKYV26yA Date: Thu, 21 Mar 2019 08:37:09 +0000 Message-ID: <0cd7cdad-0002-b26d-9a80-f2576d61f381@amd.com> References: <20190305151319.GA22819@syn-yoga530> In-Reply-To: <20190305151319.GA22819@syn-yoga530> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MA1PR01CA0071.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00::11) To SN1PR12MB2575.namprd12.prod.outlook.com (2603:10b6:802:2b::23) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Nehal-bakulchandra.Shah@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.157.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a7d1e58f-37ba-4b0f-38f8-08d6add867ef x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600127)(711020)(4605104)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:SN1PR12MB0607; x-ms-traffictypediagnostic: SN1PR12MB0607: x-ms-exchange-purlcount: 4 x-microsoft-antispam-prvs: x-forefront-prvs: 0983EAD6B2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(376002)(346002)(39860400002)(396003)(136003)(189003)(199004)(51914003)(53946003)(86362001)(476003)(5660300002)(256004)(53936002)(30864003)(305945005)(7736002)(81166006)(81156014)(8676002)(6486002)(6246003)(97736004)(14454004)(2906002)(6512007)(229853002)(8936002)(6306002)(3846002)(66066001)(6116002)(478600001)(106356001)(31696002)(316002)(386003)(31686004)(2501003)(14444005)(105586002)(72206003)(53546011)(76176011)(71200400001)(6506007)(71190400001)(68736007)(446003)(6436002)(36756003)(110136005)(26005)(186003)(102836004)(52116002)(25786009)(5024004)(486006)(11346002)(2616005)(99286004)(21314003)(559001)(569006);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR12MB0607;H:SN1PR12MB2575.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Zmf70IG5qt9F26850mr3Eu7lULkd5y8Tr1o8MvUrK9d0QiKmRDplYnvT7gNEXuEg8OLFb/VDWoCkKHRs8zkAbNqIg9XOA+8fMkR3Bdc89pzEne3LUqtgRVxmY/7qf7ZEoD7X+4KEfYmS2wu29i2jJc9U1IVfK0jbNsukEeCu5I0bVwGYvq1gtPGp7UcgLa3AQwAGc5mX159I/3zda6M0lA98h4sV8JWEQ8JwChYaRL+Xb9oTjOo2xdqTtAaIakU/BLFXmZ7DYsgOBpPTj/djngbiNpKq0YQoVHUAzR7aUTK9AA9V9WCH95/v5BGPZRp9+JepjqgVA9hraCcNCn0anxlCpHqD3pjXn9U2nykph86LFmF0Jcc8rtm9SZZmEkDheW88LPn2rn/dLgsr8ZouU2FRCNQo/Md+OOhW3PE3xUY= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: a7d1e58f-37ba-4b0f-38f8-08d6add867ef X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2019 08:37:09.9594 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0607 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRWxpZSwNCg0KT24gMy81LzIwMTkgODo0MyBQTSwgRWxpZSBNb3Jpc3NlIHdyb3RlOg0KPiBN UDIgY29udHJvbGxlcnMgaGF2ZSB0d28gc2VwYXJhdGUgYnVzc2VzLCBzbyBtYXkgYWNjb21tb2Rh dGUgdXAgdG8gdHdvIEkyQw0KPiBhZGFwdGVycy4gVGhvc2UgYWRhcHRlcnMgYXJlIGxpc3RlZCBp biB0aGUgQUNQSSBuYW1lc3BhY2Ugd2l0aCB0aGUNCj4gIkFNREkwMDExIiBISUQsIGFuZCBwcm9i ZWQgYnkgYSBwbGF0Zm9ybSBkcml2ZXIuDQo+IA0KPiBDb21tdW5pY2F0aW9uIHdpdGggdGhlIE1Q MiB0YWtlcyBwbGFjZSB0aHJvdWdoIE1NSU8gcmVnaXN0ZXJzLCBvciB0aHJvdWdoDQo+IERNQSBm b3IgbW9yZSB0aGFuIDMyIGJ5dGVzIHRyYW5zZmVycy4NCj4gDQo+IFRoaXMgaXMgbWFqb3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