Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp366534ybv; Fri, 7 Feb 2020 00:42:43 -0800 (PST) X-Google-Smtp-Source: APXvYqyEM2LOgJMr6TcpSk14rf6A3iLu0ikeo12tanvp1UQyhrRy0Q8WPZ0jj3TVOu6MYsbAO/aH X-Received: by 2002:a05:6830:1608:: with SMTP id g8mr1751762otr.169.1581064963401; Fri, 07 Feb 2020 00:42:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1581064963; cv=pass; d=google.com; s=arc-20160816; b=avGUCoCN/059OYA5VjO9ZCb5a2W2jAdH7utFI/5okx2LIejEa620wKiKbdh65rgBt0 qqWHwhgMynlM9SiJJCpCl5fHzr6M0IiDoxpCQtUyUEpDgzYjI7zpEM+UHiUTlN6SK2uF NQ0TeuaI5LkuLANJuHN8SbPiIXWUZnedrrs1FuNW3VQfSkuQ7ZdsDHqGB6S2D+pqhVhb scKTkvmncrGlEVDKOH3UG5O6aI46wCjOiDtCZTYQ/+uwYPNU0vOKsRMub/hHJyLVFvtO sLP4kxD9I363mnhsuiB4ul8ozKAC5ALMv1OpgT2qSMtUgXiOZ8+6M2ZkDOF3cKTyMLMm pkqQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_contentbits :msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_actionid :msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_siteid :msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_name :msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_method :msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_setdate :msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_enabled:msip_labels :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=oeX/cWXYGdyYQL6EmQprmMPsfiIjuqEs8zKuZrK2nH8=; b=FIdQlpCzpZpzhLNYR1L+6FFPYaXdi7/LTYdidxDjx3palBbeLRDV5Z72MOvV1tMXvI M7wxQnsOW6cdIKzjwlG5YxITKMLt8FcCl+HyF0or4Zke1UpjjiLjDDxbdVTIkNcAXhR+ kT5psynJmZ9ynEVy0z5zlasgBvHrmqAU9VmjVq9249jZIu6vWTjAq3mwVun7kQlh7Qwh 5K/pZGI77O7zd0fCYrhN4nTyE0Qn9WWr6UJTgKJHXhQf3myk0uNraH7p18QIqmTXSwDK 8izm6v/ucZmtStK8IjgpCaWc2W4wNOllRplAv79Uw1gmrsQunlvx95FW61S0bWLGRwmm bZOg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=2sFce6uw; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p3si3635708oih.186.2020.02.07.00.42.31; Fri, 07 Feb 2020 00:42:43 -0800 (PST) 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=selector2-amdcloud-onmicrosoft-com header.b=2sFce6uw; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726867AbgBGIki (ORCPT + 99 others); Fri, 7 Feb 2020 03:40:38 -0500 Received: from mail-bn8nam12on2085.outbound.protection.outlook.com ([40.107.237.85]:6174 "EHLO NAM12-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726451AbgBGIkh (ORCPT ); Fri, 7 Feb 2020 03:40:37 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nai1NKUeg+lGQ77alJx/QsvLnNVZKwDLqlltzhi+NCFh1dOVYNomelYAcV3WurpJO87KbkogJJHr0k0ciV58JvM13jK6lH1snOmguAdOnjwPoArHYOPhghDRccN0cNFbAixWjtJx4/V2p6a+gzw0JA8NhhJZ4Yd0kD3WpkP4ZqCRBHnt9aGh7I4ad0nqfN6OGsIgx6DPrX4E9o07lb9NRpXS/YG6d+NLJfboH7qAPtra7Q6icGE1hwviyrMx1Sz+4blbMDhUKFI7H0Q+ZRbp2/IywyVA9zxKx7ZkZ1Bf6lMNaXDlE5cz2HHMorypr/x1dFed87ngLu1AmHU4238irQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oeX/cWXYGdyYQL6EmQprmMPsfiIjuqEs8zKuZrK2nH8=; b=X9ptcVCvMm9jxd7r/HrClQ+qILTNA3vySscfdnX5ROhHFxANZJW7kuA294fbT5mV5eLrSFQQD8l3oZs9tgjD/ZMyUYFKrKAhDxPSWJ1Lkr1zO3x6nNxWA1xtsXNe8942VqvsWSlR2nE+42Z9aVtVviVSkE7V4ERZDaMEjeD4ygIYtCSF5pyzSJ6RHpHVjm+UbFBmBTT5xBZ9C17lyxwAquYExwpgdx4iPKtiKr1p24ILsOyKQ4+LRng+zFM3AQ987cn4DDqcXehgsWrU0tFi7Cblhw+01VcQM2qf6ncqzdE945QbzxM+ICwNtR8SWbyrnoo2ErmgH7u6ebG47whfwg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oeX/cWXYGdyYQL6EmQprmMPsfiIjuqEs8zKuZrK2nH8=; b=2sFce6uwOszU18ROAoyGwUBDddBOQpHq4ZyEUUjFEjS6DyxEPc5tpOVOFNqUJg6AESpPZekkS3JQ9KaFqaFixYsp8ShdptumFfF8WJR6nGJKhQ3IlDLa06V1E3vjz2zHEBAQuxWB2VklmdbtB4QxFCrhw69eW13b+g970coVBjg= Received: from MN2PR12MB3232.namprd12.prod.outlook.com (20.179.80.221) by MN2PR12MB4125.namprd12.prod.outlook.com (52.135.50.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.23; Fri, 7 Feb 2020 08:40:34 +0000 Received: from MN2PR12MB3232.namprd12.prod.outlook.com ([fe80::d8f:800:975a:b8c]) by MN2PR12MB3232.namprd12.prod.outlook.com ([fe80::d8f:800:975a:b8c%6]) with mapi id 15.20.2707.024; Fri, 7 Feb 2020 08:40:34 +0000 From: "Nath, Arindam" To: Logan Gunthorpe , Jon Mason , Dave Jiang , Allen Hubbe , "Mehta, Sanju" CC: "linux-ntb@googlegroups.com" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH 3/4] ntb_perf: pass correct struct device to dma_alloc_coherent Thread-Topic: [PATCH 3/4] ntb_perf: pass correct struct device to dma_alloc_coherent Thread-Index: AQHV3EgxqGrkcNoh8EaPHAUSJUkGoKgM7+uAgAJ7LEA= Date: Fri, 7 Feb 2020 08:40:34 +0000 Message-ID: References: <761e76e0-2e5e-6c71-3384-1ec10dcf8e88@deltatee.com> In-Reply-To: <761e76e0-2e5e-6c71-3384-1ec10dcf8e88@deltatee.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_Enabled=true; MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_SetDate=2020-02-07T08:40:29Z; MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_Method=Standard; MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_Name=Internal Use Only - Unrestricted; MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_ActionId=8c756baa-bfa7-4db6-bc0c-0000d7812d4a; MSIP_Label_76546daa-41b6-470c-bb85-f6f40f044d7f_ContentBits=1 msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_enabled: true msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_setdate: 2020-02-07T08:40:29Z msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_method: Standard msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_name: Internal Use Only - Unrestricted msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_siteid: 3dd8961f-e488-4e60-8e11-a82d994e183d msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_actionid: e91af601-e38c-44fb-8ae2-0000148709d9 msip_label_76546daa-41b6-470c-bb85-f6f40f044d7f_contentbits: 0 authentication-results: spf=none (sender IP is ) smtp.mailfrom=Arindam.Nath@amd.com; x-originating-ip: [122.182.243.148] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: fd302c4c-6740-4129-41ef-08d7aba965ee x-ms-traffictypediagnostic: MN2PR12MB4125:|MN2PR12MB4125: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0306EE2ED4 x-forefront-antispam-report: SFV:NSPM;SFS:(10001)(10009020)(4636009)(136003)(346002)(376002)(366004)(396003)(39860400002)(199004)(189003)(86362001)(2906002)(6636002)(66946007)(64756008)(66446008)(5660300002)(55016002)(66556008)(4326008)(9686003)(45080400002)(54906003)(66476007)(966005)(7696005)(478600001)(52536014)(76116006)(81166006)(81156014)(110136005)(33656002)(71200400001)(316002)(6506007)(53546011)(8676002)(8936002)(26005)(186003);DIR:OUT;SFP:1101;SCL:1;SRVR:MN2PR12MB4125;H:MN2PR12MB3232.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yKLd5P1WXtgHBcVJsmgis6u1xGEHPnB0mpyzr7tRBDuUpf54vwtz6EIeqLdl+Lh3JqCSJr5sec+Vv2mSmOnfZfjdqCiEhCLUJ+oC61665l5e4j0Rma5SV9bzZmTeseJWOH3+tjnFy0MfXHzWNijj7/y5KrI34tEZR8luWwSio3hQ+j4F06cENvXHCKiizphlCm2i5ot6XK+2MvldF0wZBtfY9jeZUSzJxx9FxQooagL0mnluPk8HZbKrIgch0ssO5d26R0/Zj3B2HCaavrWZdGNDODWg6EO50SiRDHl1gYo49lwj/JzrSkaNwqJ5v3Qg/X+jfuYDZPrMUGKlQhw+1ve5pXeM/CZcDs19A2Fmjjt4kCzfsPmwZU/OxzB1o341keC3wxzPaCe4s9XdYE5C6vNI6tjvUcJMFjSoBs90vOEY6+3WTYy2G0FBCDeK7tL1qeRRMF+lmO0sW1mT9ywZkP12OtQhDngV4mqL2ibEh5/vX4elil8m3HqpmelNUbK1/nnxa7NJrDapKuN9YXgonzj2z6dcpeMAwvLdfA4UYIaLOM/g2K7M5a7ou55tAWKamIj9wCaAhrQNerec4mnRrBD/5XEci2EfDIx3dedf/Bp2qpfHAh2Pzm5Kwm/QtY9T x-ms-exchange-antispam-messagedata: 8ezXFcgspD+rNXPQwc4OIOvu9C6dPUFZaZgcaG1NuiyRTbhpWor6iQQDlxs3o62FWQzeeENWyfETiCGYDkPPiSsrMIvb3Nattdbl+rW9BNqBLzG5LwMJFJf+7U5rZVW6NlObSH/1MIEnLPlAL0H21g== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: fd302c4c-6740-4129-41ef-08d7aba965ee X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Feb 2020 08:40:34.2021 (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-CrossTenant-userprincipalname: Kc7xMh1TWOSJaaeq2UYIVrvENvmqlWqUHLPR8zi7h1ck88sBjb5wlm3Eubo3Obse X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4125 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org W0FNRCBPZmZpY2lhbCBVc2UgT25seSAtIEludGVybmFsIERpc3RyaWJ1dGlvbiBPbmx5XQ0KDQo+ IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IExvZ2FuIEd1bnRob3JwZSA8bG9n YW5nQGRlbHRhdGVlLmNvbT4NCj4gU2VudDogVGh1cnNkYXksIEZlYnJ1YXJ5IDYsIDIwMjAgMDA6 MTQNCj4gVG86IE5hdGgsIEFyaW5kYW0gPEFyaW5kYW0uTmF0aEBhbWQuY29tPjsgSm9uIE1hc29u DQo+IDxqZG1hc29uQGt1ZHp1LnVzPjsgRGF2ZSBKaWFuZyA8ZGF2ZS5qaWFuZ0BpbnRlbC5jb20+ OyBBbGxlbiBIdWJiZQ0KP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