Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp826557rdb; Mon, 29 Jan 2024 22:23:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFTsJgeDnJ0j8aAOAKG39EbYoKCt/r4ApYwzEimro8pM5sVAs4lMqtdjOwHApphbSjmp+Tx X-Received: by 2002:a17:906:5796:b0:a30:6107:cdea with SMTP id k22-20020a170906579600b00a306107cdeamr596127ejq.2.1706595806034; Mon, 29 Jan 2024 22:23:26 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z11-20020a1709060acb00b00a3522154447si3551249ejf.127.2024.01.29.22.23.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 22:23:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43988-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ZMB+NqKS; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-43988-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43988-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 92C761F25AD3 for ; Tue, 30 Jan 2024 06:23:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 188013839D; Tue, 30 Jan 2024 06:23:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ZMB+NqKS" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BAC6538384; Tue, 30 Jan 2024 06:23:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=192.198.163.10 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706595793; cv=fail; b=eNj2leAcmTa9FJw8XWnZiBBGhsrXJfk701ug2+LW5YXx0y9H6+9tkE5DHKHK2PWakofcOR0JoyOJYy0qhvCk+5FOpcJsCrAEhEyeSpFUjHa0sPOCutIXQCcZGG84DFgeaSkRa+4I3yO/DnXq808WzxchEdFC0jmvGQXRQSlFqDM= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706595793; c=relaxed/simple; bh=6r3vps70y95DOO40Zgy0GYXIU4qT4CUuuWZlwpeTrxk=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=kJaEx36PiaYyum8XqNuZt5LwZVzhOXT98qRXfvgQUG1pE3YHrONjAlUICoIUnQT+5dvuGnHk4K5ndY0W1316rTEk53XsVjOhnYgx7ZFx6D/le0YnToFQPaSyb5AIkYSEh8O0FItxaBHc8iXpTl/leQ6lf8bUu2+x+nPh23Msew8= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ZMB+NqKS; arc=fail smtp.client-ip=192.198.163.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706595792; x=1738131792; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=6r3vps70y95DOO40Zgy0GYXIU4qT4CUuuWZlwpeTrxk=; b=ZMB+NqKSmXmVfJVr6xgIN7zd+uQFsvHLO/FOImL7fI0HKZaILiDQC6g5 6MGodB+xhhpzaZEqXb4XKssqVg01svcKnpCIuYt/0/Itx2vyhS0Yfe0UI ogBD9EDq0uVMjYEFa3nWVRHG1uKyCx8DY5c5lbj3TRNTuMp5xmLFBJ8qu yp76NAKWGkrmLziAam6Zlys+3FRwFCiaAjVO+P9LoAc5YNvn/0ufZ8T2c aCg7FSwzbIfT7jlQUmOgc7DoUiHC+auBLxhwZxY7XvghMYPWUR+drmHjN vE9tFBHmiXjBK0iQlfNkFYDa58wTELtARkRvaua4rLtIcI+dNKrboONEb w==; X-IronPort-AV: E=McAfee;i="6600,9927,10968"; a="10572509" X-IronPort-AV: E=Sophos;i="6.05,707,1701158400"; d="scan'208";a="10572509" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2024 22:23:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,707,1701158400"; d="scan'208";a="3559819" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmviesa005.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 29 Jan 2024 22:23:09 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 29 Jan 2024 22:23:08 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 29 Jan 2024 22:23:08 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 29 Jan 2024 22:23:07 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PMXTITR6ymPFf4L+iaviycxnuFbFHXXMgpZl+EUKl/vsmK2aJAK5k/fa5+emvHWTYoQhQunoNgGMgpvZSuQRDRJncAY1CANJNQBULQt/WvE7GxBOyxmHqrPdKMCaWd5FI/S1Fzu7TBjKRe7iWbd70QuMLDzkLul2bOMbvcb4Iile1UHdJRHvef0KAzjGwI2OttdqUt6KvnuDLEgPCr66jahn9tM+nRjx+LEqZmPxDs+QSd0iVqbP6ZP4OySllzawOPBUTZCCYf+S3vTBzx+pZ3Mfe5Q1iuriKJSH7Tk4golD6I1csy+csDrvhBw9i7vO8rfXYh7QrUoV5N8Q4l+fBw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6r3vps70y95DOO40Zgy0GYXIU4qT4CUuuWZlwpeTrxk=; b=MAiihpnrZywQcN1WsAR1Kba5mxkbxze9anVYfGEKPBAl9HKGLQQ3lGQ+N/lF5nMJ2F5ZvsdBW1wt1DEnJHgFhvzMsPdEEk2yCcutDvLqpivmhbHU2qjirPuafB96B58iCwvTOmnhEV4Cgzwrtd3LVxnz3q85lu+hwkWcYgFhvT4GjIbQmBBvpM9CAUWdOYDZzhQ3ODzJwSL6I4R4WtGL3yHV6rFCQFaY3O6mDIQ/yX1SpIu2VRh/la5p3fWIcSD7jfzR7OYNxuYRJcK2e8QkwJAr0Xtl3/kI6Md+T0auF+z7UDYVfwvycFIC9gVWfSZsaqsvn9x4uufaZWJz7R0xmg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from IA0PR11MB7185.namprd11.prod.outlook.com (2603:10b6:208:432::20) by CH3PR11MB8561.namprd11.prod.outlook.com (2603:10b6:610:1ad::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.33; Tue, 30 Jan 2024 06:23:01 +0000 Received: from IA0PR11MB7185.namprd11.prod.outlook.com ([fe80::cbc8:6370:5df2:b2df]) by IA0PR11MB7185.namprd11.prod.outlook.com ([fe80::cbc8:6370:5df2:b2df%4]) with mapi id 15.20.7228.029; Tue, 30 Jan 2024 06:23:01 +0000 From: "Kasireddy, Vivek" To: Andrew Davis , Gerd Hoffmann , Sumit Semwal , =?utf-8?B?Q2hyaXN0aWFuIEvDtm5pZw==?= , Paul Cercueil CC: "linaro-mm-sig@lists.linaro.org" , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "linux-media@vger.kernel.org" Subject: RE: [PATCH 2/3] udmabuf: Sync buffer mappings for attached devices Thread-Topic: [PATCH 2/3] udmabuf: Sync buffer mappings for attached devices Thread-Index: AQHaTklVj+JfGoUYak+H25iUh1Y+RrDpk0JggAEbQoCAACQu4IABjkAAgAWGRCA= Date: Tue, 30 Jan 2024 06:23:01 +0000 Message-ID: References: <20240123221227.868341-1-afd@ti.com> <20240123221227.868341-2-afd@ti.com> <7872f641-8a72-424f-b345-99c27403d7c6@ti.com> <1fb28a2f-8f42-42b4-9019-d0fc670c291c@ti.com> In-Reply-To: <1fb28a2f-8f42-42b4-9019-d0fc670c291c@ti.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: IA0PR11MB7185:EE_|CH3PR11MB8561:EE_ x-ms-office365-filtering-correlation-id: 954fb925-c16e-40e8-5bc2-08dc215be8d6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1VJeYKpUJQ0fEvFidRXVkuzXs6XEfMI8pLz3Gec2Wj6Z5QmmRk74UQ7Nkh2mQrZ/Ljkw1nbvXpiXCC+xWm5H8iyCJUNASBfxf0Q5U2m/tzk5PAk1q4cff3Ec7lQlwMAZk0cKcI7WjebZVmINqwl/37iIf0DULj7YbxL19AnpApJInbEWgDXa95ZmWY3gp9WdiWUriSwBBejbXS5/TT7+jIqjI2GUVz0QtQjLsDBYseh/INoUhRTxZLCbmSXMKvlrWiqhGFo/K57DGqoqsT1vhRGkj86KWkgaJWovoUY9OARCLNfJ3dwoR8bmj9Wv367I1Qhwr+e8sN17Rg+dRD8crxNAWK9Z28EdL0ekZhIw/ZK3DDOFa/Rj1W1w81K26rerDmIutJf5r+5Q80sDUSO+2TEjvr31uDzf2MAABgaacsCJk78AC5fXSCW6qdrPL118ol6uzlFXhPmigup34tiHdoCFQk3uDhhRj7FBsTL6UnYbjz7rwQmRG/1Lt7pN667F7OSh29DYQV+H2wO7XYrvlWP+4NjOdXdXxhBSfh66WXQwE+54UR5MQ/FsmOpw+ZKaRNYdB47QcVFtOj1//nZYOdJum3BMwe3Ule1znFS2QW1WEOZaI2alh0AbH2guq6b7NSD6BmbQWE7XvjPJX4dylQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA0PR11MB7185.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(376002)(396003)(39860400002)(366004)(346002)(230922051799003)(230273577357003)(230173577357003)(64100799003)(451199024)(1800799012)(186009)(38070700009)(41300700001)(2906002)(5660300002)(33656002)(66476007)(6506007)(66946007)(64756008)(66556008)(66446008)(54906003)(76116006)(110136005)(86362001)(83380400001)(316002)(9686003)(26005)(55016003)(966005)(53546011)(478600001)(7696005)(71200400001)(82960400001)(4326008)(8676002)(52536014)(122000001)(38100700002)(8936002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?RGZyNk9GM21YVzNob0NFQWNUV3hNV3RvekFTaWhZQ0ZvL05zc3VXN09EZHVr?= =?utf-8?B?ZCthTEpUc1d2YWljVDR5TEMrM2RBaG8xZHB3WHgwSk1PRDJHRk80dC92TmNL?= =?utf-8?B?UFQzazRwRVFUc0RvUHI1NXJzMWNjakNqKzJrdUY1dEZEdXdOYSt6WTA5V0Jv?= =?utf-8?B?QWNuTllzVHBSaTJQa0lPOE1icksvcHJ6WFdHbTZhUzZHUDNEbENNWVFxd2s1?= =?utf-8?B?ZDM1bXJGdmVvcEhFWk9ydWFhaXlVa0VCeVduYTdsK3pyU1Y5Q2YyOW1kVmlq?= =?utf-8?B?RFBRWXpybUttRllhL2tLZk9RRWMrc2ZPYjFsbTY0c3FlazJITUNYYmprV2tE?= =?utf-8?B?SmhNSFNPb1Q5YWJJZ2NNZXZoVWNqRnBkUzlSdU9xWVNGeEM2MU51MXRUMXV2?= =?utf-8?B?dFdzNWpBVzFZZlloUis1dDI1dlNXT0xEVmVhakdlRFN2NitZcUZtbmcyU3Vp?= =?utf-8?B?ekFCODVJZENRbUZ6NDU5ekpVWDhTU0t2QTg5RENRRUg5ZEhHR3VHVHpkcW1D?= =?utf-8?B?SkhkcGEvcWRmdUp1OTJ2Ti9qVU5lZTh1TXpZcTBBaitlUzZoeVBoMHlOdy9L?= =?utf-8?B?c2xXZXpkNXozUERzUmU1eGg1YmJzal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UVFPdTdsUHlWNXkvZEpjQ0VHWi96YkU4MVpDc09nSG43c2k1QTBPZXgr?= =?utf-8?B?SkZvQS9RbU5CRXI1OElCRUU4R1l4VTNOdjlWeEFyNWV0VWNFeFFrczZ6U2hm?= =?utf-8?B?T0hzMWlyZW5Ua1BBdDVpV0o5K01Icno4WENySGNkRkJYYTBvcXhSdTg4REFa?= =?utf-8?B?QnRnZm4wQW9aOGxsZ1lmRjN2Z3E5RHFUTU02aHF3UjJEa2Yyek9PMm1CcUIv?= =?utf-8?B?QkxvRFBEc25YaWFOVkZQZXhVT1NwQmw0Zmo5ZHB0Y0ZjWTJjVUFXaDlqOEpn?= =?utf-8?B?R1l1K0dTT3pySU5vVENzRlBLeWxTYitVczNvZksvaVJPb2M4c0JTeWxJVXhD?= =?utf-8?B?Und2bDJIV0VMR3RBQjBmSktqQkVic3JzUENwa0hqamdrVkwzQ2FTM08vdnVp?= =?utf-8?B?S3M2UFAvVThCZHdEdVMxL3UwWUJxbzlzZlpiSmtUWW5pb2FpWUZoOFBzYmpK?= =?utf-8?B?aFNVUGIyTEtWajlZMTZNVHpKaEhEZmRnbjlOVndKdG5GNHkxWlhvNnBNSXdW?= =?utf-8?B?eXpKdHJBQm1mMnROcmpneHo4NjJ0YzRLcktoVFBUUW5VUW9zT0hGVmZPbXBQ?= =?utf-8?Q?uIV+KzY5+EOvZcD066mdH+E5m?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: IA0PR11MB7185.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 954fb925-c16e-40e8-5bc2-08dc215be8d6 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2024 06:23:01.1838 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ICkDdi3k1mYB/gEUarYfjsYh3E3QqEHYf2OAPoKq94mQfqC0wty+XYZu2BXLQ2pnr/+BLszOR/xL9dUIYqGP8Qgj/G+WQ9aOMatGUJImJ8c= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB8561 X-OriginatorOrg: intel.com SGkgQW5kcmV3LA0KDQo+IA0KPiBPbiAxLzI2LzI0IDE6MjUgQU0sIEthc2lyZWRkeSwgVml2ZWsg d3JvdGU6DQo+ID4+Pj4gQ3VycmVudGx5IHRoaXMgZHJpdmVyIGNyZWF0ZXMgYSBTR1QgdGFibGUg dXNpbmcgdGhlIENQVSBhcyB0aGUNCj4gPj4+PiB0YXJnZXQgZGV2aWNlLCB0aGVuIHBlcmZvcm1z IHRoZSBkbWFfc3luYyBvcGVyYXRpb25zIGFnYWluc3QNCj4gPj4+PiB0aGF0IFNHVC4gVGhpcyBp cyBiYWNrd2FyZHMgdG8gaG93IERNQS1CVUZzIGFyZSBzdXBwb3NlZCB0byBiZWhhdmUuDQo+ID4+ Pj4gVGhpcyBtYXkgaGF2ZSB3b3JrZWQgZm9yIHRoZSBjYXNlIHdoZXJlIHRoZXNlIGJ1ZmZlcnMg d2VyZSBnaXZlbg0KPiA+Pj4+IG9ubHkgYmFjayB0byB0aGUgc2FtZSBDUFUgdGhhdCBwcm9kdWNl ZCB0aGVtIGFzIGluIHRoZSBRRU1VIGNhc2UuDQo+ID4+Pj4gQW5kIG9ubHkgdGhlbiBiZWNhdXNl IHRoZSBvcmlnaW5hbCBhdXRob3IgaGFkIHRoZSBkbWFfc3luYw0KPiA+Pj4+IG9wZXJhdGlvbnMg YWxzbyBiYWNrd2FyZHMsIHN5bmNpbmcgZm9yIHRoZSAiZGV2aWNlIiBvbiBiZWdpbl9jcHUuDQo+ ID4+Pj4gVG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