Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp474121rdb; Fri, 26 Jan 2024 00:58:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhSeSzNQSXum+vJrfygIZSTKJgpX5pXs2jdqxtSo7thvbW1VMaVObUZeQzdVbXezF8xV7I X-Received: by 2002:a17:906:a293:b0:a30:84aa:c2f5 with SMTP id i19-20020a170906a29300b00a3084aac2f5mr520722ejz.56.1706259491417; Fri, 26 Jan 2024 00:58:11 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cd19-20020a170906b35300b00a3164b1fb9dsi353787ejb.64.2024.01.26.00.58.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 00:58:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-39698-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=IGxmPS76; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-39698-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-39698-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 055B41F217ED for ; Fri, 26 Jan 2024 08:58:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB3DD43179; Fri, 26 Jan 2024 07:26:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="IGxmPS76" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (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 683D2111AD; Fri, 26 Jan 2024 07:25:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=192.198.163.13 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706253960; cv=fail; b=GsyTqNbSQTApNuW/VkoQSdqWfULDpkxG3aJPetvzckyq81n9xG2KAJn9jZQmBJLW4vJjEaqRsQ4w8ksi+xWfM2sTFm3V6xMzDf29gWIlv4PCf7Sf86T5PTyZu8EeClF4eKIoZ+8XEPA/aumTmfCJOAG24MA9erXj5VTvPYKa5lM= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706253960; c=relaxed/simple; bh=AXrYoHFE9KiuVDrOiek7cZodJo/Z9Z1l4GL0XUUdDqk=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=fe1IXp0BkOhz6nq8/wg7xVCdvUjR4jgDXsbc5aWoSiJYaPReqiBHmh/5s00pBrrZ6lcq0mvG2GrIatwOQB5BmvtoYf2YYPdamPmZq6DfOR1hlRjGSjIKAR6HsynZcWxyFolmHJUx3cY8Kch30bVdIVneuleGF3wl464zMo1RQ+c= 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=IGxmPS76; arc=fail smtp.client-ip=192.198.163.13 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=1706253958; x=1737789958; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=AXrYoHFE9KiuVDrOiek7cZodJo/Z9Z1l4GL0XUUdDqk=; b=IGxmPS76MfnBsgKhZ7LQ+ASOV3BHSM60flkTN1eFol0AHfmBYiNy8DN3 NVKI9m2tBAqYLPlaygf+TQuELq/9fhvKQEFcvZwl3WMXw7sMiXyfdmvf2 NOSr7E9qiZWjmoSeXUoMxcJIMQXJ8K9FdosZ9vSiE6UwkZSu83ElCs0cb ybZ24+DOkPMAzKD7VNWTJhrPB/3nRjNlLFrZJntyx731sTceY0lN5MfyK SuUxmT6zxugbVK9pF3yqrIoZkoe4PhMM7kEE/W19+qVhGqR3A5ewufUTX qS72l4JUJ67IkgTg0Ao9JZGTHR5RfWvhg1G7UTN3mc0SRQdhv7n1m/QbT A==; X-IronPort-AV: E=McAfee;i="6600,9927,10964"; a="1335714" X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="1335714" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jan 2024 23:25:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="35359452" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 25 Jan 2024 23:25:57 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 25 Jan 2024 23:25:55 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 25 Jan 2024 23:25:55 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Thu, 25 Jan 2024 23:25:55 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.100) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 25 Jan 2024 23:25:54 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hu7wj5E3MPG7K/55EUUjlqThpEdC+MHZXh7aO6cCyl0oBSVKHKb9ulXM7E7oDYn15IwO1Ej1wmf3fWFm6etemvuldgYMHtdkD1WJsarwe9hQYvJeE7Ru+NkgsL3cBcfUC40ynTZSP1kD15lTpVdLp+KGfAjJnbxU7giGtJBXNYTLbOZFp1Q9/eKL6luQO+D2gbzPBiyQmDbCRv0+paWmzQ9b7BFJdWo3B/aa/eo4d/IoFoYTTTs0LVp3OeiN6+HwjN4aENMrTTNTrxEvAyBhrgP4LgCZtr+Dl+t1xVubtJIJ9K9VIW+qPRYbLakot7KYcylo+InOfZnETtCLpvfX1g== 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=AXrYoHFE9KiuVDrOiek7cZodJo/Z9Z1l4GL0XUUdDqk=; b=juyOy4qvd6tpVPojBufrOLntTbUb+NlCUFsFQrkvPxFqLHW5jxiWbN+nUuPSc4ikB0ioFnKBsgjubJu3CNahYRgDrq6JhPnkIGZ3fiw0zk2oNVcCDJFtMWMFvUwA7/ET2FaB/8eocPZ3isYAewFpOyQBo/DJvkwtx0m+rgppeUoCKMZ1blGqdJEwQACmHN/nIC1/rzYrCWQKSAdDKn6mTKqTNzcXhyq9CQyiFnmVc2Z14v5Blgxib2vRVaYEFA10hUHcwPu00Q4W9Se2oLy3A1SLgGlY/Sj3SO08TmUMU/cu29egYY1rAiXMpkji1C6TWBlWgNSSw20caTcJW5UHaw== 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 DS0PR11MB8116.namprd11.prod.outlook.com (2603:10b6:8:12b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.34; Fri, 26 Jan 2024 07:25:47 +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.022; Fri, 26 Jan 2024 07:25:47 +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+RrDpk0JggAEbQoCAACQu4A== Date: Fri, 26 Jan 2024 07:25:47 +0000 Message-ID: References: <20240123221227.868341-1-afd@ti.com> <20240123221227.868341-2-afd@ti.com> <7872f641-8a72-424f-b345-99c27403d7c6@ti.com> In-Reply-To: <7872f641-8a72-424f-b345-99c27403d7c6@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_|DS0PR11MB8116:EE_ x-ms-office365-filtering-correlation-id: b477310d-7be6-4a53-934d-08dc1e4003fe x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QErSzAASLuzybH4PZanGn8CRPeeX+D+7QoBB4NylT+wirRRLTrqhi0sBMXURdsm/7d8unHBJjSXYCJPL+BLB3NwPfBA7/ZGqsAgISli+B5wVjXL5WCcAO0+7iRi1MDBXgSKheolIHMrJaJxVTJ909XU634Znjr5zFQiorAh6fY2ovlxPfMKJsNycO4UAmf2XMdqaoKA2ldUTi9hbskWaxmvdNaFTC9cGnIN2/dseoTwTKemCelFzEvm7muXdGKJThdMBa9YbczNGqJ+LDixklYlrqkseF6eSaQoyyXkGl44WYZK7CCOnWZCZuCNLomRmGhrWq8nyJRpSOYzlC66xiLj1QYJ/qzl/zkLDnZr2odj1w5rCEERQkymRD6q2FvU5JNt9BWIe7FZlbPB9hU54pz2FC0B3GIhFnN4GbQHSdY8x5qKFrrZ1qsOjIku+1bQHyoXelr6tdwv60BunbvmcvPD4kp2QN0SPHwGlTsBfW/x0g8n0jcjzplS0X6Yvx30z8cpG3sHIEq4oaw/CoSI6p1D4q8Lhz7Z0TPnI7TzlWv7Uw8HWoTe0txur4rSdkcK7bad0fklcwjNbd/slojtVvjwbXgZIgkdJ+OLz26w9PIFqOyvs+9YytLuTPi3ny9clzQfPmhT0Gxu9NAf63VPAIw== 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)(396003)(376002)(346002)(136003)(366004)(39860400002)(230922051799003)(230173577357003)(230273577357003)(1800799012)(451199024)(64100799003)(186009)(6506007)(7696005)(71200400001)(9686003)(83380400001)(66476007)(2906002)(478600001)(66556008)(52536014)(316002)(8936002)(76116006)(966005)(110136005)(64756008)(54906003)(66446008)(8676002)(82960400001)(5660300002)(66946007)(4326008)(122000001)(86362001)(33656002)(38070700009)(38100700002)(41300700001)(26005)(55016003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bVAzMHgzY2xhSFNvNjVtTFdSdWVXWGp5ajVyT0JwVjNldmJSSkZ3cDR3ZS9X?= =?utf-8?B?bDNGMUJCVGwyd1YwZmNLbUR0aDlDOVZtME5XNmc3UWR6Mm9TcWxHMC8rVEZQ?= =?utf-8?B?UmlTQ2hWemdUODhTSTVTcW9BTERiMEQ3bHM4dThiNkljUUp3SHNTVUJySlBM?= =?utf-8?B?aGhMUDA3UmhncVpBZW9QY2dTc21ONGltanZFQk9vV2pBdGxSZWl2Q2ZtVU9w?= =?utf-8?B?RmZQZHpiMWMxMkNsdHhnaGNJUEtnSEFPMVpSSW5LZm5Ld0xZTXpkZnpvcDZh?= =?utf-8?B?UjhGNjNNVmRJa3pwbEsyQmpuZG9FQm5rNk5WRW1Pd0lteDFpclFCNXF4TWVx?= =?utf-8?B?Z1pvayt0YlF2alJhNDJ1SXVlMHZ4V0pXWExSK3M3R2x3VlljTHArMjlCNUg3?= =?utf-8?B?NHc5OW5OaXlTZ1NkMzdrNHNTaEUvMDlLZTg1bXBJY2lOVVN2M00xY2FlRmFj?= =?utf-8?B?SXVxelE4ZzlsUTVxQ09ZdjRYTmJtRWhIcU5sSG81eVlENGRjN1NlQUtOK1hJ?= =?utf-8?B?dU1tSm5kTFh4NmZVRDFxT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k1zWUt4UzhGcmFubjBPWExUQWRveUpyZ2QwYlNiRWxaL2Vk?= =?utf-8?B?Uld1OTRKd2FWVHNTL2l1SzFOaVM4SUZlMk96c3pNR0VvUTh1SmVXcEVKSjVt?= =?utf-8?B?NXZYc1pDa1JvYnpRSzJUbFhzNWFXQXhjeGU3LzdMNzZVd2JKSWVhaDBiYmIy?= =?utf-8?B?a0lBRDVzc3pIdG8vMnFiTXlBN05qQjNzVXhHVFBacUUzUGdGTGtidHdzVlkw?= =?utf-8?B?QzA2ck1LbUpDMVVtSG9aeWppZm5sUjhpTXRZS0ZacWw4QkpVT2pkRWl3Y1hJ?= =?utf-8?B?YmtySHNvOFRNcEJGUTQrNUltaXF3d1Era2pzcUZFeTQvTjJjK2hTMEllUDI3?= =?utf-8?B?UnNoK2VjcGFBUHp5VmZqbDRvS3hVczQwRUd2aEtQWURyUmpuaU9uUDlERU80?= =?utf-8?B?UXp4bXV1OHdhUFRYVmNhdEx2TTNrSFh4S2c0aXJPRDQ1bzJnRm1VWTFVMWxm?= =?utf-8?B?UER1OEl3RXBiaEh5SkN5K2xHeEhzdjBHdWlwZVNXVTZ6NWYzZkhaVHRlRlFi?= =?utf-8?B?ZVNTYnFEY1hQamkvb0haRklFcDZCR3oxNmN6cEQzeWh3V2UzTXZVK1JtcjlU?= =?utf-8?B?dHk5WUd0aFdscEtMVkNUMEVveHh6YkdrOUJlYnZzN1piaFRwQ1JLZ1kwR1Jm?= =?utf-8?Q?6ZEmLj4q1uxvyhBEGuhfwx4qY?= 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: b477310d-7be6-4a53-934d-08dc1e4003fe X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2024 07:25:47.2915 (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: 4MWfevQpi0lDKXtSAikDaO0NwDAurfkwdVymohIPuuazBMSHxJItDOZY5PoABwfHQCYrci8nuZuI1G1C2o1IqqJo4lB6kD5l7J1rv/yrbRU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB8116 X-OriginatorOrg: intel.com PiA+PiBDdXJyZW50bHkgdGhpcyBkcml2ZXIgY3JlYXRlcyBhIFNHVCB0YWJsZSB1c2luZyB0aGUg Q1BVIGFzIHRoZQ0KPiA+PiB0YXJnZXQgZGV2aWNlLCB0aGVuIHBlcmZvcm1zIHRoZSBkbWFfc3lu YyBvcGVyYXRpb25zIGFnYWluc3QNCj4gPj4gdGhhdCBTR1QuIFRoaXMgaXMgYmFja3dhcmRzIHRv IGhvdyBETUEtQlVGcyBhcmUgc3VwcG9zZWQgdG8gYmVoYXZlLg0KPiA+PiBUaGlzIG1heSBoYXZl IHdvcmtlZCBmb3IgdGhlIGNhc2Ugd2hlcmUgdGhlc2UgYnVmZmVycyB3ZXJlIGdpdmVuDQo+ID4+ IG9ubHkgYmFjayB0byB0aGUgc2FtZSBDUFUgdGhhdCBwcm9kdWNlZCB0aGVtIGFzIGluIHRoZSBR RU1VIGNhc2UuDQo+ID4+IEFuZCBvbmx5IHRoZW4gYmVjYXVzZSB0aGUgb3JpZ2luYWwgYXV0aG9y IGhhZCB0aGUgZG1hX3N5bmMNCj4gPj4gb3BlcmF0aW9ucyBhbHNvIGJhY2t3YXJkcywgc3luY2lu ZyBmb3IgdGhlICJkZXZpY2UiIG9uIGJlZ2luX2NwdS4NCj4gPj4gVGhpcyB3YXMgbm90aWNlZCBh bmQgImZpeGVkIiBpbiB0aGlzIHBhdGNoWz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