From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88811606A31A for ; Tue, 1 Dec 2026 05:27:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=dx8qezVS; dkim=pass (2048-bit key) header.d=ti.com header.i=@ti.com header.a=rsa-sha256 header.s=proofpoint-05-2026 header.b=GrxxXOQP; dkim=pass (1024-bit key) header.d=ticloud.onmicrosoft.com header.i=@ticloud.onmicrosoft.com header.a=rsa-sha256 header.s=selector1-ticloud-onmicrosoft-com header.b=HmY+pzyA DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:To:Subject:CC:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=PS85VQ/unqLR4yXVyeh79wPSB2suGq2PbOpEEjpL12w=; b=dx8qezVSLfFHU5 61Cp5daovTrVjK0129xQf4x/rjzCGdHzNv8otMS9Yg0VJSgdXQB4K3rsw+Kwd1xMkBRZHGxZdlVth ux0pQvfu4HCZsMCn5XI/AM124jT0IDdq/p9t+b05SiqSuHW+1eF5WVtqH+EMiEDC2ui4v9QrpudBs 12wqSA/GjKTdYk+1H6NxJrDefto7efxXplgNMpTSg+cH0TDWmxyiU3WSMHPgbpXa+PZNwPoA/ODff 87oSz3WwScYW9idLWPtNZwf9c4j+rJuKEfTe7yn9dAAaMDh4lGPodFiQ/pgRv+I3W0+5L/7bU0W+N niCHjvryfjJemNxPJL1A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYGOZ-00000006its-3tFA; Tue, 01 Dec 2026 05:27:15 +0000 Received: from mx0a-0002e601.pphosted.com ([148.163.150.75]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYGOV-00000006itY-12za for linux-arm-kernel@lists.infradead.org; Tue, 01 Dec 2026 05:27:13 +0000 Received: from pps.filterd (m0384305.ppops.net [127.0.0.1]) by m0384305.ppops.net (8.18.1.11/8.18.1.11) with ESMTP id 6B12KOsi2877031; Mon, 30 Nov 2026 23:26:58 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s= proofpoint-05-2026; bh=PS85VQ/unqLR4yXVyeh79wPSB2suGq2PbOpEEjpL1 2w=; b=GrxxXOQPTxthTGK1PnWbasXQ0pZ8Kvl+XweWrKF6bj7ez25oFYCnp76+o F4XTBPPDGWXOVoiXo4oT6Jx/kg+Q/+hlgXDOz7zYD699uf1t9GiskB6pdxg7Kmaz Rh7tFdmed3qdpnPSxe5FclA+BiQQk8xCj+xvbIuY5dexqvXrNvfCRlGyjP4WBjOX INZbHkxseKGVEXGyRtr17MreSow8l2IqO1NWTYg6JYMkF4C3f42CNhpafZltFqTU pM+FQdoIaCJvS11xldlr9Pascj6S5/3yO8udzbt5Ebg7gOsOkwoyZ/ThONOOR4Y+ F3gCp2BB9aAVpKAtE0J2uAI/6H3yQ== Received: from sn4pr0501cu005.outbound.protection.outlook.com (mail-southcentralusazon11011040.outbound.protection.outlook.com [40.93.194.40]) by m0384305.ppops.net (PPS) with ESMTPS id 4j9dpk3bpg-2 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Mon, 30 Nov 2026 23:26:58 -0600 (CST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ksH9li7lAToTQGPIbTF7Gam0YPmvGhAshDII1HCqZ0XbqfNMr8WqDM+XDExIUqfAnEHR8pHpr2YfmlRihhL2TrOM6x6q5mrpSTyTjOZmC/tjmmXHChjxkyAei9v2KBe8UUsYrob+FJ3N4CAlGwc7iuie3iBInRYbrjU5WBvpm2B+hEJIJ/ESFzvWGBH8Fw8j5DTrh9p2s+0AP+TGtS19MJDySMq6DMWnG/1d6B/HAIw66NGFTfcgBxSXF7F8KA4WZOdXUumDvRDvYvQxy5ek9iG+58tr1Uvqw0qPPGqoMrrNwQJjqP+4LjgfWEmSl/T4wZ06OTzHxJbQFAT012K+Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=PS85VQ/unqLR4yXVyeh79wPSB2suGq2PbOpEEjpL12w=; b=NjdUJ7iIRaPgQzQ1XIHGXF1vD84/7dV8ru1VXqRMygDgrLJF6i882Op/sWTVXiAmTpkZgn4E/tjhdcGwimKBottj9kvtc4KEy1UiWV/ECvCsOaFxgexzXBNVvCMNodpEkgN6i80EqVs/AreRZBQZla1hdRuISmsKIl2Y8ikCTnP/lEYE1I3eJfcyp+DjBjQ4TXABvVvv5Z7kt6RUvJqNLGzGj4BJiH3ahzxF++cqgzdKJce4B3GvYz6jvKqIGrkJjP/a9ZqfsWlVJGLvSUMQG6EydixEMVIC97Erp43IE9IvLf4VrAe2RKEcjlpZlvCFfPlNvmGMHr6ZBGRbKLRPRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 198.47.21.194) smtp.rcpttodomain=lists.infradead.org smtp.mailfrom=ti.com; dmarc=pass (p=quarantine sp=none pct=100) action=none header.from=ti.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ticloud.onmicrosoft.com; s=selector1-ticloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PS85VQ/unqLR4yXVyeh79wPSB2suGq2PbOpEEjpL12w=; b=HmY+pzyAUCICVKIsdu9uqpYtDy3N8DHawrXPq7E5fihj8C7Cn/koNC+oSIsyAAK7IpA1tVbxqnaWiQSHwGKkPJjOuRQCXJzCp3I+7J5AzisDRytpSfm2QrGRWoQ+ym9IBeM/fRCMcvkOv4Vi3IOLrRcBYJW1tAaFeZIcVdwBvOM= Received: from DS7P220CA0006.NAMP220.PROD.OUTLOOK.COM (2603:10b6:8:1ca::10) by SJ0PR10MB4813.namprd10.prod.outlook.com (2603:10b6:a03:2d2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.12; Tue, 1 Dec 2026 05:26:54 +0000 Received: from CY8PEPF0000005A.namprd21.prod.outlook.com (2603:10b6:8:1ca:cafe::8d) by DS7P220CA0006.outlook.office365.com (2603:10b6:8:1ca::10) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.688.10 via Frontend Transport; Tue, 1 Dec 2026 05:26:54 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 198.47.21.194) smtp.mailfrom=ti.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ti.com; Received-SPF: Pass (protection.outlook.com: domain of ti.com designates 198.47.21.194 as permitted sender) receiver=protection.outlook.com; client-ip=198.47.21.194; helo=flwvzet200.ext.ti.com; pr=C Received: from flwvzet200.ext.ti.com (198.47.21.194) by CY8PEPF0000005A.mail.protection.outlook.com (10.167.247.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.662.0 via Frontend Transport; Tue, 1 Dec 2026 05:26:52 +0000 Received: from DFLE200.ent.ti.com (10.64.6.58) by flwvzet200.ext.ti.com (10.248.192.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Mon, 30 Nov 2026 23:26:09 -0600 Received: from DFLE215.ent.ti.com (10.64.6.73) by DFLE200.ent.ti.com (10.64.6.58) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Mon, 30 Nov 2026 23:26:09 -0600 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DFLE215.ent.ti.com (10.64.6.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45 via Frontend Transport; Mon, 30 Nov 2026 23:26:09 -0600 Received: from [10.24.68.238] (uhda0492258.dhcp.ti.com [10.24.68.238]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 6B15Q5Q72700152; Mon, 30 Nov 2026 23:26:06 -0600 Message-ID: <265be1d1-317c-4831-b5c5-d59ffdd5630f@ti.com> Date: Tue, 1 Dec 2026 10:56:04 +0530 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird CC: , , , , , , , , , , , , Subject: Re: [PATCH 1/3] media: v4l2: Add V4L2_EVENT_BUF_PROGRESS to report progress of capture To: Nicolas Dufresne References: <20261129132825.4031308-1-s-vadapalli@ti.com> <20261129132825.4031308-2-s-vadapalli@ti.com> Content-Language: en-US From: Siddharth Vadapalli In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY8PEPF0000005A:EE_|SJ0PR10MB4813:EE_ X-MS-Office365-Filtering-Correlation-Id: c79d8bbe-96d7-47fa-626b-08df4f6bb52b X-LD-Processed: e5b49634-450b-4709-8abb-1e2b19b982b7,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|82310400026|376014|36860700016|1800799024|23010399003|4143699003|261009223027099003|22082099003|18002099003|56012099006|261026121527099003|261102130727099003|261021123027099003|10067099003|261028144727099003|261021121427099003|261022075727099003|261102123227099003|261021135927099003|261026140227099003|261022113327099003|261022105027099003; X-Microsoft-Antispam-Message-Info: ItmJXsYz8ocuXmUBiRT9iEfwIRm24f4GlDgoDlYQmtvAq7pv8w6+wz1GrGGgrgdCC5lQ0VUVoOdl/ItvLNliShJ3xt1bN0Grfx2deTETvUGF4Vbpsf2tXJzan17k9vnum8tvR9i0Y2tgNPShfFOBa3ItUq+bbAyya1qiN1EgJzxpFj0N1wLoY4qpD99MQVcGlUkDDuhoNgrg4UnyNfiuGyu/uiWy4oLgBSVL5fwItooQ6JcgPQ19loKdrEi3NScOnPc63dJxK7XMgjDXs+LFrNNSxxxXX8wqp9iWfs8aqOF8vCdqnEdn/wBYKP7ZqTWufnnB9qy99qrwD+uu4VZJTisWCI8pThuwItR616xGhncT01d0m4hk0dwyaxREXjoGT5t4nOa0SWzPYOax3L/yqCDVEAqXFmUmJpKyt3KZLUntXfa5LHwOF13z/9Qkkb8V0G+mJIUVVDZl/vFs7sJ5XYLGl5WsqdVSND5VxWbpcOINxMy0sIVvCS9Wode+4inqHcMpa97dLBJivUeyGyGcVLHH45K+kMNHeYfaiqEEb8DbMrdB9aHIcHLase24E6/EMprT597VRP2wOAm6zntRAHk1DLrCOxvD/NmRokZCu3ZLhMRUWnqaDW8Pgp3FrDAQvDphn1fVeZByi8098rlCUj10wMWUBzm4WaDNFWYMmdrB9yZdBwvnDASXd2FUdXm6AyawqE/aBV0wbp0SDxuUcw== X-Forefront-Antispam-Report: CIP:198.47.21.194;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:flwvzet200.ext.ti.com;PTR:ErrorRetry;CAT:NONE;SFS:(13230040)(7416014)(82310400026)(376014)(36860700016)(1800799024)(23010399003)(4143699003)(261009223027099003)(22082099003)(18002099003)(56012099006)(261026121527099003)(261102130727099003)(261021123027099003)(10067099003)(261028144727099003)(261021121427099003)(261022075727099003)(261102123227099003)(261021135927099003)(261026140227099003)(261022113327099003)(261022105027099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: I9iby3kwUUl4z4jVeR3qugk2/a81vD5PaFjyCjKjB4PFMLK2U3GRwHE9RzJ3pXETCNotRnFyIUA9kSq9UU+k7bB66LCS0RdKrLfEBDIw93opsfG0IwKO6JLVhBaqZSFN/gqr/k2AJmLt7KJZ/XrOv5bcvRuLI8hn0VTIE5+k4TAHg1lP4WcYpa/NQFxtFv58W7APYX9UwF8rysf7b8RahkapbEd7Dnlb2qrEClUYY/13WhN5iP0h71WpiwcpY7/aZjVwSxGNCMzGdB4Nr2Whlf/h1LCriZGJqxKX8fVtoQiJe9i0hIt3qNTpGUWPMu/VejbXIZ5GaqWW9l4/fVZb533eIDA+IIwzC7X8KHNQI9QRS5bmvAR8E9CrsrWwfhbspjcMFsEfbfKUjNCyl2XK/7wPvg2S6JowfgJMorYxg8iD04HyQxjARMqxCodcPjjz X-Exchange-RoutingPolicyChecked: GiSGMgNDqeFBQxciwIDf9HdYDdJq00djtXmCBIW6XgmdMLPYy9Uneg1qr8vDdVziigQAIU1/3m2c6uY12TkoNtrQty5kyFoSGiBs2NVIfM7kCeyuE2nVtLVRzFBKG62incbKZKKWVlBfDm3IWkQOofe6a1BRcT1sxUltm0DZPB2CosRURCIDfRWtsEfqmQtxerUPfLNZ6hTpGcuJIPiGOc8t4cHq5NJvh/d50wxa+dk49CIQNrllM1OeBPpYAbQoUn3eqdGrJ4qg4WiQGpeCofUVouJn3gIpADiAayLQkNvMrCj2wWIwRCHafJrwePB0tic9wKDMJSjrMNrzSKnjMQ== X-OriginatorOrg: ti.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2026 05:26:52.8575 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c79d8bbe-96d7-47fa-626b-08df4f6bb52b X-MS-Exchange-CrossTenant-Id: e5b49634-450b-4709-8abb-1e2b19b982b7 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e5b49634-450b-4709-8abb-1e2b19b982b7;Ip=[198.47.21.194];Helo=[flwvzet200.ext.ti.com] X-MS-Exchange-CrossTenant-AuthSource: CY8PEPF0000005A.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB4813 X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAxMDAyMSBTYWx0ZWRfX8zJfFQqiFsVF UTjYpsgPumKSxjBrgQHUNEQ/UHu9w2BPJUtNwbmTek/chEiSc2gUE/63JRaLTcCHVFmiFK7BZJm yDgjFiq7eSSnvB3gws7J7hg35+lxyNU= X-Proofpoint-GUID: IpDk2DTuhq_h0gQBetdyhe6R06kiltvj X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAxMDAyMSBTYWx0ZWRfXzyApyZRcOpqS q03LHjrZLVxiA3GqDDUieLXR9qE0zfqZhI4RkzidDnWNn9RJ8bomPcmmdxQ24vYTPWipN96LVrO cbhqJ9+1Y9n/RvuAzd3QgYNCDvNDfOr8rjBGuVXIlKx7K+hnpIuhXF9lmN9z/+zgHUwtid7XndE 61TbxcCyOlVkdgyh09iB7fpmVuOKVH6uvzEEekzm49dVbC37IjcfzC2hwWZxNomy5q2Nw0yhzBg 772/cQmbPJobazdD7+iJRAIf4VYLhB9lrL10hEPRzbuZ6DgXFYy2lNcyq6Cwq2ObflgI2YOEP3H ELb1yWAhyCGj1zeowU8+ZUM2TANREe0a6FuyPXHu9DcqRzHzyv5TRVoHQYeTJlioQiqLtzF5Saw hOzAWHc9V4tp9F2u9AabAEM0VBpvtENU+ExyW5nBKYXuyRkvMxBSFV69vvtXTA/TLw+53fG/3tC EvNARlRBMKpapW4Tdiw== X-Authority-Analysis: v=2.4 cv=BbpNQbt2 c=1 sm=1 tr=0 ts=6b0e5aa2 cx=c_pps a=lexSm1xfraBw67q2grWtcw==:117 a=iwqwCZQqcuTv3JOpYdM7/Q==:17 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=AlMIdn_sM9wA:10 a=VkNPw1HP01LnGYTKEx00:22 a=Z8NIEmU8O1QQgoT56wFK:22 a=taLDd7a_hP9WKsMzeGRc:22 a=J3kiY860ZjfUTAL5We0A:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 X-Proofpoint-ORIG-GUID: IpDk2DTuhq_h0gQBetdyhe6R06kiltvj X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-01_01,2026-11-30_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 spamscore=0 suspectscore=0 phishscore=0 priorityscore=1501 bulkscore=0 lowpriorityscore=0 clxscore=1015 adultscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612010021 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261130_212711_389626_D9F5A2B6 X-CRM114-Status: GOOD ( 20.50 ) X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-7.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On 11/30/26 8:51 PM, Nicolas Dufresne wrote: > Hi, > > Le dimanche 29 novembre 2026 à 18:58 +0530, Siddharth Vadapalli a écrit : >> + The buffer remains owned by the driver until it is dequeued, and the >> + driver does not perform any cache maintenance on the part of the >> + buffer that was reported. An application that reads that part before >> + the buffer is dequeued must make sure that its mapping is coherent >> + with DMA, which is not the case for memory allocated with >> + ``V4L2_MEMORY_FLAG_NON_COHERENT``. For buffers with memory type >> + ``V4L2_MEMORY_DMABUF``, cache management is the responsibility of >> + the exporter of the buffer. > > > I think outside of write-combine, which you likely use, this is completely > unusable. Its not possible to do device cache management properly without the > context the driver has. The limitation has been documented to warn users. While I agree that 'write-combine' (pgprot_writecombine / pgprot_dmacoherent mapping on ARM64) is one scenario where this is usable, there is another scenario as well where it is usable => Hardware-Managed Coherence. On the J784S4 SoC from TI, the MSMC (Multicore Shared Memory Controller) guarantees Coherence between DMA transactions and the ARM Cortex-A Cores running Linux. So a partial frame transfer to RAM (System Memory) by DMA will also be kept in-sync with the Cortex-A Cores' view of memory without the need for explicit cache-management. > > May I propose for the event to deliver a dma fence. Then the driver that do use I believe that a DMA Fence defeats the purpose here given that the objective is to reduce the latency. Adding DMA Fence for sub-frames will add a latency overhead and at that point we don't get a real benefit with sub-frames anymore. > device caches can spawn a worker that will signal the fence when the memory is > actually ready. On top of which, you can deliver the fence once the transfer is > proven to have started, rather then when its complet. Sub-frame, unless you only > care about really slow devices, introduce very tight timing which only dma > fences will really cover. On platforms where sub-frames work without DMA Fences (Hardware-Managed Coherence or ARM64 pgprot_dmacoherent mapping), I assume that the latency advantage is noticeable (as documented in the cover-letter). The usage of DMA Fences will cover other platforms as well, but that would defeat the purpose of sub-frames due to higher latency. Hence, a limited support for sub-frames looks better despite not being supported on all platforms. Kindly let me know what you think regarding this and please correct me in case I have misunderstood your proposition for the usage of DMA Fences. I look forward to your feedback. Regards, Siddharth.